---
title: "Download Document File"
method: GET
path: "/documents/{document_id}/file"
tags: ["Documents"]
---

# Download Document File

`GET /documents/{document_id}/file`

Download the actual file content for a document.
This endpoint is used for local storage when file:// URLs cannot be accessed by browsers.

## Path parameters

- `document_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## 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/format was generalized from `string`/`` to ``/``

[Change history](https://skmtc.dev/morphik-org/apis/fastapi/changes/documents/:document_id/file/get.md)

---

[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/2d9291c3821d/schema)
