---
title: "Assistant Stream"
method: POST
path: "/api/assistant/stream"
tags: ["insight"]
---

# Assistant Stream

`POST /api/assistant/stream`

## Request

- Base URL: `https://www.ucai.net` (the document declares no server; this is the origin it was published from)
- URL: `https://www.ucai.net/api/assistant/stream`
- Auth: none declared

SSE 流式知识助手：先给来源，再逐段给正文，最后给调用元数据。

## Request body

- HandbookAssistantRequest
  - `provenance` 'auto' | 'all' | 'dbs_related' | 'non_dbs_external'
  - `thread_id` integer, nullable
  - `card_id` string, nullable
  - `page_title` string
  - `page_path` string
  - `context` string
  - `question` string, required
  - `history` object[]
  - `language` string
  - `tutorial_pdf_name` string, nullable
  - `tutorial_page` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ucai/apis/abs-core.md) · [All operations](https://skmtc.dev/ucai/apis/abs-core/llms.txt) · [OpenAPI document](https://skmtc.dev/ucai/apis/abs-core/revisions/1502a61b5620?raw)
