Stream events in real-time (tail -f style). Polls the event bus and prints new events as they arrive. Ctrl+C to stop.
omni events stream [options]
Option
Description
--instance <id>
Filter by instance ID (aliases: --instance-ids, --instances)
--channel <type>
Filter by channel type
--type <type>
Filter by event type
--chat-id <id>
Filter by chat ID
--person-id <id>
Filter by person ID
--since <time>
Start cursor (e.g., 5min, 24h, 7d, or ISO timestamp)
--errors-only
Show only error/failure events
--all
Include noisy event types (presence, delivered, read, progress)
--ndjson
Emit JSON Lines (one event per line) — same as global --json in stream mode
--poll-ms <n>
Polling interval in milliseconds (default: 2000)
# Tail every event for one instanceomni events stream --instance my-whatsapp# Watch failures only across all instancesomni events stream --errors-only# Pipe to jq for ad-hoc filtersomni events stream --ndjson | jq 'select(.type == "message.received")'# Stream the last hour and continueomni events stream --since 1h
--ndjson is the right output mode for piping. The default human-readable stream renders ANSI colors and is hard to parse; --ndjson (or the global --json) emits one event per line, ready for jq / awk / your event-bus consumer.
Start, manage, or monitor event replay sessions. Replays re-process historical events through the automation pipeline.
omni events replay [options]
Option
Description
--start
Start a new replay session
--since <time>
Replay events since (required with --start)
--until <time>
Replay events until
--types <types>
Comma-separated event types to replay
--instance <id>
Filter by instance ID
--speed <n>
Speed multiplier
--dry-run
Dry run (don’t actually process)
--status <id>
Get status of a replay session
--cancel <id>
Cancel a replay session
# Start a replay of last 24h message eventsomni events replay --start --since 24h --types message.received# Dry run firstomni events replay --start --since 7d --dry-run# Replay at 5x speedomni events replay --start --since 24h --speed 5# Check replay statusomni events replay --status <session-id># Cancel a running replayomni events replay --cancel <session-id>
omni events replay --start re-runs every matching event through the live automation pipeline by default. Always run with --dry-run first on production instances — replays send real messages, call real webhooks, and can spam customers if filters are wrong.