Skip to main content
GET
/
api
/
v1
/
entitlements
/
usage-info
Get usage and quota for a subscription and entitlement
curl --request GET \
  --url https://dev-billing-api.iqraa.ai/api/v1/api/v1/entitlements/usage-info \
  --header 'Authorization: Bearer <token>'
{
  "usage": 50,
  "quota": 100
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

entitlementCode
string
required

Response

Successfully retrieved usage and quota

usage
number
required

Current usage of the entitlement

Example:

50

quota
number
required

Total quota for the entitlement

Example:

100