List document chunks

GET

Retrieves the text chunks that were generated from a document during ingestion. Chunks represent semantic sections of the document and are used for retrieval and analysis.

Users can only access chunks from documents they own or have access to through collections. Vector embeddings are only included if specifically requested.

Results are returned in chunk sequence order, representing their position in the original document.

Path parameters

idstringRequired

The ID of the document to retrieve chunks for.

Query parameters

offsetintegerOptional

Specifies the number of objects to skip. Defaults to 0.

limitintegerOptional

Specifies a limit on the number of objects to return, ranging between 1 and 100. Defaults to 100.

include_vectorsbooleanOptional

Whether to include vector embeddings in the response.

Response

Successful Response

resultslist of objects
total_entriesinteger

Errors