---
title: "Batch Get Chunks"
method: POST
path: "/batch/chunks"
---

# Batch Get Chunks

`POST /batch/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

## Headers

- `authorization` string

## Request body

- object

## Response `200`

Successful Response

- ChunkResult[]
  - `content` string, required
  - `score` number, required
  - `document_id` string, required
  - `chunk_number` integer, required
  - `metadata` object, required
  - `content_type` string, required
  - `filename` string, nullable
  - `download_url` string, nullable
  - `is_padding` boolean — Whether this chunk was added as padding

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
