Create an agent run and stream the response
POST/rest/api/v1/agents/runs/stream
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
- 200
- 400
- 403
- 404
- 409
- 422
- 500
Success
Bad request
Forbidden
Not Found
Conflict
Returned when the agent has tools the caller has not authorized. The response body enumerates the tools that need connecting.
Internal server error