Skip to main content

Create agent run

POST 

/api/agents/:agent_id/runs

experimental

Expect changes and instability. Introduced on May 12, 2026. Learn how experimental APIs work.

Execute an agent run. Set stream to true to receive server-sent events; otherwise the response contains the final agent messages.

Request

Responses

Successful response.