> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usecontra.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate PDF Report

> Generate an audit-grade PDF of a session — useful for compliance archives or regulator submission.

```bash theme={null}
curl https://identity.contra.id/v1/sessions/$SID/pdf \
  -H "x-api-key: $CONTRA_KEY" -o session.pdf
```

The response is `application/pdf`. The report includes:

* Session metadata + lifecycle timestamps
* Workflow definition + node results
* Extracted KYC/AML/PoA fields (redacted unless `?reveal_pii=true` and authorized)
* ContraToken JWT (header + claims)
* On-chain anchor proof (tx hash + block)
* Audit log

Rate-limited at **100 PDFs / minute** per tenant.
