---
title: "Export Report Pdf"
method: GET
path: "/api/patrol-reports/{id}/pdf"
tags: ["Patrol Reports"]
---

# Export Report Pdf

`GET /api/patrol-reports/{id}/pdf`

## Request

- Base URL: `https://api.avete.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avete.ai/api/patrol-reports/{id}/pdf`
- Auth: HTTP bearer

Generate (or serve cached) a high-fidelity PDF report.
- If the report already has a cached PDF in S3 and its manifest matches, redirect to S3.
- Otherwise generate a fresh PDF, upload to S3, save the key, and return the bytes.

## Path parameters

- `id` integer, required

## Query parameters

- `lang` string
- `regenerate` boolean
- `mode` string
- `download` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
