Skip to content

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
365
Minimum
1
Default
30

Responses

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"
  
}
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

XC AI Content Automation