Appearance
Get billing usage summary
GET
/api/v1/billing/usage-summary
Aggregates XCT token consumption for the specified period, grouped by model tier and AI provider.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Parameters
Query Parameters
days
Type
integer
Maximum
365Minimum
1Default
30Responses
Successful Response
application/json
JSON
{
"period_start": "string",
"period_end": "string",
"total_xct_used": "string",
"by_tier": [
{
"tier": "string",
"request_count": 0,
"total_tokens": 0,
"xct_used": "string"
}
],
"by_provider": {
"additionalProperties": "string"
}
}