---
title: "Source Pdf"
method: POST
path: "/api/source/pdf"
tags: ["source"]
---

# Source Pdf

`POST /api/source/pdf`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/source/pdf`
- Auth: none declared

Render the chunk as a PDF with light chrome + highlighted quotes.

## Request body

- PdfRequest
  - `chunk_id` string, required
  - `source` string, required
  - `title` string, nullable
  - `url` string, nullable
  - `text` string, nullable
  - `highlights` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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