Skip to main content
GET
List Chunks

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path Parameters

dataset_id
string<uuid>
required

Knowledge base ID. Obtain it from List Knowledge Bases.

document_id
string<uuid>
required

Document ID. Obtain it from List Documents.

Query Parameters

status
string[]

Filter chunks by indexing status, e.g. completed, indexing, error.

keyword
string

Search keyword.

Response

List of chunks.

data
object[]

List of chunks.

doc_form
string

Document chunking mode used by this document.

total
integer

Total number of matching chunks.