Skip to main content
POST
/
api
/
knowledge-base
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"
  }'
{
  "id": "kb_abc123",
  "name": "Product Docs",
  "description": "Product user manual and API documentation",
  "status": "active",
  "createdAt": "2025-06-01T10:00:00Z"
}
Authorization
string
required
Bearer JWT Token
name
string
required
Knowledge base name
description
string
Knowledge base description
id
string
ID of the newly created knowledge base
name
string
Knowledge base name
description
string
Knowledge base description
status
string
Knowledge base status, defaults to active
createdAt
string
Creation time (ISO 8601)
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"
  }'
{
  "id": "kb_abc123",
  "name": "Product Docs",
  "description": "Product user manual and API documentation",
  "status": "active",
  "createdAt": "2025-06-01T10:00:00Z"
}