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

<ResponseField name="knowledge_bases" type="array">
  知识库列表

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

    <ResponseField name="name" type="string">
      知识库名称
    </ResponseField>

    <ResponseField name="description" type="string">
      知识库描述
    </ResponseField>

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

    <ResponseField name="documentCount" type="number">
      文档数量
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      创建时间（ISO 8601）
    </ResponseField>

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

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://zeus-api.agentspro.cn/api/knowledge-base \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "knowledge_bases": [
      {
        "id": "kb_abc123",
        "name": "产品文档",
        "description": "产品使用手册和 API 文档",
        "status": "active",
        "documentCount": 12,
        "createdAt": "2025-06-01T10:00:00Z",
        "updatedAt": "2025-06-15T14:30:00Z"
      }
    ]
  }
  ```
</ResponseExample>
