> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Output formats - Omni CLI

> How the Omni CLI chooses between human-readable and JSON output, and how to control it.

By default (`auto`), commands print human-readable tables and key-value summaries when connected to a terminal, and compact JSON when output is piped or redirected. Pass `--format` (or `-o`) to force one:

```bash theme={null}
omni models list --format human   # a table, even when piped
omni models list --format json    # JSON, even on a TTY
```

Set a profile's default with [`omni config set-format`](/developers/cli/commands/utility#set-format) so you don't have to pass `--format` every time. `--compact` (non-indented JSON) still applies in `json` mode.
