Preview Chunks
Datasets
Preview Chunks
List the chunks extracted from a dataset
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.
The dataset must belong to the specified knowledgebase — cross-knowledgebase access returns
Request
Path Parameters
The project ID
The knowledgebase containing the dataset
The dataset to preview
Headers
Bearer token using your developer key
Response
Returns chunks in their original document order.Unique identifier for the chunk
Chunk text content (post-processing, not raw file content)
Length of the chunk content in characters
Whether the chunk participates in search. Disabled chunks are excluded from query results.
Example
403.