Endpoints
Send Message
Use this endpoint to send queries or prompts to your trained chatbot and receive immediate, accurate responses.
POST
/
{bot_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
bot_id
string
requiredThe bot id associated with the trained chatbot model.
Body
application/json
message
string
requiredThe 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: falseWhether to enable streaming response. Defaults to false.
Response
200 - application/json
message
string
requiredThe reply message from your chatbot.
chat_session_id
string
requiredThe chat session id to keep track of a unique conversation.
id
string
The unique identifier for the message.
urls
string[]
URLs related to the message.
docs
string[]
document links related to the message.