Skip to content

check inspect Command

pakyas check inspect shows a check’s current state, schedule, last signal, alerting settings, and 24-hour stats in one view.

Terminal window
pakyas check inspect <CHECK>
ArgumentDescription
CHECKCheck slug, check ID, or public ID

With the global --format json, the full response is printed as JSON. Any other format prints the human view. Timestamps follow --display-tz (local or utc) and --time (relative, absolute, or both).

SectionInformation
CHECK / URLFirst 8 characters of the check ID, name, ping URL
STATECurrent status, since when, critical flag and reason
SCHEDULEKind (cron or simple), cron expression and timezone or interval, grace period
LAST SIGNALTime, type (success, fail, start), duration, source IP
ALERTINGEnabled, thresholds, consecutive misses and failures, recipient count
MAINTENANCEShown only while a maintenance window is active
STATS (24h)Success rate, ping count, p95 duration
Terminal window
pakyas check inspect backup-nightly --display-tz utc
CHECK 1b4e28ba "Nightly Backup"
URL https://ping.pakyas.com/550e8400-e29b-41d4-a716-446655440000
STATE
now up
since 2026-11-07 10:04:37 UTC (7h ago)
SCHEDULE
kind cron
cron 0 2 * * *
timezone America/Los_Angeles
grace 1h
LAST SIGNAL
at 2026-11-07 10:04:37 UTC (7h ago)
status success
latency 276012ms
source 203.0.113.10
ALERTING
enabled yes
thresholds 1 misses, 1 fails before alert
consecutive 0 misses, 0 fails
recipients 2
STATS (24h)
success 100.0%
pings 2
p95 latency 276012ms

A critical check also shows critical yes (<reason>) under STATE.

Terminal window
pakyas check inspect backup-nightly --format json
{
"check_id": "1b4e28ba-2fa1-41d2-883f-0016d3cca427",
"public_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Nightly Backup",
"slug": "backup-nightly",
"ping_url": "https://ping.pakyas.com/550e8400-e29b-41d4-a716-446655440000",
"project_name": "Production",
"status": "up",
"status_since": "2026-11-07T10:04:37Z",
"is_critical": false,
"critical_reason": null,
"schedule": {
"kind": "cron",
"period_seconds": 86400,
"cron_expression": "0 2 * * *",
"missing_after_seconds": 3600,
"timezone": "America/Los_Angeles"
},
"last_signal": {
"signal_type": "success",
"at": "2026-11-07T10:04:37Z",
"duration_ms": 276012,
"source_ip": "203.0.113.10"
},
"alerting": {
"enabled": true,
"alert_after_miss_pings": 1,
"alert_after_fail_pings": 1,
"consecutive_missed_pings": 0,
"consecutive_fail_pings": 0,
"recipient_count": 2
},
"maintenance": {
"in_maintenance": false,
"reason": null,
"ends_at": null
},
"stats": {
"success_rate_24h": 1.0,
"total_pings_24h": 2,
"p95_duration_ms": 276012
}
}

last_signal is null when the check has never received a ping. success_rate_24h is a fraction between 0 and 1.

Terminal window
# Current status
pakyas check inspect backup-nightly --format json | jq -r '.status'
# Consecutive missed pings
pakyas check inspect backup-nightly --format json | jq '.alerting.consecutive_missed_pings'