Generate PDF report
Download a PDF summary of Playwright test runs. Rate-limited to one request per minute per token.
Response format
Unlike every other endpoint, this returns binary content:- curl
- Node.js
- Python
-OJ writes the response to the filename from Content-Disposition.Handling the rate limit
On429, the response includes a Retry-After header (in seconds). A simple backoff:
Authorizations
User PAT (td_pat_) scoped to the target project
Path Parameters
The project identifier (e.g. project_abc123). Must match the project associated with your PAT.
Query Parameters
Lookback period in days (1–30, default 7). Determines how far back the report covers.
1 <= x <= 30Filter report data to a specific git branch.
Filter results by environment name (e.g. production, staging). Use the /filters endpoint to discover available environments.
Comma-separated run tags to filter report data (e.g. smoke,regression).
Response
PDF binary stream
The response is of type file.