v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
workflows.executions

Stream Workflow Execution Logs

Stream logs for a workflow execution via SSE.

Resume cursor comes from the Last-Event-ID header or last_event_id query param (header wins) and takes precedence over after; omit all to tail from the execution start.

get/v1/workflows/executions/{execution_id}/logs/stream

Path parameters

execution_idstring required

Query parameters

run_idstring uuid nullable

Filter logs by workflow run ID

Filter logs by workflow run ID

activity_idstring nullable

Filter logs by activity ID

Filter logs by activity ID

afterstring date-time nullable

Start a fresh stream at this timestamp (ignored when resuming via last_event_id)

Start a fresh stream at this timestamp (ignored when resuming via last_event_id)

last_event_idstring nullable

Resume from this cursor (a prior response's SSE id)

Resume from this cursor (a prior response's SSE id)

Headers

Last-Event-IDstring nullable

Resume from this cursor (a prior response's SSE id). Takes precedence over the query parameter.

Resume from this cursor (a prior response's SSE id). Takes precedence over the query parameter.

Response

Stream of Server-Sent Events (SSE): log events carry an ExecutionLogRecord; error events carry a StreamError payload.