# ormaos list

> Lists the recordings in .ormaos/, newest first, each with its state, how it ended, its counts and its command.

```text
ormaos list [-h] [--json] [--limit N] [--offset N]
```

| Argument | From the parser | Default |
|---|---|---|
| `--json` | print JSON on stdout. |  |
| `--limit N` | show at most N recordings (default 10) | `10` |
| `--offset N` | skip the N newest recordings. | `0` |

```console
$ ormaos list
3 recordings in .ormaos, newest first
r3  2026-11-27 12:00:00  complete  exit 0  …  1 process, 346 calls, 1 exception (0 swallowed), 218 io  python job.py
r2  2026-11-27 12:00:00  complete  exit 0  …  1 process, 322 calls, 7 exceptions (6 swallowed), 182 io  python job.py
r1  2026-11-27 12:00:00  complete  exit 0  …  1 process, 322 calls, 7 exceptions (6 swallowed), 182 io  python job.py
next: ormaos show r3 | ormaos show r2 | ormaos show r1 | ormaos diff r2 r3
```

Each recording has a state: `complete`, `incomplete` (a process ended without writing everything, or the run has no end record) or `in progress` (no end record yet, and its process is alive). A recording of a `with ormaos.record():` block says `record() block` where a run says its exit code:

```console
$ ormaos list
4 recordings in .ormaos, newest first
r4  2026-11-27 12:00:00  complete  record() block  …  1 process, 2 calls, 0 exceptions (0 swallowed)  /tmp/ormaos-docs-generate/venv/bin/python ipykernel_launcher
r3  2026-11-27 12:00:00  complete  record() block  …  1 process, 1 call, 0 exceptions (0 swallowed)  /tmp/ormaos-docs-generate/venv/bin/python ipykernel_launcher
r2  2026-11-27 12:00:00  complete  record() block  …  1 process, 1 call, 0 exceptions (0 swallowed)  /tmp/ormaos-docs-generate/venv/bin/python ipykernel_launcher
r1  2026-11-27 12:00:00  complete  record() block  …  1 process, 1 call, 1 exception (0 swallowed), 1 io  /tmp/ormaos-docs-generate/venv/bin/python ipykernel_launcher
next: ormaos show r4 | ormaos show r3 | ormaos show r2 | ormaos diff r3 r4
```

## Arguments

### `--limit N`

At most N recordings. Default 10.

### `--offset N`

Skips the N newest recordings.

### `--json`

Kind `list`. Schema: [/schemas/list.json](/schemas/list.json).

---

Source: https://docs.ormaos.com/python/reference/cli/list/ · ormaos 0.0.1 · ormaos-python 968f69776c · ormaos-examples 6e27be5922
