Get usage
How many calls the account has used this period, out of how many, and when the count resets (null if never). The period is a day on the trial and a month otherwise, UTC. With no plan, the 20 preview calls last for the account's life. Shared with the MCP server. Free.
/api/v1/account/usageAuthentication
API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read. See authentication.
Response fields
usedintegerlimitintegerperenumOne of
day,month,life.resets_atstring or null (date-time)exhaustedbooleanbrand_lookupsanyplansstring (uri)
Responses
- 200
The usage. Body:
Usage. - 401
No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body:
Problem. - 403
The token lacks the mcp:read scope. Body:
Problem. - 429
rate_limited: more than 60 requests a minute from this account. Body:Problem. - 503
The account could not be read or changed; retry shortly. Body:
Problem.