curl --request GET \
--url https://open.bigmodel.cn/api/llm-application/open/knowledge/capacity \
--header 'Authorization: Bearer <token>'
{
"data": {
"used": {
"word_num": 123,
"length": 123
},
"total": {
"word_num": 123,
"length": 123
}
},
"code": 123,
"message": "<string>",
"timestamp": 123
}
获取个人知识库的使用量详情,包括字数和字节数。
curl --request GET \
--url https://open.bigmodel.cn/api/llm-application/open/knowledge/capacity \
--header 'Authorization: Bearer <token>'
{
"data": {
"used": {
"word_num": 123,
"length": 123
},
"total": {
"word_num": 123,
"length": 123
}
},
"code": 123,
"message": "<string>",
"timestamp": 123
}
使用以下格式进行身份验证:Bearer <your api key>
业务处理成功
The response is of type object
.