Skip to main content

System Commands

Commands for configuration, event querying, batch processing, prompt management, and diagnostics.

omni config

Manage CLI configuration — default instance, output format, API settings.
Common settings:

omni events

Query the event log — message history, analytics, and replay.

Analytics

Replay


omni batch

Batch processing for media transcription and text extraction at scale.

omni prompts

Manage LLM prompt overrides for media processing. Omni uses prompts for image description, video description, document extraction, and gating decisions.

omni journey

Message journey tracing — track a message through the full Omni pipeline for latency debugging.

omni turns

Admin turn management — inspect active conversation turns, force-close stuck turns, and view aggregate metrics.

Subcommands

omni turns list

List turns with optional filters.

omni turns get

Retrieve a single turn by its ID.

omni turns close

Admin force-close a turn that is stuck open.

omni turns close-all

Bulk close every open turn. This is a destructive admin action and requires the --confirm flag — without it, the command exits with an error and takes no action.

omni turns stats

Show aggregate turn metrics: open count, total count, average duration, and timeout rate.

omni replay

Replay missed messages for an agent instance. Useful for recovering messages that arrived while an agent was offline.

omni auth

Manage API authentication — login, check status, logout, and recover credentials.

Subcommands


omni settings

Server-level settings management.

Service Management

Start, stop, and restart the Omni server and NATS:

Advanced / Debugging

These commands are hidden from default omni --help output (visible via omni --help --all). They are useful for troubleshooting, inspecting internals, and automating shell setup.

omni completions

Generate shell completions for the Omni CLI.

omni dead-letters

Inspect and manage failed events that could not be processed.

omni logs

View system logs with module and level filtering.

omni payloads

Inspect raw event payloads at each processing stage — useful for debugging event pipeline issues.

Payload stages: webhook_raw, agent_request, agent_response, channel_send, error.

Global Flags

These flags work with any command:
Set --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.

See also

Server lifecycle

install, start, stop, restart, doctor, update.

Events & Analytics

Full reference for omni events list, stream, replay, analytics.

Debug

Step-by-step troubleshooting commands and recipes.

Webhooks

Configure outbound event delivery to external services.