Cancellation lets you stop an in-progress Playwright Check Suite run. Cancelled results are flagged withDocumentation Index
Fetch the complete documentation index at: https://checklyhq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
isCancelled: true, do not trigger alerts, and are excluded from availability and performance metrics. A session that contains at least one cancelled run ends in a terminal CANCELLED status.
What you can cancel
You can cancel two kinds of sessions, and the behaviour differs: Check sessions — created by the UI “Schedule now” button andcheckly deploy. A check session is one execution of a single Playwright Check Suite, fanned out across the locations you configured. Cancelling the session stops every in-progress run; cancelling a single run leaves the rest of the session going.
Test sessions — created by checkly test, checkly trigger, and checkly pw-test, which all record by default. A test session can contain multiple checks of different types. Cancelling the test session stops only the Playwright Check Suite runs inside it; any URL, API, Browser, Multistep, Heartbeat, TCP, DNS, or ICMP runs in the same session continue until they finish normally. You can also cancel a single Playwright run within the session.
How to cancel
- UI
- Public API
- CLI
On a check session or test session page, click Cancel session in the header to stop the whole session. To stop just a single run, use the cancel button on its row.
What happens after a run is cancelled
The runner stops execution
The runner receives the cancellation signal, aborts the in-flight Playwright run, and reports the result back to Checkly.
The result is marked cancelled
Each cancelled run’s result has
isCancelled: true. Once the session has stopped (any remaining non-Playwright checks finish normally), the session’s status becomes CANCELLED because at least one of its runs was cancelled.No alert is sent
Cancelled runs never produce failure or recovery alerts, regardless of your alert settings. See Alert configuration.
Metrics ignore the run
Availability, response time percentiles, and success ratios exclude cancelled runs. Your check status does not change. Public and private dashboards omit cancelled runs from their summary counts.
Automated incidents are not triggered
Because no alert is sent and the check status does not change, automated incidents are not opened from a cancelled run.
API versioning
Cancellation introduces two API additions: a newCANCELLED value on the check-session status enum, and a new isCancelled boolean on individual check results. The isCancelled flag is additive and ships on every check-result and check-session response without a version bump. The status enum change is breaking for clients that switch on status values exhaustively, so the new CANCELLED value is only returned by the v2 check-session endpoints; v1 maps cancelled sessions to TIMED_OUT in status so existing clients continue to work unchanged.
POST /v1/check-sessions/trigger, GET /v1/check-sessions/{checkSessionId}, and GET /v1/check-sessions/{checkSessionId}/completion report cancelled sessions as TIMED_OUT in status rather than CANCELLED. Per-result objects still include isCancelled, so individual cancelled runs remain identifiable.POST /v2/check-sessions/trigger, GET /v2/check-sessions/{checkSessionId}, and GET /v2/check-sessions/{checkSessionId}/completion return CANCELLED in status for cancelled sessions. Response shape is otherwise the same as v1.GET /v1/check-results/{checkId}/{checkResultId} and the list endpoints include isCancelled on every result.POST /v1/check-sessions/{checkSessionId}/cancel and POST /v1/test-sessions/{testSessionId}/cancel are the action endpoints. Each takes the session ID in the path and an optional sequenceId array in the body.isCancelled flag on per-result objects is available in both versions.