curl --request GET \
--url https://open.bigmodel.cn/api/llm-application/open/knowledge/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"embedding_id": 123,
"name": "<string>",
"description": "<string>",
"background": "<string>",
"icon": "<string>",
"document_size": 123,
"length": 123,
"word_num": 123
},
"code": 123,
"message": "<string>",
"timestamp": 123
}
根据知识库id获取个人知识库详情。
curl --request GET \
--url https://open.bigmodel.cn/api/llm-application/open/knowledge/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"embedding_id": 123,
"name": "<string>",
"description": "<string>",
"background": "<string>",
"icon": "<string>",
"document_size": 123,
"length": 123,
"word_num": 123
},
"code": 123,
"message": "<string>",
"timestamp": 123
}
使用以下格式进行身份验证:Bearer <your api key>
知识库id
业务处理成功
The response is of type object
.