Account
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);
get/api/user/usage
Query parameters
daysinteger
Number of days to look back (default 30)
Response
Daily usage data sorted by date ascending
Example response
[
{
"date": "2026-02-19"
}
]