Subscriptions
Get Subscription Usage
Current-period and lifetime usage per dimension, with entitlement headroom
GET
Current-period usage for a subscription
Per-dimension usage inside the subscription’s current billing period, plus
lifetime totals — the “you’ve used 4,231 of 10,000 API calls” view.
When the subscription’s customer holds an entitlement limit whose
feature_key equals the dimension name, the effective limit_value and the
remaining headroom are joined into the row. Dimensions without a matching
entitlement limit report null for both.
Path Parameters
Example Request
Response
Errors
remaining compares the entitlement limit against the current billing
period’s quantity, not lifetime usage. See the
Usage-Based Billing guide
for the full metering-plus-entitlements pattern.Authorizations
Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.
Path Parameters
Current-period usage for a subscription