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

# Create Knowledge Base

> Create a new knowledge base

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

<ParamField body="name" type="string" required>
  Knowledge base name
</ParamField>

<ParamField body="description" type="string">
  Knowledge base description
</ParamField>

<ResponseField name="id" type="string">
  ID of the newly created knowledge base
</ResponseField>

<ResponseField name="name" type="string">
  Knowledge base name
</ResponseField>

<ResponseField name="description" type="string">
  Knowledge base description
</ResponseField>

<ResponseField name="status" type="string">
  Knowledge base status, defaults to `active`
</ResponseField>

<ResponseField name="createdAt" type="string">
  Creation time (ISO 8601)
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://zeus-api.agentspro.cn/api/knowledge-base \
    --header 'Authorization: Bearer <token>' \
    --header 'Content-Type: application/json' \
    --data '{
      "name": "Product Docs",
      "description": "Product user manual and API documentation"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 201 theme={null}
  {
    "id": "kb_abc123",
    "name": "Product Docs",
    "description": "Product user manual and API documentation",
    "status": "active",
    "createdAt": "2025-06-01T10:00:00Z"
  }
  ```
</ResponseExample>
