Get dashboard figures
The dashboard for a period: last run, suite stability, time lost, the two test-metric tiles (testMetrics), slowest tests, time sinks, recent runs. Every figure counts finished runs of the source - all by default - and testMetrics.population names it. Moderate: aggregate queries over the period’s finished runs, run in the database - no result rows are loaded.
GET
/api/v1/projects/{projectId}/overviewParameters
| Parameter | Description |
|---|---|
| A project id from GET /projects. | |
| The period, in days, ending now. Must not exceed the plan’s retention (Standard 60, Pro 90 days); a longer period is refused with 400 invalid_period rather than answered with less data. | |
| Exact branch name: every figure counts that branch’s runs. Every branch when absent or all (since 1.0.0-beta.17; it took stable or all, default stable, before - stable is now a 400). | |
| Which runs count, by where they ran: all - every run (the default since 1.0.0-beta.18; ci before); ci - runs a shard reported a CI provider for; local - runs no shard did. The response’s population names the one counted. |
Responses
200400401403404429500