Download report
Downloads a security report as a PDF. On success the body is the raw PDF (application/pdf), not JSON — store the bytes wherever you like. Only security reports registered to your organization are accessible. Security reports are a paid feature — a free-tier (trial) organization receives 402.
Authorizations
JWT login token tied to your Perfai user (not a separate API key). Obtain it via POST /api/v1/auth/token with your username and password (use the returned id_token) — the same login the web console performs. Carries org, user, and role; short-lived.
Path Parameters
MongoDB ObjectId of the report (from GET /apps/{appId}/reports).
Response
The report PDF.
The response is of type file.

