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