---
title: "知识库列表"
method: GET
path: "/llm-application/open/knowledge"
tags: ["知识库 API"]
---

# 知识库列表

`GET /llm-application/open/knowledge`

获取个人知识库列表，支持分页。点击 **Try it** 按钮可快速试用。

## Query parameters

- `page` integer
- `size` integer

## Response `200`

业务处理成功

- KnowledgeListResponse
  - `data` object
    - `list` KnowledgeListItem[] — 知识库列表
      - `id` string — 知识库id
      - `embedding_id` integer — 向量化模型id
      - `name` string — 知识库名称
      - `description` string — 知识库描述
      - `contextual` integer — 是否开启上下文增强
      - `background` string — 背景颜色
      - `icon` string — 知识库图标
      - `document_size` integer — 文档数量
      - `length` integer — 分词后总长度
      - `word_num` integer — 总字数
    - `total` integer — 知识库总数量
  - `code` integer — 响应码，200为成功
  - `message` string — 响应信息
  - `timestamp` integer — 响应时间戳

## Other responses

- `default` — 请求失败。

---

[API](https://skmtc.net/bigmodel/apis/zhipu-ai-api.md) · [All operations](https://skmtc.net/bigmodel/apis/zhipu-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigmodel/zhipu-ai-api/revisions/37de2d7b73de/schema)
