---
title: "Batch Get Documents"
method: POST
path: "/batch/documents"
---

# Batch Get Documents

`POST /batch/documents`

## 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/documents`
- Auth: none declared

Retrieve multiple documents by their IDs in a single batch operation.

## Headers

- `authorization` string, nullable

## Request body

- BatchDocumentsRequest: Request model for batch document retrieval.
  - `document_ids` string[]: List of document IDs to retrieve
  - `folder_name` union: Optional folder scope. Accepts a folder PATH (e.g., '/Company/Reports') or list of paths.
    - string
    - string[]
  - `end_user_id` string, nullable: Optional end-user scope for the operation

## Response `200`

Successful Response

- Document[]
  - `external_id` string
  - `content_type` string, required
  - `filename` string, nullable
  - `metadata` object
  - `metadata_types` object
  - `storage_info` object
  - `system_metadata` object
  - `additional_metadata` object
  - `chunk_ids` string[]
  - `summary_storage_key` string, nullable
  - `summary_version` integer, nullable
  - `summary_bucket` string, nullable
  - `summary_updated_at` string, nullable
  - `folder_name` string, nullable
  - `end_user_id` string, nullable
  - `app_id` string, nullable
  - `folder_path` string, nullable
  - `folder_id` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-01-22** `2d9291c3821d`: 2 info
  - `header` request parameter `authorization` list-of-types was widened by adding types `null`
  - for the `header` request parameter `authorization`, the type was generalized from `string` to no type
- **2025-12-18** `4b79c3821a17`: 1 warning, 5 info
  - removed the optional property `items/storage_files` from the response with the `200` status
  - added the optional property `items/folder_id` to the response with the `200` status
  - added the optional property `items/summary_bucket` to the response with the `200` status
  - added the optional property `items/summary_storage_key` to the response with the `200` status
  - …2 more
- **2025-12-06** `e185c542e939`: 1 info
  - added the optional property `items/folder_path` to the response with the `200` status
- **2025-11-27** `4ce03d9b0f27`: 3 info
  - added the new optional request property `document_ids`
  - added the new optional request property `end_user_id`
  - added the new optional request property `folder_name`
- **2025-11-13** `b9ae748cb938`: 1 info
  - added the optional property `items/metadata_types` to the response with the `200` status

[Operation history](https://skmtc.dev/morphik-org/apis/morphik-api/changes/batch/documents/post.md)

---

[API](https://skmtc.dev/morphik-org/apis/morphik-api.md) - [All operations](https://skmtc.dev/morphik-org/apis/morphik-api/llms.txt) - [OpenAPI document](https://skmtc.dev/morphik-org/apis/morphik-api/revisions/45d77e08d406?raw)
