---
title: "Get Agreement File"
method: GET
path: "/agreements/{agreement_id}/file"
tags: ["Agreements"]
---

# Get Agreement File

`GET /agreements/{agreement_id}/file`

Obtain a downloadable file or binary PDF data from an AgreementGen document.

## Path parameters

- `agreement_id` string, required

## Response `200`

Returns the downloadable file or binary PDF data of the AgreementGen document.

- object
  - `signed_url` string, uri — Signed HTTPS URL to download the agreement file. Expires in 30 minutes.
  - `expires_at` integer — Unix epoch timestamp (in seconds) indicating when `signed_url` will no longer work.

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.dev/luminpdf/apis/lumin-api-reference.md) · [All operations](https://skmtc.dev/luminpdf/apis/lumin-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/luminpdf/lumin-api-reference/revisions/d50abec39581/schema)
