workflows.executions
Stream Workflow Execution Logs
Changed onStream 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
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
execution_idstring required
Query parameters
run_idstring uuid nullable
Filter logs by workflow run ID
activity_idstring nullable
Filter logs by activity ID
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 an ExecutionLogRecord; error events carry a StreamError payload.
Changes
- info
endpoint added
- info