Available since CLI v8.5.0.
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.
Prerequisites
Prerequisites
Before using
checkly alert-channels, ensure you have:- Checkly CLI installed
- Valid Checkly account authentication (run
npx checkly loginif needed)
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
List Options
number
default:"25"
Set the number of alert channels to return per page, between 1 and 100.Usage:
Terminal
number
default:"1"
Select the page of alert channels to return.Usage:
Terminal
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
Options:
Get Options
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
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
number
default:"25"
Set the number of notification logs to return per page, between 1 and 100.Usage:
Terminal
number
default:"1"
Select the page of notification logs to return.Usage:
Terminal
number
Set the inclusive start of the log window as a Unix timestamp.Usage:
Terminal
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
string
Filter the logs to failed notification deliveries.Usage:
Terminal
string
default:"table"
Set the output format. Use
json for programmatic access or md for markdown.Usage:Terminal
Logs Examples
Terminal
JSON pagination
Thelist and logs commands return JSON in a stable pagination envelope when you use --output=json:
Related Commands
checkly checks- List and inspect checkscheckly api- Make authenticated Checkly API requestscheckly whoami- Display current account information