v1
latestOpenAPI 3.0.02026-07-224452146.0 KBBilling
Get historical token usage for the authenticated team (Extract only)
get/team/token-usage/historical
Query parameters
byApiKeyboolean
Get historical token usage by API key
Response
Successful response
Example response
{
"success": true,
"periods": [
{
"startDate": "2025-01-01T00:00:00Z",
"endDate": "2025-01-31T23:59:59Z",
"totalTokens": 1000
}
]
}