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"
}
Knowledge Base API
Create Knowledge Base
Create a new knowledge base
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"
}
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"
}