Batch Get Chunks

Retrieve specific chunks by their document ID and chunk number in a single batch operation.

Args: request: Dictionary containing: - sources: List of ChunkSource objects (with document_id and chunk_number) - folder_name: Optional folder to scope the operation to - end_user_id: Optional end-user ID to scope the operation to - use_colpali: Whether to use ColPali-style embedding auth: Authentication context

Returns: List[ChunkResult]: List of chunk results

post/batch/chunks

Headers

authorizationstring

Request body

object required

Response

Successful Response

contentstring required
scorenumber required
document_idstring required
chunk_numberinteger required
metadataobject required
content_typestring required
filenamestring nullable
download_urlstring nullable
is_paddingboolean

Whether this chunk was added as padding

Changes