New features
- Monitors. List, get, create and edit a test collection’s monitors. Turning a monitor off through the API deactivates it on every test, as it does in the web app.
- Mute a monitor for some tests. Mute or unmute a monitor for one test, or mute and unmute it for many at once. A mute lasts up to 30 days or has no end. List a monitor’s tests to see where it is active.
- Mark tests flaky. Mark a test flaky or clear the mark, as Flag as Flaky does in the web app.
- Label tests. Add or remove a test’s labels. A new label name creates the label.
- Detection events. List detection events to see each verdict your monitors recorded on a test, over a window of up to 30 days.
Updates
- New API key permissions. Flaky Tests writes now need a matching permission on the API key: Quarantine tests, Flag tests, Manage monitors, Mute monitors, Link tickets and Create tickets. A key without permissions can still read collections, tests, monitors and detection events. If a key lacks a permission, the API returns
403 INSUFFICIENT_PERMISSIONS. See Permissions. - Read a pull request’s impacted targets. A new v2 endpoint returns the impacted targets uploaded for a pull request.