---
title: "Generate PDF report for an incident/RCA"
method: POST
path: "/generate-pdf"
tags: ["AI"]
---

# Generate PDF report for an incident/RCA

`POST /generate-pdf`

## Request

- Base URL: `http://localhost:5000/api/v1`
- URL: `http://localhost:5000/api/v1/generate-pdf`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/scrubbe/apis/scrubbe-api/docs/generate-pdf/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `id` string, required
  - `description` string

## Response `200`

PDF file

---

[API](https://skmtc.dev/scrubbe/apis/scrubbe-api.md) - [All operations](https://skmtc.dev/scrubbe/apis/scrubbe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrubbe/apis/scrubbe-api/revisions/45bb33d61b7e?raw)
