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

SubcommandDescription
listList all checks in your account.
getGet details of a specific check, including recent results and analytics stats.
statsShow analytics stats for your checks.
deleteDelete a check by ID.

checkly checks list

List all checks in your account with optional filtering by name, tag, check type, or status. Usage:
Terminal
Options:
OptionRequiredDescription
--limit, -l-Number of checks to return (1-100). Default: 25.
--page, -p-Page number. Default: 1.
--search, -s-Filter checks by name (case-insensitive).
--tag, -t-Filter by tag. Can be specified multiple times.
--type-Filter by check type.
--status-Filter by check status: passing, failing, or degraded.
--hide-id-Hide check IDs in table output.
--output, -o-Output format: table, json, or md. Default: table.

List Options

--limit, -l
number
default:"25"
Number of checks to return per page, between 1 and 100.Usage:
Terminal
--page, -p
number
default:"1"
Page number for paginated results.Usage:
Terminal
--search, -s
string
Filter checks by name using a case-insensitive search.Usage:
Terminal
--tag, -t
string
Filter checks by tag. Specify multiple times to filter by multiple tags.Usage:
Terminal
--type
string
Filter checks by type. Available types: API, BROWSER, MULTI_STEP, HEARTBEAT, PLAYWRIGHT, TCP, DNS, ICMP, URL.Usage:
Terminal
--status
string
Filter checks by current status. Available values: passing, failing, degraded.Usage:
Terminal
--hide-id
boolean
Hide check IDs in table output for a cleaner view.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 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:
ArgumentDescription
idThe ID of the check to retrieve.
Options:
OptionRequiredDescription
--result, -r-Show details for a specific result ID.
--error-group, -e-Show full details for a specific error group ID.
--results-limit-Number of recent results to show. Default: 10.
--results-cursor-Cursor for results pagination (from previous output).
--stats-range-Time range for stats: last24Hours, last7Days, last30Days, thisWeek, thisMonth, lastWeek, lastMonth. Default: last24Hours.
--group-by-Group stats by dimension: location or statusCode.
--metrics-Comma-separated list of metrics to show (overrides defaults).
--filter-status-Only include runs with this status in stats: success or failure.
--output, -o-Output format: detail, json, or md. Default: detail.

Get Options

--result, -r
string
Drill into a specific check result by its result ID. Shows detailed information including logs and timing data.Usage:
Terminal
--error-group, -e
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.
--results-limit
number
default:"10"
Number of recent results to display.Usage:
Terminal
--results-cursor
string
Cursor for paginating through results. The cursor value is provided in the output of a previous checks get command.Usage:
Terminal
--stats-range
string
default:"last24Hours"
Time range for the analytics stats section. Available ranges: last24Hours, last7Days, last30Days, thisWeek, thisMonth, lastWeek, lastMonth.Usage:
Terminal
--group-by
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
--metrics
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:
MetricApplies toUnit
availabilityAll check types%
responseTime_avgAPI, Browser, Playwright, Multi-Step, URLms
responseTime_p50API, Browser, Playwright, Multi-Step, URLms
responseTime_p95API, Browser, Playwright, Multi-Step, URLms
responseTime_p99API, Browser, Playwright, Multi-Step, URLms
total_avgTCP, DNSms
total_p50TCP, DNSms
total_p95TCP, DNSms
total_p99TCP, DNSms
latencyAvg_avgICMPms
latencyAvg_p50ICMPms
latencyAvg_p95ICMPms
latencyAvg_p99ICMPms
packetLoss_avgICMP%
LCP_avgBrowser, Playwrightms
CLS_avgBrowser, Playwrightscore
TBT_avgBrowser, Playwrightms
Default metrics per check type:
Check typeDefault metrics
API, Multi-Step, URLavailability, responseTime_avg, responseTime_p50, responseTime_p95, responseTime_p99
Browser, Playwrightavailability, LCP_avg, CLS_avg, TBT_avg, responseTime_avg, responseTime_p95
TCP, DNSavailability, total_avg, total_p50, total_p95, total_p99
ICMPavailability, packetLoss_avg, latencyAvg_avg, latencyAvg_p50, latencyAvg_p95, latencyAvg_p99
Heartbeatavailability
Usage:
Terminal
--filter-status
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
--output, -o
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:
ArgumentDescription
checkIdsOne or more check IDs to get stats for. If omitted, stats are shown for all checks.
Options:
OptionRequiredDescription
--range, -r-Time range for stats: last24Hours, last7Days, thisWeek, lastWeek, lastMonth. Default: last24Hours.
--limit, -l-Number of checks to return (1-100). Default: 25.
--page, -p-Page number. Default: 1.
--search, -s-Filter checks by name (case-insensitive).
--tag, -t-Filter by tag. Can be specified multiple times.
--type-Filter by check type.
--output, -o-Output format: table, json, or md. Default: table.

Stats Options

--range, -r
string
default:"last24Hours"
Time range for the analytics stats. Available ranges: last24Hours, last7Days, thisWeek, lastWeek, lastMonth.Usage:
Terminal
--limit, -l
number
default:"25"
Number of checks to return per page, between 1 and 100.Usage:
Terminal
--page, -p
number
default:"1"
Page number for paginated results.Usage:
Terminal
--search, -s
string
Filter checks by name using a case-insensitive search.Usage:
Terminal
--tag, -t
string
Filter checks by tag. Specify multiple times to filter by multiple tags.Usage:
Terminal
--type
string
Filter checks by type. Available types: API, BROWSER, MULTI_STEP, HEARTBEAT, PLAYWRIGHT, TCP, DNS, ICMP, URL.Usage:
Terminal
--output, -o
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:
ArgumentDescription
idThe ID of the check to delete.
Options:
OptionRequiredDescription
--force, -f-Skip the confirmation prompt.
--dry-run-Preview what would happen without deleting the check.

Delete Options

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

Delete Examples

Terminal