d0fc0114da66
Retrieve unified test quality metrics for a workspace
Returns multiple quality dimensions for tests in a workspace over a specified time range. V1 includes flake rate and breakage rate. Flakiness is calculated by grouping test runs by execution context and identifying groups with mixed outcomes. Breakage rate measures how often a test transitions from passing to failing between consecutive runs.
The summary statistics reflect ALL matching tests in the workspace, while the tests array is paginated. Use the cursor parameter to fetch additional pages.
Path parameters
The workspace ID
Query parameters
Start of the query time range in epoch milliseconds
End of the query time range in epoch milliseconds
Optional application ID to filter by
Optional plan ID to filter by
Optional environment ID to filter by
Optional test ID (invariant ID) to filter by
Type of test
Optional test type to filter by
Optional browser to filter by
Where the test lives
Optional execution source to filter by
Plan labels to filter by
When true, orders the tests array by stability (least stable first) instead of the default quality-score ordering. Summary statistics are unaffected.
Minimum number of plan runs required for a test to be included (default 5)
Maximum number of tests to return (default 100)
Pagination cursor from a previous response
Response
Unified test quality metrics for the specified time range