Request logs and usage analytics of the signed-in user.
List request logs
The user's requests (API and playground), newest first, including failed ones. Prompt and response content are never stored. Defaults to the last 30 days; the range may span at most 366 days.
query Parameters
fromRange start (RFC 3339). Default to minus 30 days.
toRange end, exclusive (RFC 3339). Default now. The range may span at most 366 days.
keyAn API key id, or playground for dashboard playground requests only.
modelExact model slug.
limitoffsetList request logs › Responses
A page of logs.
totalGet one request log
Everything recorded about one request (no prompt or response content).
path Parameters
idGet one request log › Responses
The log entry.
idupstream_idThe provider's response id.
model_slugprovider_slugapi_key_namesourcestreamedstatus_codefinish_reasonprompt_tokenscompletion_tokenscached_tokenscache_write_tokensreasoning_tokenscost_nanoBilled cost in nano-USD.
cost_breakdownCost split in nano-USD.
latency_msttft_mstpsGeneration parameters and counts (e.g. stream, temperature, max_tokens, messages count, tools count, endpoint), never content.
error_typee.g. insufficient_credits, model_not_found, model_not_allowed, invalid_request, rate_limited, upstream_unavailable, stream_interrupted, or the provider's error type.
error_messageclient_ipuser_agentstarted_atcreated_atWhen the request finished.
Get usage analytics
Totals, a time series and a per-model breakdown (top 50 by cost) for the same filters as the logs.
Ranges up to 25 hours are bucketed per hour, longer ones per day, in time zone tz (default:
the site time zone). Every bucket in the range appears, including empty ones.
query Parameters
fromRange start (RFC 3339). Default to minus 30 days.
toRange end, exclusive (RFC 3339). Default now. The range may span at most 366 days.
keyAn API key id, or playground for dashboard playground requests only.
modelExact model slug.
tzIANA time zone for grouping, e.g. Asia/Jakarta. Unknown zones return 400.
Get usage analytics › Responses
Summary.
bucketTop 50 models by cost.
Get daily totals (last 30 days)
Per-day totals for the last 30 days, grouped by UTC date. Only days with requests are included.
Get daily totals (last 30 days) › Responses
Days in ascending order.
dayrequeststokensPrompt + completion tokens.
cost_nanonano-USD.