GET
/
llm-application
/
open
/
knowledge
/
capacity
获取知识库使用量详情
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
}

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Response

200
application/json

业务处理成功

The response is of type object.