List what the runtime logged while executing a run
GET /v1/runs/{runId}/logs · SDK listRunLogs · CLI deployments run logs
Requires runs:read.
AuthorizationBearer <token>Opaque bearer credential scoped to one service account and tenant.
runId*string^[0-7][0-9A-HJKMNP-TV-Z]{25}$cursor?stringOpaque cursor returned by the previous page.
1 <= length <= 4096limit?integerMaximum number of lines to return.
1 <= value <= 500level?stringOnly lines at this level or more severe.
"debug""info""warn""error"source?stringOnly lines from this source.
"runtime""model""tool""sandbox""hosted-code"toolCallId?stringOnly lines written by this tool call.
26 <= length <= 26from?stringOnly lines written at or after this time (RFC 3339).
date-timeto?stringOnly lines written before this time (RFC 3339).
date-timex-deployments-environment?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-organization?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$x-deployments-project?stringRequired with a platform bearer JWT, where the three tenant headers select an environment the caller can access through active organization membership. Optional with an API key; when supplied, it must match the key's tenant.
^[0-7][0-9A-HJKMNP-TV-Z]{25}$ListRunLogsResponse
application/json- response
caughtUp*booleanlogs*array<>nextCursor*string1 <= length <= 4096curl -X GET "https://example.com/v1/runs/string/logs"{ "caughtUp": true, "logs": [ { "attributes": { "property1": true, "property2": true }, "attempt": 0, "id": "string", "level": "debug", "message": "string", "runId": "string", "source": "runtime", "spanId": "string", "threadId": "string", "time": "2019-08-24T14:15:22Z", "toolCallId": "string", "traceId": "string" } ], "nextCursor": "string"}