Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Clerk session token, Authorization: Bearer <token>. This documents the app's own internal auth as of S1-S6 — see S8-public-api-bonus.md for the fallback scope this doc covers, and the public API-key scheme's own page once the full scope ships.

Path Parameters

chatId
string
required
Minimum string length: 1

Body

application/json
content
object[]
required
attachments
object[]
Maximum array length: 10
model
string
Minimum string length: 1

Response

Message persisted and turn dispatched.

chatId
string
required
message
object
required
run
object
required
realtime
object
required