API Reference
Log In
API Reference

Get cost breakdown by user

Returns cost, request count, and token metrics grouped by subscriber email over time. Data is bucketed by an automatically determined interval based on the time span. Each user group contains three metrics: cost, request count, and total tokens. Useful for attributing AI coding assistant spend to individual engineers.

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