Run Gateway Turn
Run a gateway turn and wait for the finalized execution.
result.
Pass id = your conversation_id to start or continue a conversation; omit it to start a new one (the returned execution’s id becomes the conversation_id). Re-invoking a conversation that is already running preempts the in-flight turn.
For fast time-to-first-token and live progress, prefer the streaming variant.
See the Agent Gateway overview for the full conversation model.Authorizations
API Key for authentication
Path Parameters
Query Parameters
Agent version to run.
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
pending, executing, paused, error, failed, completed, stopped Model representing human-in-the-loop approval records for tasks.
Attributes: wait_node_id (str): The id of the node that triggered this HITL.
text, markdown, json, voice default, harder Snapshot of the LLM provider used for this execution (request override or agent default at run time).
Snapshot of the LLM model name used for this execution (request override or agent default at run time).
Snapshot of the reasoning effort applied during this execution, when supported by the model.
low, medium, high, xhigh 
