Overview
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
Call authenticated JSON endpoints without a dedicated command
Authentication and account management
Local CLI configuration, aliases
Discover what's installed across your harnesses (read-only)
Compare installed agent and component versions with the active registry
Backfill sessions missed by automatic telemetry delivery
Read and update the signed-in user's work and event feed
Install a published agent into a harness
Publish and manage components (MCP / skill / hook / prompt / sandbox)
Get personalized component recommendations
Publish and inspect component versions
Inspect packaged harness model catalogs
Create, install, and manage agents
Manage teamspaces, members, join requests, and invitations
Observability and operations (sessions, telemetry, logs, insights)
Core administration and submission review
Generate and inspect redacted diagnostic bundles
Diagnose harness compatibility; doctor patch applies instrumentation
Export/import PostgreSQL registry (shallow copy) and ClickHouse telemetry (deep copy)
Upgrade or downgrade the CLI
Manage reusable prompts in the registry
Manage the embedded server (start, stop, upgrade, rollback)
Submit, browse, and install portable skill packages
Global options
Any subcommand accepts these.
--version
-V
Print the CLI version and exit
--verbose
-v
Verbose output
--debug
-
Debug-level logging (extremely verbose)
--help
-
Show help for any command or subcommand
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:
0
Success
1
Unexpected or uncategorized failure
2
Usage error
3
Authentication required or failed
4
Permission denied
5
Resource not found
6
Conflict with current state
7
Validation failure
8
Rate limit reached
9
Network, service, or dependency unavailable
10
CLI and server version mismatch
Errors identify the failed operation, resource, remediation, and server request ID when available. Internal details appear only with --debug.
When JSON output is selected, errors are written to stderr as one JSON object and stdout remains clean:
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.
Last updated
Was this helpful?