Skip to main content
Complete reference for the observal CLI. Every subcommand has its own page; this overview is the index.
New to Observal? Start with Quickstart and come back here when you need a specific command.

Command groups

Global options

Any subcommand accepts these.

JSON list contract

Every dedicated list command returns the same envelope:
Paginated commands preserve server totals and requested pages. Unpaginated commands use page 1 and the returned item count as page_size. Detail and mutation commands return direct objects. observal api intentionally preserves raw endpoint JSON.

Exit codes

Consistent across all commands: Errors identify the failed operation, resource, remediation, and server request ID when available. Repairable failures may include a safe structured result; internal details appear only with --debug. When JSON output is selected, errors are written to stderr as one JSON object and stdout remains clean. Startup migrations and update notices never write to JSON stdout. A nonfatal startup migration warning is a structured warning object on stderr.

Non-interactive mode

For scripts and CI, pair flags with environment variables:
Full env var reference: Environment variables.

Output formats

Read-heavy commands (list, show, traces, spans) support --output:

Aliases

IDs get long fast. Create shortcuts:
See observal config for details.

Next

→ observal auth: you’ll need to log in first.