Skip to main content
POST
Submit a message and start (or continue) an agent turn

Authorizations

Authorization
string
header
required

Clerk-native API key, Authorization: Bearer <key>. Minted at https://www.vyomflow.co.in/settings/api-keys, scoped per operation. 401 = missing/invalid/revoked key; 403 = valid key missing the required scope.

Headers

Idempotency-Key
string

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 (or the replayed prior result).

chatId
string
required
message
object
required
run
object
required
stream
object
required