Batch Get Chunks

Changed on

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

post/batch/chunks

Request

  • Base URL
    https://api.morphik.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.morphik.ai/batch/chunks
  • Auth
    none declared

Headers

authorizationstring nullable

Request body

end_user_idstring nullable

Optional end-user scope for the operation

use_colpaliboolean nullable

Whether to use ColPali embeddings for retrieval

output_format'base64' | 'url' | 'text'

Output format for image chunks in retrieval results.

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

    • info

      header request parameter authorization list-of-types was widened by adding types null

    • info

      for the header request parameter authorization, the type was generalized from string to no type

    • breaking

      removed subschema #1 from the request property anyOf list

    • info

      added to the request property anyOf list