Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Path Parameters

bot_id
string
required

The agent id associated with the trained agent model.

Query Parameters

k
integer

Limit the number of conversations to look in the past "conversation_ids" will only find the conversations requested and ignore the "k" parameter

Body

application/json
Example:

Response

Chat History response.

id
string
required

The unique identifier for the chat.

Example:

"9ds49k9cncp7bmp"

message
object
required

The message object containing data and type.

session_id
string
required

The session ID associated with the chat.

Example:

"aki56d7-1719768767426"

created_at
string<date-time>
required

The date and time when the message was created.

Example:

"2024-06-30T17:32:53.518+00:00"