check tail Command
pakyas check tail prints a check’s recent timeline events (runs, status changes, alert decisions) and can keep polling for new ones, like tail -f.
pakyas check tail <CHECK> [FLAGS]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
CHECK | Check slug, check ID, or public ID |
| Flag | Description |
|---|---|
--since <TIME> | Only events since this time (default 30m). A duration (45s, 30m, 1h, 2d, 1w) or an RFC 3339 timestamp (2026-11-01T00:00:00Z). |
--types <TYPES> | Comma-separated event types: signal, state, alert |
-f, --follow | Keep polling for new events (every 2 seconds) |
--limit <N> | Number of events fetched per request (default 50, server maximum 200) |
The global --format and --display-tz flags also apply (see below).
Event Types
Section titled “Event Types”| Type | Events | Description |
|---|---|---|
signal | run_started, run_finished | Pings from your job |
state | status_changed | Status transitions (for example up to down) |
alert | alert_decision | Whether an alert was sent or suppressed |
Output
Section titled “Output”Events are printed oldest first. Each line shows the time as HH:MM:SS in the --display-tz timezone (local by default; UTC times end in Z), a symbol, the event type, and a summary:
TAIL "Nightly Backup" since=1h
02:00:01 > signal Run started02:04:37 V signal Run success (276012ms)| Symbol | --plain | Meaning |
|---|---|---|
> | [START] | Run started |
V | [OK] | Run succeeded |
X | [FAIL] | Run failed |
! / V / * | [STATE] | Status changed (to a bad state, back to up, other) |
W / o | [ALERT] | Alert sent / alert suppressed |
In follow mode the header line is omitted, and if there are no events yet, (no events in time range, waiting...) is printed to stderr.
JSON Output
Section titled “JSON Output”| Mode | --format json | --format ndjson |
|---|---|---|
Without -f | One JSON array | One object per line |
With -f | One object per line (an array can’t be closed while following) | One object per line |
Each event has these fields:
{ "id": 48213, "event_type": "run_finished", "occurred_at": "2026-11-07T10:04:37Z", "effective_at": null, "source": "queueproc", "payload": {}, "from_status": null, "to_status": null, "summary": "Run success (276012ms)"}from_status and to_status are set for status_changed events. The payload contents depend on the event type.
Examples
Section titled “Examples”# Last 30 minutespakyas check tail backup-nightly
# Last 2 days, signals onlypakyas check tail backup-nightly --since 2d --types signal
# Since a specific timepakyas check tail backup-nightly --since 2026-11-01T00:00:00Z
# Follow state changes and alerts, with UTC timespakyas check tail backup-nightly -f --types state,alert --display-tz utc
# All events in the window as one JSON arraypakyas check tail backup-nightly --format json | jq '.[].event_type'
# Stream alert decisions as they happenpakyas check tail backup-nightly -f --format json \ | jq -c 'select(.event_type == "alert_decision")'
# Append events to a log filepakyas check tail backup-nightly -f --format ndjson >> /var/log/pakyas-events.logSee Also
Section titled “See Also”- check inspect - Current state and configuration
- check doctor - Diagnose problems
- check - Other check commands