Documentation Index
Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
Use this file to discover all available pages before exploring further.
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
GET https://api.pathors.com/v1/projects/{projectId}/knowledgebases/{knowledgebaseId}/datasets/{datasetId}/chunks
Path Parameters
The knowledgebase containing the dataset
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
curl https://api.pathors.com/v1/projects/{projectId}/knowledgebases/kb_abc123/datasets/dataset_xyz789/chunks \
-H "Authorization: Bearer dk_your_key"
[
{
"id": "chunk_abc123",
"content": "This is the first chunk of text extracted from the document...",
"contentLength": 127,
"isEnabled": true
}
]
The dataset must belong to the specified knowledgebase — cross-knowledgebase access returns 403.