List Request Logs
/v1/logsOverview
Returns recorded inference metadata, including failed and pending requests. Session callers must provide workspace_id and have read access. API keys require requests.read and can only read their own workspace. No prompts, audio, internal routing traces or provider costs are returned. Rejections before request creation and requests already removed by retention are not included. A null cost or unconfirmed outcome is not evidence of success.
Parameters
workspace_idquery · stringRequired for sessions; must match an API key's workspace when supplied.
request_idquery · stringExact request ID, including historical generation IDs.
searchquery · stringLiteral substring of request ID, model, provider or key name.
taskquery · stringstatequery · stringkey_idquery · stringafterquery · stringInclusive creation time lower bound.
beforequery · stringExclusive creation time upper bound.
limitquery · integercursorquery · stringOpaque cursor from the previous page; retain the same workspace and filters.
Responses
200Request metadata ordered newest first, with deterministic pagination.
dataobject[]RequiredShow nested fields
idstringRequiredsourcestringRequiredValues: "audio""llm""legacy""moderation""images""videos""secondary"
workspace_idstringRequiredkey_idstring | nullRequiredkey_namestring | nullRequiredtaskstringRequiredA product, as request logs, exports and trace destinations filter by it.
Values: "speech""transcription""s2s""llm""embeddings""moderation""images""videos""ocr""rerank""inference"
modelstringRequiredresolved_modelstring | nullRequiredproviderstring | nullRequiredstatestringRequiredValues: "queued""running""succeeded""failed""canceled""unknown"
costnumber | nullRequiredSettled customer cost in USD when known.
input_tokensinteger | nullRequiredoutput_tokensinteger | nullRequiredinput_charsinteger | nullRequiredaudio_secondsnumber | nullRequiredduration_msnumber | nullRequiredTime from request creation to completion when known; legacy entries use reported latency.
protocolstring | nullRequiredstreamedboolean | nullRequirederror_codestring | nullRequiredcreated_atstringRequiredcompleted_atstring | nullRequirednext_cursorstring | nullRequired400Request validation failed.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
401Authentication is missing or invalid.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
403Authenticated principal lacks permission.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.
500Internal server error.
errorobjectRequiredShow nested fields
codestringRequiredmessagestringRequiredparamstring | nullrequest_idstring | nullmetadataobjectTyped detail for some refusals. budget_exceeded (402): limit (key_budget or workspace_budget) and budget with scope, period, limit, usage and resets_at. key_limit_exceeded (402): limit key_spend_limit. access_denied (403): policy (workspace or key), rule (models, providers or products), product, provider and model.