Chatbot
Chat With Chatbot With Streaming
Ask anything to your chatbot with response streaming.
POST
/
v1
/
chatbot
/
chat-stream
Authorizations
x-api-key
string
headerrequiredBody
application/json
chatbotId
string
requiredThe chatbot's id.
conversation
object[]
requiredAn array of messages.
Response
201 - application/json
data
object
requiredThe partial streaming response data.
type
string
requiredThe streaming event type. Values can be 'partialResponse' | 'streamEnd' | 'error'.
statusCode
number
requiredError status code. (Only defined when an error occurs while streaming)
message
string
requiredError message. (Only defined when an error occurs while streaming)
error
string
requiredSource of the error. (Only defined when an error occurs while streaming)