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

# queues command — snapshot review and takedown queues

> Snapshot ChainPatrol's pending review proposals and open takedowns for one organization or across all of them, with configurable staleness windows.

```bash theme={null}
chainpatrol queues snapshot [--org <slug>|--all] [--window-hours <n>]
```

## queues snapshot

Snapshot the operational queues — pending review proposals and open takedowns — so you can
see what is waiting and how long it has been waiting.

| Option | Description |
| - | - |
| `--org <slug>` | Organization slug. |
| `--all` | Every organization. Staff-only. |
| `--window-hours <n>` | Hours used for the staleness windows. |

```bash theme={null}
# one organization
chainpatrol queues snapshot --org acme

# everything, over the last week, as a table to paste into a doc
chainpatrol queues snapshot --all --window-hours 168 --output markdown

# for a spreadsheet
chainpatrol queues snapshot --all --output csv > queues.csv

# with the reasoning behind each flag
chainpatrol queues snapshot --org acme --explain
```

> [!NOTE]
>
> `--all` requires staff credentials. With a customer credential it fails with [exit code
> `5`](https://chainpatrol.com/docs/cli/output#exit-codes).

## Related

* [`GET /operations/queues/snapshot`](https://chainpatrol.com/docs/external-api/operations-queues-snapshot)
* [`healthchecks run`](https://chainpatrol.com/docs/cli/commands/healthchecks) to turn these counts into pass/fail gates
* [`takedowns list`](https://chainpatrol.com/docs/cli/commands/takedowns) for the individual records behind the counts


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.