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

# OUTPUT FORMATS

> Output modes, and how to page through long result sets

## OUTPUT

Output determines the shape of the response each command gives.

It can be set in a profile using:

```bash theme={null}
config set output <MODE>
```

It can also be appended to any command, for example:

```bash theme={null}
oumi-cli datasets list --output json
```

It supports the following modes:

| Mode    | Description                                           |
| ------- | ----------------------------------------------------- |
| `json`  | One line of JSON. Useful for scripts and agents.      |
| `table` | A rendered human readable table.                      |
| `id`    | Resource identifier only. Useful for shell pipelines. |

## PAGINATION

| Option        | Default | Description                                            |
| ------------- | ------- | ------------------------------------------------------ |
| `--limit`     | 100     | Stop after at most this many items.                    |
| `--all`       |         | Fetch until results run out, bounded by `--max-items`. |
| `--max-items` | 10000   | Hard cap that applies with `--all`.                    |

Global flags and exit codes: [global options](/cli/commands/global-options).
