Usage
Aggregate Usage
Returns aggregate token counts and costs across all completed runs since server start.
get/api/v1/usage
Response
Aggregate usage data
Example response
{
"totals": {
"runs": 9,
"timing": {
"wall_time_ms": 420000,
"inference_time_ms": 120000,
"tool_time_ms": 60000,
"active_time_ms": 180000
}
},
"by_model": [
{
"model": {
"provider": "anthropic"
},
"stages": 2
}
]
}Changes
Changed in 1 of the 172 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○