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

Query Parameters

is_get_suggest_question
string | null

Specify whether to get suggested questions.

Body

application/json

Schema for streaming with chat history.

bot_id
string
required

Unique identifier for the associated bot.

message
string
required

Content of the message.

chat_history
object[]
required

List of chat history entries.

Response

200
application/json
Successful Response

The response is of type string.