Skip to main content
Available since CLI v8.5.0.
The checkly alert-channels commands let you inspect the alert channels in your account and troubleshoot notification delivery from the terminal. These commands are read-only and don’t change your alert channel configuration.
Before using checkly alert-channels, ensure you have:
  • Checkly CLI installed
  • Valid Checkly account authentication (run npx checkly login if needed)
For additional setup information, see CLI overview.

Usage

Terminal

Subcommands

checkly alert-channels list

List the alert channels in your account. The default table includes each channel’s ID, type, name, subscription count, and creation date. Usage:
Terminal
Options:

List Options

--limit, -l
number
default:"25"
Set the number of alert channels to return per page, between 1 and 100.Usage:
Terminal
--page, -p
number
default:"1"
Select the page of alert channels to return.Usage:
Terminal
--output, -o
string
default:"table"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

List Examples

Terminal

checkly alert-channels get

Get the configuration and subscriptions for a specific alert channel. Usage:
Terminal
Arguments: Options:

Get Options

--output, -o
string
default:"detail"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

Get Examples

Terminal

checkly alert-channels logs

List notification log entries for a specific alert channel. Use this command to identify failed deliveries or inspect notifications from a specific time window. Usage:
Terminal
Arguments: Options:
If you omit --from and --to, the command returns logs from the preceding 24 hours. An explicit time window can span at most 24 hours.

Logs Options

--limit, -l
number
default:"25"
Set the number of notification logs to return per page, between 1 and 100.Usage:
Terminal
--page, -p
number
default:"1"
Select the page of notification logs to return.Usage:
Terminal
--from
number
Set the inclusive start of the log window as a Unix timestamp.Usage:
Terminal
--to
number
Set the exclusive end of the log window as a Unix timestamp. The interval between --from and --to can’t exceed 24 hours.Usage:
Terminal
--status, -s
string
Filter the logs to failed notification deliveries.Usage:
Terminal
--output, -o
string
default:"table"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

Logs Examples

Terminal

JSON pagination

The list and logs commands return JSON in a stable pagination envelope when you use --output=json: