POST
/
get-chats
/
{bot_id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

bot_id
string
required

The bot id associated with the trained chatbot 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 ยท string[]

The conversation session ids associated with the trained chatbot.

Response

200 - application/json
id
string
required

The unique identifier for the chat.

message
object
required

The message object containing data and type.

session_id
string
required

The session ID associated with the chat.

created_at
string
required

The date and time when the message was created.