Test Runs Analytics (v2)
Analytics
Test Runs
Returns test run data aggregated by day for charts
GET
Test Runs Analytics (v2)
Returns test run statistics aggregated by day, including run counts, pass/fail breakdown, and test-level metrics. Response shape is identical to v1.Documentation Index
Fetch the complete documentation index at: https://docs.empirical.run/llms.txt
Use this file to discover all available pages before exploring further.
Get last 30 days of test runs
Filter by branch
Authorizations
Project API key from the Empirical dashboard.
Query Parameters
Number of days of history (1-90, default 30). Ignored if start_date and end_date are provided.
Start of custom date range (ISO 8601). Must be used together with end_date.
End of custom date range (ISO 8601). Must be used together with start_date.
Filter by environment ID.
Filter by branch name.
Response
Test run analytics data.