v1

latestSwagger 2.02026-08-06114111152.5 KB
Insights

Test trends

Time-bucketed success / failure / unknown counts for your tests, the same series that powers the Test Analytics chart in the dashboard. Use group_by to aggregate by day (default), by browser (coverage), or as a single status roll-up. Filter by date range, status, browser, build, group and team.

get/v1/insights/trends

Query parameters

startstring

Period start. ISO-8601 (2026-06-01 or 2026-06-01T00:00:00Z) or a UNIX timestamp. Defaults to 30 days before end.

endstring

Period end. ISO-8601 or a UNIX timestamp. Defaults to now.

time_rangestring

Relative window as a shorthand for start: 24h, 7d, 4w (units h/d/w). Ignored when start is given.

status'all' | 'success' | 'failure' | 'unknown'

Filter by test status. One of all (default), success, failure, unknown.

browserinteger[]

Filter by test environment (browser/OS/device) IDs, comma-separated. Discover IDs via /v1/insights/filters.

buildinteger[]

Filter by build IDs, comma-separated.

group_idsinteger[]

Filter by group ("My Groups") IDs, comma-separated.

teaminteger[]

Filter by team member user IDs (who ran the test), comma-separated.

namestring

Filter to an exact test name.

group_by'date' | 'browser' | 'status'

Aggregation dimension: date (daily buckets, default), browser, or status.

Response

Test trends