Run Gateway Turn (Stream)
Run a turn
Run Gateway Turn (Stream)
Run a gateway turn and stream every event over SSE.
POST
Run Gateway Turn (Stream)
Run a turn through the gateway and stream every
TaskUpdateEvent over Server-Sent Events. This is the fast-time-to-first-token path: a connected event flushes immediately, then the router starts answering before any heavy downstream work begins.
Pass id = your conversation_id to start or continue a conversation; omit it to start a new one. Sub-execution events (the downstream agents the router dispatches) are forwarded onto the same stream.
See the Agent Gateway overview for the event model and how sub-executions stream back.Authorizations
API Key for authentication
Path Parameters
Query Parameters
Agent version to run.
Body
application/json
Available options:
text, markdown, json, voice Available options:
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.
Available options:
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.
Available options:
workbench, sdk, task, assistant, webhook, mcp, a2a, telegram, slack Response
Successful Response

