POST
/
api
/
chat
/
get-streaming-response
curl --request POST \
  --url https://backend.chatfly.co/api/chat/get-streaming-response \
  --header 'Content-Type: application/json' \
  --data '{
  "bot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>",
  "session_id": "<string>"
}'
"<string>"

Query Parameters

is_get_suggest_question
string | null

Specify whether to get suggested questions.

streaming
boolean | null
default:
true

Enable or disable streaming response.

Body

application/json

Schema for creating chat history message.

bot_id
string
required

Unique identifier for the associated bot.

message
string
required

Content of the message.

session_id
string
required

Unique identifier for the session.

Response

200
application/json
Successful Response

The response is of type string.