Explore test cases with aggregated metrics
Returns a paginated list of test cases with aggregated metrics across multiple runs, including pass rate, fail rate, flakiness rate, average duration, and last execution time. Useful for identifying consistently failing, slow, or flaky tests over a configurable lookback period. Filter by spec file, platform, environment, status, or tags.
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
Page number for paginated results. Starts at 1.
x >= 1Page size. Must be one of 10, 25, or 50 (default 25). Any other value returns 400 INVALID_LIMIT.
10, 25, 50 Filter by behavioral status class. stable requires days=90.
flaky, chronic, stable Filter to test cases from a specific spec file path.
Filter by test platform (e.g. chromium, firefox, webkit).
Filter results by environment name (e.g. production, staging). Use the /filters endpoint to discover available environments.
Single tag string (maps to downstream tag). Not comma-separated multi-tag.
Rolling window in days. Must be 7, 30, or 90 (default 30). Other values return 400 downstream.
7, 30, 90 Free-text search across test case names.
Sort field (maps to downstream sort). Default suite_file_path. Sort-dependent default direction applies when order is omitted.
suite_file_path, title, flaky_rate, failure_rate, reliability_score, total_runs, p95_duration_ms, duration_trend_slope, consecutive_failure_streak, last_seen_at, last_duration_ms, avg_duration_ms Sort direction (maps to downstream dir). Default depends on sortBy — text sorts default asc, metrics default desc.
asc, desc