Skip to main content

Create an agent run and stream the response

POST 

/rest/api/v1/agents/runs/stream

1 active deprecation
POST /rest/api/v1/agents/runs/stream

Use POST /api/agents/{agent_id}/runs with stream=true instead.

beta

This endpoint is in Beta. Expect changes and instability.

Executes an agent run and returns the result as a stream of server-sent events (SSE). Note: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the input object.

Request

Responses

Success