Generate PDF report
Download a Quality trends PDF of Playwright test runs for the last 1 to 30 days. Rate-limited to 1 request per minute per token.
GET
Generate and download a project report PDF
The endpoint returns the same PDF as a Quality trends report built in the app, with every default section, over the filters you pass. It is a preview: nothing is saved or sent, and the PDF has no cover page or table of contents. The first page reads
Preview with this project's data as of <time>. Not saved. under the title.
Response format
Unlike every other endpoint, this returns binary content:
Save the response body directly to a file rather than parsing it as JSON.
- curl
- PowerShell
- Node.js
- Python
-OJ writes the response to the filename from Content-Disposition.Errors
Errors return JSON, not a PDF. The code sits in 1 of 2 places: inerror.code ({"success": false, "error": {"code": "...", "message": "..."}}), or in error as a string ({"success": false, "error": "...", "message": "..."}). The Code in column says which.
A client that reads the code should check both places:
typeof body.error === "string" ? body.error : body.error?.code.
Handling the rate limit
On429, the response includes a Retry-After header (in seconds). A simple backoff:
Path Parameters
Query Parameters
Response
PDF binary stream
The response is of type file.
Last modified on November 18, 2026
Generate and download a project report PDF