d0fc0114da66
Retrieve test flakiness metrics for a workspace
Returns flakiness metrics for tests in a workspace over a specified time range. Flakiness is calculated by grouping test runs by execution context (plan_run_id, browser, mobile device/OS, scenario), then identifying groups with mixed outcomes (both passes and fails within the same execution context).
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 for single-test flakiness lookup
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
Test flakiness metrics for the specified time range