workflows.deployments

Stream Deployment Logs

Changed on

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

Request

Path parameters

namestring required

Query parameters

worker_namestring nullable

Filter logs by worker name

workflow_namestring nullable

Filter logs by workflow name

afterstring date-time nullable

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)

Headers

Last-Event-IDstring nullable

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.

Changes