Sazabi
APIAutomations

Get automation run logs

GET
/automations/{automationId}/runs/{runId}/logs

Get the captured stdout/stderr for a single automation run, reading the full output from durable storage when the inline preview was truncated.

Path Parameters

automationId*string

Automation ID.

Formatuuid
runId*string

Automation run ID.

Formatuuid

Query Parameters

projectId?string

Project that owns the automation. Auto-filled from CLI and SDK context when omitted.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/automations/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/logs"
{  "logs": {    "stdout": "string",    "stderr": "string",    "exitCode": -9007199254740991,    "status": "queued",    "truncated": true,    "startedAt": "2019-08-24T14:15:22Z",    "completedAt": "2019-08-24T14:15:22Z",    "durationMs": -9007199254740991  }}