# `jadpo privacy`

List data requests.

Lists the data requests people have made (area 15): `requests` shows those still to finish, the nearest legal deadline first, 20 a page, with what was asked, how it started and how it stands. --state lists those in one state and --all every request, newest first. An alert says how many are past their deadline or within a week of it. It shows no address, only each request's id. The database is the one the store's connection's setting gives, or a running jadpo dev's, or the one --url names. Times are in UTC.

```text
jadpo privacy [action]
```

## Arguments

- `action` (optional): What to do: requests

## Flags

- `--state <state>`: List those in this state instead
- `--all`: List every request, newest first
- `--page <n>`: Which page of the list, from 1
- `--url <url>`: The database the requests are in

## On every command

- `--json`: Print data for tools instead of text
- `--full`: Show everything a report shortens
- `--help`: Show every flag, with examples
- `--color <when>`: Choose when to use colour

`jadpo privacy --json` writes one JSON document to standard output instead of text, with the same exit code. The document has `schemaVersion`, `command` (`"privacy"`), `ok`, `data` (what the command produced, `null` when it failed) and `diagnostics` (each error with its `rule`, `reason`, `next` and `help`). A command that needs a terminal refuses `--json` and names the flags that do the same job.

## Examples

```text
# See what is still to finish, and how close its deadline is
jadpo privacy requests
# See every erasure a provider has held up
jadpo privacy requests --state stalled
```

## Errors

- [`cli.privacy_arguments`](/docs/errors/cli.privacy_arguments.md): A `jadpo privacy` command names an action it doesn't have, or a state or page `requests` doesn't list
- [`privacy.unavailable`](/docs/errors/privacy.unavailable.md): The app's data requests couldn't be read from their database, because it can't be reached or has no table for them yet
- [`toolchain.project_not_found`](/docs/errors/toolchain.project_not_found.md): You ran a command that works on a project in a folder with no `app.jadpo`, in it or in any folder above it
