Invoke Workflow (Stream)
Invoke a workflow with real-time streaming. Returns Server-Sent Events (SSE).
Path Parameters
Query Parameters
Request Body
Same as Invoke Workflow (Sync) — see that page for full request body documentation.Response
Returns atext/event-stream response with Server-Sent Events. Each event contains a JSON payload with task update information.
Events are sent as the workflow executes, including status changes, intermediate results, and the final TaskFinished event.
Example Request
Notes
- The stream ends with a
TaskFinishedevent type - Each SSE event is a
data:line containing a JSON object - Use
Cache-Control: no-cacheandConnection: keep-aliveheaders for best results - Ideal for building real-time UIs that show pipeline progress across nodes
Authorizations
API Key for authentication
Path Parameters
Query Parameters
The workflow version to invoke. default = latest
Body
text, markdown, json, voice default, harder Per-execution override for the LLM provider (e.g. 'openai', 'anthropic'). Falls back to the agent's configured provider when unset.
Per-execution override for the LLM model name. Falls back to the agent's configured model when unset.
Per-execution override for reasoning effort on reasoning-capable models.
low, medium, high, xhigh Surface that created this execution (mirrored to AgentExecutionHistory.source_node_type). Falls back to SourceNodeType.SDK at persist time when unset.
workbench, sdk, task, assistant, webhook, mcp, a2a, telegram, slack Response
Successful Response

