Skip to main content
Available since CLI v7.3.0. Analytics stats available since v7.6.0.
The checkly checks command lets you list, inspect, and analyze checks in your Checkly account directly from the terminal. You can filter, search, and drill into individual check details, recent results, error groups, and analytics stats.
Before using checkly checks, 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 checks list

List all checks in your account with optional filtering by name, tag, check type, or status. Usage:
Terminal
Options:

List Options

number
default:"25"
Number of checks to return per page, between 1 and 100.Usage:
Terminal
number
default:"1"
Page number for paginated results.Usage:
Terminal
string
Filter checks by name using a case-insensitive search.Usage:
Terminal
string
Filter checks by tag. Specify multiple times to filter by multiple tags.Usage:
Terminal
string
Filter checks by type. Available types: API, BROWSER, MULTI_STEP, HEARTBEAT, PLAYWRIGHT, TCP, DNS, ICMP, URL.Usage:
Terminal
string
Filter checks by current status. Available values: passing, failing, degraded.Usage:
Terminal
boolean
Hide check IDs in table output for a cleaner view.Usage:
Terminal
string
default:"table"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

List Examples

Terminal

checkly checks get

Get details of a specific check, including recent results and analytics stats. Use --result to drill into a specific result, --error-group to view error details, or the stats flags to customize the analytics view. Usage:
Terminal
Arguments: Options:

Get Options

string
Drill into a specific check result by its result ID. Shows detailed information including logs and timing data.Usage:
Terminal
string
Show full details for a specific error group, including error messages and affected results.Usage:
Terminal
If your account has Rocky AI Root Cause Analysis enabled, the returned error group details include the AI-generated root cause analysis for that error group.
number
default:"10"
Number of recent results to display.Usage:
Terminal
string
Cursor for paginating through results. The cursor value is provided in the output of a previous checks get command.Usage:
Terminal
string
default:"last24Hours"
Time range for the analytics stats section. Available ranges: last24Hours, last7Days, last30Days, thisWeek, thisMonth, lastWeek, lastMonth.Usage:
Terminal
string
Group analytics stats by a specific dimension. Use location to break down metrics by geographic region, or statusCode to group by HTTP status code.Usage:
Terminal
string
Comma-separated list of metrics to display, overriding the defaults. When omitted, a sensible set of defaults is used based on the check type. You can also retrieve the full list of available metrics from the List all available reporting metrics API endpoint.Available metrics by check type:Default metrics per check type:Usage:
Terminal
string
Only include runs with a specific status in the analytics stats. Use success to see stats for passing runs only, or failure for failing runs.Usage:
Terminal
string
default:"detail"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

Get Examples

Terminal

checkly checks stats

Show analytics stats for your checks. View availability, response times, and other metrics across multiple checks at once, with filtering by tag, type, or name. Usage:
Terminal
Arguments: Options:

Stats Options

string
default:"last24Hours"
Time range for the analytics stats. Available ranges: last24Hours, last7Days, thisWeek, lastWeek, lastMonth.Usage:
Terminal
number
default:"25"
Number of checks to return per page, between 1 and 100.Usage:
Terminal
number
default:"1"
Page number for paginated results.Usage:
Terminal
string
Filter checks by name using a case-insensitive search.Usage:
Terminal
string
Filter checks by tag. Specify multiple times to filter by multiple tags.Usage:
Terminal
string
Filter checks by type. Available types: API, BROWSER, MULTI_STEP, HEARTBEAT, PLAYWRIGHT, TCP, DNS, ICMP, URL.Usage:
Terminal
string
default:"table"
Set the output format. Use json for programmatic access or md for markdown.Usage:
Terminal

Stats Examples

Terminal

checkly checks delete

The checkly checks delete command is only available since CLI v8.8.0.
Delete a check by ID. By default, the command shows the check to be deleted and prompts for confirmation before proceeding.
Checks managed by a CLI project are recreated on the next checkly deploy. To permanently remove a project-managed check, delete it from your project code instead of using this command.
Usage:
Terminal
Arguments: Options:

Delete Options

boolean
default:"false"
Skip the confirmation prompt and delete the check immediately. Useful in scripts and CI.Usage:
Terminal
boolean
default:"false"
Preview the deletion without making any changes. Shows the check that would be deleted.Usage:
Terminal

Delete Examples

Terminal