跳转到主要内容
GET
/
datasets
/
{dataset_id}
/
documents
/
{document_id}
/
segments
/
{segment_id}
/
child_chunks
Error
A valid request URL is required to generate request examples
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "content": "<string>",
      "word_count": 123,
      "tokens": 123,
      "index_node_id": "<string>",
      "index_node_hash": "<string>",
      "status": "<string>",
      "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": 123,
      "indexing_at": 123,
      "completed_at": 123,
      "error": "<string>",
      "stopped_at": 123
    }
  ],
  "total": 123,
  "total_pages": 123,
  "page": 123,
  "limit": 123
}

授权

Authorization
string
header
必填

API-Key 鉴权。所有 API 请求都应在 Authorization HTTP Header 中包含你的 API-Key,格式为 Bearer {API_KEY}强烈建议开发者把 API-Key 放在后端存储,而非分享或者放在客户端存储,以免 API-Key 泄露,导致财产损失。

路径参数

dataset_id
string<uuid>
必填

知识库的 ID。

document_id
string<uuid>
必填

文档的 ID。

segment_id
string<uuid>
必填

父段落的 ID。

查询参数

keyword
string

过滤子块的搜索关键词。

page
integer
默认值:1

分页的页码。

limit
integer
默认值:20

每页返回的项目数。

必填范围: x <= 100

响应

200 - application/json

子块的分页列表。

data
object[]
total
integer
total_pages
integer
page
integer
limit
integer