Send a chat message to an agent and receive a response.
Supported Agents: Managed agents only. Custom agents should use the /invoke endpoint.
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