---
title: "Get Streaming Response"
method: POST
path: "/api/chat/get-streaming-response"
tags: ["Chat"]
---

# Get Streaming Response

`POST /api/chat/get-streaming-response`

Create a Knowledge Base and return a streaming response.

## Query parameters

- `is_get_suggest_question` string, nullable — Specify whether to get suggested questions.
- `streaming` boolean, nullable — Enable or disable streaming response.

## Request body

- ChatHistoryCreateSchema — Schema for creating chat history message.
  - `bot_id` string, uuid, 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`

Successful Response

- string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.net/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
