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"
}
Knowledge Base API
Update Knowledge Base
Update knowledge base information
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"
}
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"
}