Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the agent app to use for configuration
Body
application/json
Chat parameters. The model, MCP servers, system prompt, guardrails, and model parameters (temperature, max_tokens, etc.) are autofilled from agent app configuration.
Maximum number of iterations to perform with tool calls. Must be a positive integer. Defaults to 5.
Required range:
0 < x <= 20
messages
(System Message · object | User Message · object | Assistant Message · object | Function Message · object | Tool Message · object | Developer Message · object)[]
A list of messages comprising the conversation history
- System Message
- User Message
- Assistant Message
- Function Message
- Tool Message
- Developer Message
Whether to stream responses