Skip to main content
POST
Post Chat Messages

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-project-id
string
required

Project identifier

Body

application/json

Request body for POST /api/chat/messages.

message
string
required
Required string length: 1 - 10000
session_id
string<uuid> | null
context
MessageContext · object | null

Context for a chat message: datasources, artifacts, attachments.

Response

Successful Response

Accepted response for POST /talk2data/chat/messages.

session_id
string
required
turn_id
string
required