POST
/
{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.

Body

application/json
message
string
required

The message to send to your chatbot.

chat_session_id
string

The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.

streaming
boolean
default: false

Whether to enable streaming response. Defaults to false.

Response

200 - application/json
id
string

The unique identifier for the message.

message
string
required

The reply message from your chatbot.

chat_session_id
string
required

The chat session id to keep track of a unique conversation.

urls
string[]

URLs related to the message.

docs
string[]

document links related to the message.