List API requests made with keys, newest first
Each call made with an application or workspace key: route, status, duration, error code, and the job it created or read, with that job's status and cost. Kept for 30 days.
/v1/logsQuery parameters
application_idstringOptional with an application key, which always pins the scope. A different application returns 403.
Min length: 1
rangestringThe window back from `to`, instead of `from`. Defaults to 24h.
Allowed: "1h""24h""7d""30d"
fromstringStart of the window. Defaults to 24 hours before `to`. Windows span at most 31 days, within the 30-day request log.
Format: date-time
tostringEnd of the window, not in the future. Defaults to now.
Format: date-time
statusstringA status class like 4xx or an exact code like 404.
Pattern: ^([1-5]xx|[1-5][0-9]{2})$
methodstringHTTP method.
Allowed: "GET""POST""PUT""PATCH""DELETE"
searchstringA path fragment, or an exact request ID, job ID or error code.
Min length: 1 · Max length: 200
beforestringRequest ID to page from: use `next` from the previous page.
limitintegerMaximum rows in this page.
Default: 50 · Minimum: 1 · Maximum: 100
Response
200List API requests made with keys, newest first
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
dataarray<object>requiredItem fields
idstringrequiredcreated_atstringrequiredmethodstringrequiredroutestringrequiredpathstringrequiredstatusintegerrequiredMinimum: -9007199254740991 · Maximum: 9007199254740991
duration_msintegerrequiredMinimum: -9007199254740991 · Maximum: 9007199254740991
error_codestring | nullrequiredapplication_idstring | nullrequiredapplication_namestring | nullrequiredkey_idstring | nullrequiredkey_namestring | nullrequiredjob_idstring | nullrequiredjobobject | nullrequiredAllowed shapes
object
statusstringrequiredcreated_atstringrequiredcompleted_atstring | nullrequiredcost_nanonumberrequirednull
valuenullAdditional keys: any
nextstring | nullrequired4XX400 invalid input; 401 missing/revoked credentials; 403 disallowed operation/application; 404 missing or inaccessible resource; 409 conflicting submission/version/state; 413 body too large; 415 unsupported content type. Inspect error.code, not message text.
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
errorobjectrequiredObject fields
codestringrequiredmessagestringrequiredrequest_idstringrequiredAdditional keys: any
5XX500 unexpected failure or 503 unavailable dependency. A failed response does not prove that a submission was not committed. Retry job/flow admission with the same key and body.
X-Request-IdstringServer-generated request identifier for logs and support.
application/json
errorobjectrequiredObject fields
codestringrequiredmessagestringrequiredrequest_idstringrequiredAdditional keys: any