Skip to main content
GET
GET /v1/usage Current billing cycle of the calling key: plan, credits used, limit and remaining, request count. The programmatic view of your own key and account, the data behind a usage dashboard. Free: never billed, and still reachable when the monthly credit allowance is exhausted (when billable endpoints answer 402), so you can always inspect your own state. A key only ever sees its own account.
month is the current billing cycle (YYYYMM, calendar month, UTC). For keys created in the portal, scope is "account": credits and requests cover the whole account (all its keys share one allowance), tenant is the account id and credits.limit is what the account can use this month (free credits left plus what the spend cap allows). Contract keys report scope: "key" and their own figures; on an unlimited contract, credits.limit and credits.remaining are null.
The same figure is on every billable response: the X-Credits-Remaining header carries the credits left in the current cycle.

Authorizations

Authorization
string
header
required

Your raw API key (not needed on the demo server).

Response

200

Standard { data, meta } envelope.