---
title: "Download a document"
method: GET
path: "/documents/{document_id}"
tags: ["Document"]
---

# Download a document

`GET /documents/{document_id}`

Stream a document's content as an attachment to authorized callers.

## Path parameters

- `document_id` integer, required

## Query parameters

- `cookie_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Missing or invalid authentication.
- `403` — Caller may not access this document.
- `404` — No document exists with the given id.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/versions/b53e89b98c2b/schema)
