Skip to main content
PUT
/
api
/
knowledge-base
/
{id}
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"
  }'
{
  "id": "kb_abc123",
  "name": "Product Docs v2",
  "description": "Updated product documentation",
  "status": "active",
  "updatedAt": "2025-06-20T09:00:00Z"
}
Authorization
string
required
Bearer JWT Token
id
string
required
Knowledge base ID
name
string
New knowledge base name
description
string
New knowledge base description
status
string
Knowledge base status (active / archived)
id
string
Knowledge base unique identifier
name
string
Updated name
description
string
Updated description
status
string
Updated status
updatedAt
string
Update time (ISO 8601)
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"
  }'
{
  "id": "kb_abc123",
  "name": "Product Docs v2",
  "description": "Updated product documentation",
  "status": "active",
  "updatedAt": "2025-06-20T09:00:00Z"
}