Appearance
Get usage summary
GET
/api/v1/usage/summary
Aggregates token usage and estimated cost over the specified number of days, broken down by AI provider and content type.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Parameters
Query Parameters
days
Type
integer
Default
30Responses
Successful Response
application/json
JSON
{
"total_input_tokens": 0,
"total_output_tokens": 0,
"total_cost": 0,
"by_provider": {
},
"by_content_type": {
}
}