Retrieve the count of test runs in an active workspace, aggregated into time buckets. Each bucket reports the total number of runs that started within the bucket window, as well as how many of those passed and how many failed or were terminated. Useful for plotting test activity over time, tracking reliability trends, and feeding external dashboards with per-day/week/month usage metrics.
Runs are counted by their start_time, not end_time — a long-running test that starts on day D and finishes on day D+1 is attributed to day D. In-flight runs (ones that have started but not yet completed) are included in total_test_runs and counted as failed_test_runs until they complete, since they have not yet succeeded.
Optional filters (application_id, plan_id, test_type) narrow the underlying row set. Optional group_by (plan or application) breaks each time bucket further into one bucket per group value, with the group_id field on each bucket identifying the dimension value.
All timestamps in requests and responses are Unix epoch milliseconds. Bucket boundaries are aligned to UTC; convert to local time on the client side if needed. Time range is capped by granularity: daily (90 days), weekly/monthly (400 days). Data is served live from the test run database, so results reflect runs completed within seconds of the request.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||