Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

days
integer

Number of days (default 30)

start_date
string

Start date (YYYY-MM-DD)

end_date
string

End date (YYYY-MM-DD)

model
string[]

Filter by exact model names; repeat or comma-separate for several

provider
string[]

Filter by provider names or types; repeat or comma-separate for several

label
string[]

Filter by request labels (exact match); repeat for several

endpoint
string[]

Filter by exact request endpoints, e.g. /v1/chat/completions,/v1/messages; repeat or comma-separate for several

operation
string

Filter by comma-separated operations, e.g. chat_completions,embeddings

session_id
string

Filter by exact detected session ID

auth_key_id
string[]

Filter by managed auth key IDs; repeat or comma-separate for several

user_path
string[]

Filter by tracked user path subtrees; repeat for several

cache_mode
string

Cache mode filter: uncached, cached, all (default uncached)

Response

OK

billed_cost
number | null
cache_write_input_tokens
integer
cached_input_cost
number | null
cached_input_tokens
integer
endpoint
string
input_cost
number | null
input_tokens
integer
local_cached_input_tokens
integer
local_cached_output_tokens
integer
operation
string
output_cost
number | null
output_tokens
integer
requests
integer
total_cost
number | null
total_tokens
integer
uncached_input_tokens
integer