API Reference
Log In
API Reference

Get aggregated cost by user

Returns total cost, request count, and token metrics grouped by subscriber email for the specified period. Each user group contains three metrics. Results are sorted by total cost descending. Useful for identifying top spenders and budget allocation per engineer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time
date-time
string
enum
integer | null
≥ 0
Defaults to 0
integer
0 to 100
Defaults to 20
costSources
array of strings | null
Defaults to coding_assistant
costSources
Allowed:
agents
array of strings | null
agents
providers
array of strings | null
providers
models
array of strings | null
models
users
array of strings | null
users
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json