---
title: "Download One or More Documents"
method: GET
path: "/documents/download"
tags: ["Documents"]
---

# Download One or More Documents

`GET /documents/download`

## Request

- Base URL: `https://sandbox.alloy.co/v1`
- URL: `https://sandbox.alloy.co/v1/documents/download`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `/oauth/bearer`
  - HTTP basic
- TypeScript: <https://skmtc.dev/alloy/apis/alloy-api/docs/documents/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Download one or more documents by token. Requires the `READ_DOCUMENTS` permission. A single document is returned as `application/octet-stream`; multiple documents are returned as a `application/zip` archive named `documents.zip`.

## Query parameters

- `document_tokens` string, required

## Response `200`

The requested document(s) as a file stream

## Other responses

- `404`: No documents ready for download

## Changes

- **2026-11-03** `615aa97a5ddb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alloy/apis/alloy-api/changes/documents/download/get.md)

---

[API](https://skmtc.dev/alloy/apis/alloy-api.md) - [All operations](https://skmtc.dev/alloy/apis/alloy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alloy/apis/alloy-api/revisions/615aa97a5ddb?raw)
