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)
Authorizations
API key starting with sk_case_
Path Parameters
Chat session ID
Body
Message payload following the AI SDK UIMessage format. The body is passed through 1:1 to the underlying chat runtime session. Currently only text parts are supported.
Message content parts. Currently only "text" type is supported. Additional types (e.g. file, image) may be added in future versions.
Response
Upstream chat runtime response with per-turn usage metadata when available

