omni config1234omni config list # List all config values omni config get <key> # Get a value omni config set <key> <val> # Set a value omni config unset <key> # Remove a value
12omni config set instance <id> # Set default instance omni config set format json # Default to JSON output
omni events123omni events list # List recent events omni events list --instance <id> --limit 50 # Filter by instance omni events search <query> # Search events by content
123omni events metrics # Processing metrics omni events analytics # Event analytics summary omni events timeline <person-id> # Event timeline for a person
1omni events replay # Start, list, or manage replay sessions
omni batch12345omni batch list # List batch jobs omni batch create [options] # Create a processing job omni batch status <job-id> # Check job status omni batch cancel <job-id> # Cancel a running job omni batch estimate [options] # Estimate scope and cost
omni prompts1234omni prompts list # List all prompts with override status omni prompts get <name> # Show current prompt (image|video|document|gate) omni prompts set <name> [value] # Set override (reads stdin for multiline) omni prompts reset <name> # Clear override, revert to default
omni journey12omni journey show <correlation-id> # Display journey timeline with timing bars omni journey summary # Aggregated journey metrics
omni turns1omni turns [command]
| Command | Description |
list | List turns with optional filters |
get <id> | Get a single turn by ID |
close <id> | Admin force-close a turn |
close-all | Bulk close all open turns (requires --confirm) |
stats | Show aggregate turn metrics |
omni turns list| Option | Description |
--status <status> | Filter by status: open, done, timeout |
--instance <id> | Filter by instance ID (aliases: --instance-ids, --instances) |
--chat <id> | Filter by chat ID |
--agent <id> | Filter by agent ID |
--limit <n> | Max results (default: 50) |
--offset <n> | Offset for pagination (default: 0) |
1omni turns list --status open --limit 20
omni turns get1omni turns get 7f3e1a2b-9c4d-4e5f-a6b7-8c9d0e1f2a3b
omni turns close| Option | Description |
--reason <text> | Close reason recorded with the turn |
1omni turns close 7f3e1a2b-9c4d-4e5f-a6b7-8c9d0e1f2a3b --reason "stuck on upstream timeout"
omni turns close-all--confirm flag — without it, the command exits with an error and takes no action.| Option | Description |
--confirm | Required. Confirm the bulk close. |
--reason <text> | Close reason recorded on every closed turn |
1omni turns close-all --confirm --reason "maintenance window"
omni turns stats1omni turns stats
omni replay1omni replay <instanceId> [options]
| Option | Description |
-s, --since <timestamp> | Replay messages received after this ISO 8601 timestamp (default: lastSeenAt, max 24h ago) |
12345# Replay missed messages since the agent's last seen time omni replay wa-main # Replay messages received after a specific timestamp omni replay wa-main --since 2026-02-27T10:00:00Z
omni auth1omni auth [command]
| Command | Description |
login | Save API credentials |
status | Show current authentication status |
logout | Clear stored credentials |
recover | Recover API key when keyValid shows no (requires local PM2 access) |
1234567891011# Save credentials omni auth login # Check current auth status omni auth status # Clear stored credentials omni auth logout # Recover a broken API key omni auth recover
omni settings123omni settings list [options] # List all server settings omni settings get <key> # Get a specific setting omni settings set [options] <key> <value> # Set a setting value
12345omni start # Start Omni services (API + NATS) omni stop # Stop services omni restart # Restart services omni status # API health and connection info omni update # Update CLI to latest version
omni --help output (visible via omni --help --all). They are useful for troubleshooting, inspecting internals, and automating shell setup.omni completions1omni completions [shell]
| Argument | Description |
shell | Shell type: bash, zsh, fish |
12omni completions bash >> ~/.bashrc omni completions zsh >> ~/.zshrc
omni dead-letters123456omni dead-letters list [options] # List dead letters omni dead-letters get <id> # Get dead letter details omni dead-letters stats # Dead letter statistics omni dead-letters retry <id> # Retry processing a dead letter omni dead-letters resolve [options] <id> # Mark as resolved omni dead-letters abandon <id> # Abandon retry attempts
omni logs1omni logs [options] [level]
| Argument | Description |
level | Log level filter: debug, info, warn, error |
| Option | Description |
--modules <modules> | Comma-separated module names to filter |
--limit <n> | Limit results (default: 100) |
--process [service] | Stream PM2 process logs (default: api) |
--follow | Stream live logs (only with --process) |
123omni logs error --limit 50 omni logs --process api --follow omni logs warn --modules webhook,agent
omni payloads12345omni payloads list <eventId> # List payloads for an event omni payloads get <eventId> <stage> # Get a specific stage omni payloads delete [options] <eventId> # Delete payloads for an event omni payloads config [options] [eventType] # View/update storage config omni payloads stats # Storage statistics
webhook_raw, agent_request, agent_response, channel_send, error.| Flag | Description |
--json | Output in JSON format |
--no-color | Disable colored output |
--json once via omni config set format json to avoid retyping it on every command — useful when wiring CLI output into scripts.omni payloads delete and omni config unset are destructive — payloads can't be recovered, and unsetting a config key reverts to defaults silently. There's no undo or audit log.