Skip to main content
GET
Error

Autorisierungen

Authorization
string
header
erforderlich

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

Abfrageparameter

rows
string
erforderlich

Row dimension: model, provider, user_path, label, endpoint, auth_key, period

columns
string

Column dimension (same values, different from rows); omit or none for one column

metric
string

Ranking metric for the top-N cut: cost, tokens, requests (default cost)

limit
integer

Keys kept per dimension before the rest fold into other (default 10, max 50)

user_path_depth
integer

Group user paths by their first N segments (0 keeps full paths, max 16)

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

Period grouping: daily, weekly, monthly, yearly (default daily)

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)

Antwort

OK

cells
object[]
column_dimension
enum<string>
Verfügbare Optionen:
,
model,
provider,
user_path,
label,
endpoint,
auth_key,
period
columns
object[]
metric
enum<string>
Verfügbare Optionen:
cost,
tokens,
requests
row_dimension
enum<string>
Verfügbare Optionen:
,
model,
provider,
user_path,
label,
endpoint,
auth_key,
period
rows
object[]