---
title: "Stream document bytes"
method: GET
path: "/v1/documents/{id}/download"
tags: ["Documents"]
---

# Stream document bytes

`GET /v1/documents/{id}/download`

## Request

- Base URL: `https://api.offshoreproz.com`
- URL: `https://api.offshoreproz.com/v1/documents/{id}/download`
- Auth: none required

Streams the document from R2. Authenticated via short-lived `?token=` query param from GET /v1/documents/{id}.

## Path parameters

- `id` string, required

## Query parameters

- `token` string, required

## Response `200`

Document bytes

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `404`: Not found

---

[API](https://skmtc.dev/offshoreproz/apis/offshoreproz-agent-api.md) · [All operations](https://skmtc.dev/offshoreproz/apis/offshoreproz-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/offshoreproz/apis/offshoreproz-agent-api/revisions/13026c827538?raw)
