---
title: "Download Report"
method: GET
path: "/reports/{report_id}.pdf"
tags: ["reports"]
---

# Download Report

`GET /reports/{report_id}.pdf`

## Request

- Base URL: `https://api.licenscheck.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.licenscheck.com/reports/{report_id}.pdf`
- Auth: none declared

Download a report's PDF, byte for byte as issued.

Args:
    report_id: The report.
    key: Injected: the caller's paid key.
    reports: Injected `ReportRepository`.

Returns:
    The PDF, as an attachment.

Raises:
    HTTPException: 404 when this key issued no such report.

## Path parameters

- `report_id` string, uuid, required

## Response `200`

Successful Response

## Other responses

- `401`: No API key, or one that's wrong or revoked.
- `403`: A free key: proof reports need a paid plan.
- `404`: This key issued no report with that ID.
- `422`: Validation Error

---

[API](https://skmtc.dev/licenscheck/apis/licenscheck-api.md) · [All operations](https://skmtc.dev/licenscheck/apis/licenscheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/licenscheck/apis/licenscheck-api/revisions/472db933f385?raw)
