---
title: "Export CYA session as PDF"
method: GET
path: "/api/cya/sessions/:session_id/export/pdf"
tags: ["CYA Agent"]
---

# Export CYA session as PDF

`GET /api/cya/sessions/:session_id/export/pdf`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/cya/sessions/:session_id/export/pdf`
- Auth: none declared

Renders a completed CYA session (single or multi-perspective) as a PDF document. Returns a binary PDF buffer with Content-Disposition attachment header. Requires session status to be `completed`.

## Path parameters

- `session_id` string, required

## Query parameters

- `language` 'de' | 'en'
- `includeRegulatoryDetails` boolean
- `includeDataBasis` boolean
- `includeAITransparency` boolean
- `token` string

## Response `200`

PDF binary stream

## Other responses

- `404`: Session not found
- `409`: Session not completed yet

---

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