Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The key or ID of the agent to invoke
Body
Optional task ID to continue an existing agent execution. When provided, the agent will continue the conversation from the existing task state. The task must be in an inactive state to continue.
Optional variables for template replacement in system prompt, instructions, and messages
Information about the contact making the request. If the contact does not exist, it will be created automatically.
Thread information to group related requests
Memory configuration for the agent execution. Used to associate memory stores with specific entities like users or sessions.
Optional metadata for the agent invocation as key-value pairs that will be included in traces
Stream timeout in seconds (1-3600). Default: 1800 (30 minutes)
1 <= x <= 3600Response
SSE stream of agent events
JSON-encoded event data