---
title: "Generate Structured Pdf"
method: POST
path: "/student-exams/{exam_id}/generate-structured-pdf"
tags: ["student-exams"]
---

# Generate Structured Pdf

`POST /student-exams/{exam_id}/generate-structured-pdf`

Generate a PDF using the new structured approach.
Supports 'exercises' (subject) and 'corrections' fields.

## Path parameters

- `exam_id` string, required

## Request body

- GeneratePdfRequest
  - `field` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
