---
title: "知识库详情"
method: GET
path: "/llm-application/open/knowledge/{id}"
tags: ["知识库 API"]
---

# 知识库详情

`GET /llm-application/open/knowledge/{id}`

根据知识库`ID`获取个人知识库详情。点击 **Try it** 按钮可快速试用。

## Path parameters

- `id` string, required

## Response `200`

业务处理成功

- KnowledgeDetailResponse
  - `data` 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 — 总字数
  - `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)
