Send a chat message to an agent and receive a response.
Tool Calls: Messages support the OpenAI tool calling format:
tool_calls array with function callsrole: "tool" with tool_call_id and namenull when tool_calls is presentStreaming: Set stream: true to receive Server-Sent Events (SSE) for real-time responses.
API Key or Personal Access Token (PAT). When using PAT, include X-Project header.
Unique, URL-safe agent name within the project
1^[a-zA-Z0-9_-]+$Array of chat messages
1Conversation ID to continue an existing conversation
Enable streaming response
Optional context: identity (conversation scoping), attributes (injected into system prompt), and pass-through for tools