---
title: "Download Library Document"
method: GET
path: "/library/documents/{doc_id}/download"
tags: ["Library"]
---

# Download Library Document

`GET /library/documents/{doc_id}/download`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/library/documents/{doc_id}/download`
- Auth: HTTP bearer

The document's original file, as uploaded. FREE.

NOT wrapped in the JSON envelope: the body is the file itself, with its own
`Content-Type` and a `Content-Disposition: attachment` filename.

## Path parameters

- `doc_id` string, required: Library document id.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

The file.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/89fc11143b70?raw)
