v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Agents

Send chat message (synchronous)

Sends a message and returns the complete response as a single JSON body. Blocks until the agent turn completes.

When to use this endpoint: Best for server-to-server integrations, background processing, or any context where you want the full response in one call without managing an SSE stream.

Alternatives:

  • POST /chat/:id/respond — streaming SSE with normalized events (recommended for custom chat UIs)
post/agent/v1/chat/{id}/message

Path parameters

idstring required

Chat session ID

Request body

Response

Upstream chat runtime response with per-turn usage metadata when available