Create an agent run and wait for the response
POST/rest/api/v1/agents/runs/wait
beta
This endpoint is in Beta. Expect changes and instability.
Executes an agent run and returns the final response. 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