List Chunks
Returns a paginated list of chunks within a document, optionally filtered by keyword or indexing status.
Authorizations
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
Knowledge base ID, from List Knowledge Bases. For a scoped key, copy the ID from the Dify URL.
Document ID. Obtain it from List Documents.
Query Parameters
Page number.
x >= 1Number of items per page. Server caps at 100.
x >= 1Filter chunks by indexing status, e.g. completed, indexing, error.
Search keyword.