Available since CLI v7.5.0.
checkly incidents command lets you manage incidents on your status pages directly from the terminal. You can list, create, update, and resolve incidents, and optionally notify subscribers with each action.
Prerequisites
Prerequisites
Before using
checkly incidents, ensure you have:- Checkly CLI installed
- Valid Checkly account authentication (run
npx checkly loginif needed) - At least one status page configured in your Checkly account
Usage
Terminal
Subcommands
| Subcommand | Description |
|---|---|
list | List incidents, optionally filtered by status page or status. |
create | Declare a new incident on a status page. |
update | Post a progress update to an incident. |
resolve | Resolve an incident. |
checkly incidents list
List incidents, optionally filtered by status page or status.
Usage:
Terminal
| Option | Required | Description |
|---|---|---|
--limit, -l | - | Number of incidents to return (1-100). Default: 25. |
--status-page-id | - | Filter incidents by status page ID. |
--status | - | Filter by incident status: open, resolved, or all. Default: open. |
--output, -o | - | Output format: table, json, or md. Default: table. |
List Options
Number of incidents to return, between 1 and 100.Usage:
Terminal
Filter incidents to only those associated with a specific status page.Usage:
Terminal
Filter incidents by status. Available values:
open, resolved, all.Usage:Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
List Examples
Terminal
checkly incidents create
Declare a new incident on a status page. By default, all services on the status page are affected. Use --services to specify individual services.
Usage:
Terminal
| Option | Required | Description |
|---|---|---|
--status-page-id | yes | Target status page ID. |
--title | yes | Incident title. |
--services | - | Affected service IDs. Repeat the flag for multiple services. |
--severity | - | Incident severity: minor, medium, major, or critical. Default: minor. |
--message | - | Initial incident update message. |
--notify-subscribers | - | Notify status page subscribers. Default: true. Use --no-notify-subscribers to disable. |
--output, -o | - | Output format: table, json, or md. Default: table. |
Create Options
The ID of the status page to create the incident on. You can find status page IDs using
checkly status-pages list.Usage:Terminal
The title of the incident.Usage:
Terminal
Specify affected service IDs. Repeat the flag to affect multiple services. If omitted, all services on the status page are affected.Usage:
Terminal
Set the incident severity. Available values:
minor, medium, major, critical.Usage:Terminal
Provide an initial incident update message. If omitted, a default message is used.Usage:
Terminal
Notify status page subscribers about this incident. Use
--no-notify-subscribers to suppress notifications.Usage:Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
Create Examples
Terminal
checkly incidents update
Post a progress update to an existing incident. You can change the status and severity of the incident at the same time.
Usage:
Terminal
| Argument | Description |
|---|---|
id | The ID of the incident to update. |
| Option | Required | Description |
|---|---|---|
--message | yes | Update message. |
--status | - | Incident progress status: investigating, identified, or monitoring. Default: investigating. |
--severity | - | Update the overall incident severity: minor, medium, major, or critical. |
--notify-subscribers | - | Notify status page subscribers. Default: true. Use --no-notify-subscribers to disable. |
--output, -o | - | Output format: table, json, or md. Default: table. |
Update Options
The progress update message.Usage:
Terminal
Set the incident progress status. Available values:
investigating, identified, monitoring.Usage:Terminal
Update the overall incident severity. Available values:
minor, medium, major, critical.Usage:Terminal
Notify status page subscribers about this update. Use
--no-notify-subscribers to suppress notifications.Usage:Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
Update Examples
Terminal
checkly incidents resolve
Resolve an incident. This posts a final update with status RESOLVED.
Usage:
Terminal
| Argument | Description |
|---|---|
id | The ID of the incident to resolve. |
| Option | Required | Description |
|---|---|---|
--message | - | Optional closing note. If omitted, a default message is used. |
--notify-subscribers | - | Notify status page subscribers. Default: true. Use --no-notify-subscribers to disable. |
--output, -o | - | Output format: table, json, or md. Default: table. |
Resolve Options
Provide a closing note for the incident. If omitted, a default resolution message is used.Usage:
Terminal
Notify status page subscribers about the resolution. Use
--no-notify-subscribers to suppress notifications.Usage:Terminal
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
Resolve Examples
Terminal
Related Commands
checkly status-pages- List and inspect status pagescheckly checks- List and inspect checkscheckly whoami- Display current account information