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
Pass the id from a previous response to continue a multi-turn conversation with the same agent. Omit for a new conversation.
"02843b37-4d77-48a0-8da7-2c76afe54401"
Per-execution override of the agent's LLM provider (e.g. openai, anthropic). Must match one of GET /llm_providers. Omit to use the agent's configured provider.
Per-execution override of the model name within the chosen provider. Must match a model from GET /llm_providers/{provider}/models. Examples: claude-sonnet-4-6, gpt-5, gemini-2.0-flash. Omit to use the agent's configured model.
Per-execution override of reasoning effort for reasoning-capable models (e.g. GPT-5). low for simple tasks, medium for balanced performance, high for complex reasoning, xhigh for maximum reasoning depth (slower, more expensive). Omit to use the agent's configured reasoning effort.
low, medium, high, xhigh Response
Successful Response

