Skip to main content
GET
Preview Chunks
Returns the chunks produced when the dataset was processed. Useful for previewing how a document was split, debugging unexpected search results, or auditing chunk content.

Request

Path Parameters

string
required
The project ID
string
required
The knowledgebase containing the dataset
string
required
The dataset to preview

Headers

string
required
Bearer token using your developer key

Response

Returns chunks in their original document order.
string
Unique identifier for the chunk
string
Chunk text content (post-processing, not raw file content)
number
Length of the chunk content in characters
boolean
Whether the chunk participates in search. Disabled chunks are excluded from query results.

Example

The dataset must belong to the specified knowledgebase — cross-knowledgebase access returns 403.