v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
workflows.deployments

Stream Deployment Logs

Stream logs for a deployment (all of its workers) 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 deployment start.

get/v1/workflows/deployments/{name}/logs/stream

Path parameters

namestring required

Query parameters

worker_namestring nullable

Filter logs by worker name

Filter logs by worker name

workflow_namestring nullable

Filter logs by workflow name

Filter logs by workflow name

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 a DeploymentLogRecord; error events carry a StreamError payload.