> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeus.agentspro.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 更新知识库

> 更新知识库信息

<ParamField header="Authorization" type="string" required>
  Bearer JWT Token
</ParamField>

<ParamField path="id" type="string" required>
  知识库 ID
</ParamField>

<ParamField body="name" type="string">
  新的知识库名称
</ParamField>

<ParamField body="description" type="string">
  新的知识库描述
</ParamField>

<ParamField body="status" type="string">
  知识库状态（`active` / `archived`）
</ParamField>

<ResponseField name="id" type="string">
  知识库唯一标识
</ResponseField>

<ResponseField name="name" type="string">
  更新后的名称
</ResponseField>

<ResponseField name="description" type="string">
  更新后的描述
</ResponseField>

<ResponseField name="status" type="string">
  更新后的状态
</ResponseField>

<ResponseField name="updatedAt" type="string">
  更新时间（ISO 8601）
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request PUT \
    --url https://zeus-api.agentspro.cn/api/knowledge-base/kb_abc123 \
    --header 'Authorization: Bearer <token>' \
    --header 'Content-Type: application/json' \
    --data '{
      "name": "产品文档 v2",
      "description": "更新后的产品文档"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "kb_abc123",
    "name": "产品文档 v2",
    "description": "更新后的产品文档",
    "status": "active",
    "updatedAt": "2025-06-20T09:00:00Z"
  }
  ```
</ResponseExample>
