GET
/
llm-application
/
open
/
document
获取知识库的文档列表
curl --request GET \
  --url https://open.bigmodel.cn/api/llm-application/open/document \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "list": [
      {
        "id": "12312121212",
        "knowledge_type": 1,
        "custom_separator": [
          "\n"
        ],
        "sentence_size": 300,
        "length": 0,
        "word_num": 100,
        "name": "",
        "url": "",
        "embedding_stat": 0,
        "failInfo": {
          "embedding_code": 10002,
          "embedding_msg": "字数超出限制"
        }
      }
    ],
    "total": 1
  },
  "code": 200,
  "message": "请求成功",
  "timestamp": 1689649504996
}

Authorizations

Authorization
string
header
required

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

Query Parameters

knowledge_id
string
required

知识库id

page
integer
default:1

页码,默认1

size
integer
default:10

每页数量,默认10

word
string

文档名称

Response

200
application/json

请求成功

The response is of type object.