curl --request POST \
--url https://zeus-api.agentspro.cn/api/knowledge-base \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "产品文档",
"description": "产品使用手册和 API 文档"
}'
{
"id": "kb_abc123",
"name": "产品文档",
"description": "产品使用手册和 API 文档",
"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": "产品文档",
"description": "产品使用手册和 API 文档"
}'
{
"id": "kb_abc123",
"name": "产品文档",
"description": "产品使用手册和 API 文档",
"status": "active",
"createdAt": "2025-06-01T10:00:00Z"
}
activecurl --request POST \
--url https://zeus-api.agentspro.cn/api/knowledge-base \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "产品文档",
"description": "产品使用手册和 API 文档"
}'
{
"id": "kb_abc123",
"name": "产品文档",
"description": "产品使用手册和 API 文档",
"status": "active",
"createdAt": "2025-06-01T10:00:00Z"
}