列出数据集文档(不分页)
POST http(s)://{{Host}}/v1/datasets/documents/list
获取数据集中所有文档(不分页)。
示例
请求
curl --location 'http(s)://{{Host}}/v1/datasets/documents/list' \
--header 'Authorization: Bearer $OPEN_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"dataset_id": "dataset-123456789",
"order": "desc",
"order_by": "ctime"
}'
Request Body
Content-Type: application/json
参数 | 类型 | 必需 | 默认值 | 说明 |
---|---|---|---|---|
dataset_id | string | Required | 数据集ID | |
order | string | Optional | desc | 排序方式:asc 、desc |
order_by | string | Optional | ctime | 排序字段:ctime 、mtime |
Returns
文档对象列表。