Get Usage
Get daily usage data for the authenticated user, broken down by AI platform. Returns an array of per-day entries sorted by date ascending.
SDK Usage:
const usage = await client.getUsage(30);
Query parameters
Number of days to look back (default 30)
Response
Daily usage data sorted by date ascending
Example response
[
{
"date": "2026-02-19"
}
]Changes
Changed in 2 of the 5 revisions of this API.15
- ▲
the
items/response's property type/format changed from/toobject/for status200response-property-type-changed
- ○
added the optional property
items/chatgptto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/claudeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/dateto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/geminito the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○