---
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

- `type_qa` string, nullable

## Request body

- ChatHistoryCreateSchema — Message Schema.
  - `bot_id` string, uuid, required
  - `message` string, required
  - `session_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2023-11-13** `ac1f1ab68fcb` — 2 warning, 1 info
  - removed the request property `sender`
  - removed the request property `user_id`
  - added the non-success response with the status `422`
- **2023-11-08** `dbd91277da05` — 2 breaking, 2 warning, 4 info
  - the `session_id` request property format changed from no format to `uuid`
  - the response's body type changed from `string` to no type for status `200`
  - deleted the `query` request parameter `is_get_suggest_question`
  - deleted the `query` request parameter `streaming`
  - …4 more

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/chat/get-streaming-response/post.md)

---

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