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

# Update Knowledge Base

> Update knowledge base information

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

<ParamField path="id" type="string" required>
  Knowledge base ID
</ParamField>

<ParamField body="name" type="string">
  New knowledge base name
</ParamField>

<ParamField body="description" type="string">
  New knowledge base description
</ParamField>

<ParamField body="status" type="string">
  Knowledge base status (`active` / `archived`)
</ParamField>

<ResponseField name="id" type="string">
  Knowledge base unique identifier
</ResponseField>

<ResponseField name="name" type="string">
  Updated name
</ResponseField>

<ResponseField name="description" type="string">
  Updated description
</ResponseField>

<ResponseField name="status" type="string">
  Updated status
</ResponseField>

<ResponseField name="updatedAt" type="string">
  Update time (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": "Product Docs v2",
      "description": "Updated product documentation"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "kb_abc123",
    "name": "Product Docs v2",
    "description": "Updated product documentation",
    "status": "active",
    "updatedAt": "2025-06-20T09:00:00Z"
  }
  ```
</ResponseExample>
