Dataset
Preview Chunks
Preview chunks from a dataset
GET
Preview Chunks
Retrieves all chunks that were created from a specific dataset.
Endpoint
Path Parameters
The ID of the dataset to get chunks from
Headers
Your project API key for authentication
Response
Returns an array of chunks that were created from the dataset.
Unique identifier for the chunk
The text content of the chunk
Length of the chunk content in characters
Example response:
Error Responses
Status Code | Description |
---|---|
401 | Invalid API key |
404 | Dataset not found |
500 | Internal server error |
Usage Notes
- This endpoint shows how your dataset has been split into chunks
- Chunks are created automatically when a dataset is uploaded
- Each chunk is optimized for semantic search
- The chunks shown are the actual segments used for querying