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)

interval
string

Grouping interval: daily, weekly, monthly, yearly (default daily)

model
string

Filter by exact model name

provider
string

Filter by provider name or provider type

label
string

Filter by request label (exact match)

endpoint
string

Filter by comma-separated exact request endpoints, e.g. /v1/chat/completions,/v1/messages

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 exact managed auth key ID

user_path
string

Filter by tracked user path subtree

cache_mode
string

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

Response

OK

cache_write_input_tokens
integer
cached_input_tokens
integer
date
string
input_cost
number
input_tokens
integer
output_cost
number
output_tokens
integer
requests
integer
total_cost
number
total_tokens
integer
uncached_input_tokens
integer

Provider prompt-cache split of the period's input, folded per row from raw_data (same source as the summary). Zero when the storage layer does not populate them.