# kindgi expert-queue

> A project's To review list — the runs a rule puts up for a person's correction, open or closed (list / dismiss / reopen)

## `kindgi expert-queue`

**Synopsis**

```sh signature
kindgi expert-queue <command>
```

A project's To review list — the runs a rule puts up for a person's correction, open or closed (list / dismiss / reopen).

**Commands**

| Command                                                                                                            | Description                                                         |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [`kindgi expert-queue list`](https://docs.kindgi.com/reference/cli/expert-queue.md#kindgi-expert-queue-list)       | List the runs in the project’s To review list, oldest first.        |
| [`kindgi expert-queue dismiss`](https://docs.kindgi.com/reference/cli/expert-queue.md#kindgi-expert-queue-dismiss) | Dismiss a queued run so it needs no correction; `reopen` undoes it. |
| [`kindgi expert-queue reopen`](https://docs.kindgi.com/reference/cli/expert-queue.md#kindgi-expert-queue-reopen)   | Reopen a dismissed item, so it waits for a correction again.        |

**See also**

- [Correct a run's output](https://docs.kindgi.com/guides/improve/correct-a-runs-output.md)
- [Corrections reference](https://docs.kindgi.com/guides/improve/expert-queue-reference.md)

### `kindgi expert-queue list`

**Synopsis**

```sh signature
kindgi expert-queue list [--project=<id>] [--state=open|corrected|dismissed|erased] [--agent=<id>] [--rule=<id>] [--group=<id>] [--for-me] [--added-after=<time>] [--closed-after=<time>] [--limit=<n>] [--cursor=<c>]
```

List the runs in the project’s To review list, oldest first.

**Options**

| Option                   | Default                         | Description                                                                        |
| ------------------------ | ------------------------------- | ---------------------------------------------------------------------------------- |
| `--added-after <value>`  | none                            | Only items queued after this time (an ISO 8601 time with a zone, or a date).       |
| `--agent <value>`        | none                            | Only runs of this agent.                                                           |
| `--closed-after <value>` | none                            | Only items closed after this time (an ISO 8601 time with a zone, or a date).       |
| `--cursor <value>`       | none                            | Resume after this cursor, from the previous page's `nextCursor`.                   |
| `--for-me`               | off                             | Only items a correction of mine would close (any correction, or one of my groups). |
| `--group <value>`        | none                            | Only items wanting this corrector group.                                           |
| `--limit <value>`        | `25` (at most `100`)            | The most items to return; `0` for the total alone.                                 |
| `--project <value>`      | the workspace's default project | The project whose queue to act on. Without it, the workspace's default project.    |
| `--rule <value>`         | none                            | Only runs a given rule queued.                                                     |
| `--state <value>`        | none (every state)              | Only items in this state: `open`, `corrected`, `dismissed` or `erased`.            |

Every command also takes the [global flags](https://docs.kindgi.com/reference/cli.md#global-flags).

**Examples**

List the runs waiting for a correction, as a table.

```sh
kindgi expert-queue list --state=open --table
```

List the open items one of your corrections would close.

```sh
kindgi expert-queue list --state=open --for-me
```

**See also**

- [Correct a run's output](https://docs.kindgi.com/guides/improve/correct-a-runs-output.md)
- [Corrections reference](https://docs.kindgi.com/guides/improve/expert-queue-reference.md)
- [`kindgi expert-queue`](https://docs.kindgi.com/reference/cli/expert-queue.md#kindgi-expert-queue)

### `kindgi expert-queue dismiss`

**Synopsis**

```sh signature
kindgi expert-queue dismiss <run-id> [--project=<id>] [--reason=<text>]
```

Dismiss a queued run so it needs no correction; `reopen` undoes it.

**Options**

| Option              | Default                         | Description                                                                     |
| ------------------- | ------------------------------- | ------------------------------------------------------------------------------- |
| `--project <value>` | the workspace's default project | The project whose queue to act on. Without it, the workspace's default project. |
| `--reason <value>`  | none                            | Why, recorded with the item.                                                    |

Every command also takes the [global flags](https://docs.kindgi.com/reference/cli.md#global-flags).

**Examples**

Dismiss a queued run that needs no correction.

```sh
kindgi expert-queue dismiss <run-id> --reason="not a refund"
```

**See also**

- [Correct a run's output](https://docs.kindgi.com/guides/improve/correct-a-runs-output.md)
- [Corrections reference](https://docs.kindgi.com/guides/improve/expert-queue-reference.md)
- [`kindgi expert-queue`](https://docs.kindgi.com/reference/cli/expert-queue.md#kindgi-expert-queue)

### `kindgi expert-queue reopen`

**Synopsis**

```sh signature
kindgi expert-queue reopen <run-id> [--project=<id>]
```

Reopen a dismissed item, so it waits for a correction again.

**Options**

| Option              | Default                         | Description                                                                     |
| ------------------- | ------------------------------- | ------------------------------------------------------------------------------- |
| `--project <value>` | the workspace's default project | The project whose queue to act on. Without it, the workspace's default project. |

Every command also takes the [global flags](https://docs.kindgi.com/reference/cli.md#global-flags).

**Examples**

Reopen a dismissed item so it waits for a correction again.

```sh
kindgi expert-queue reopen <run-id>
```

**See also**

- [Correct a run's output](https://docs.kindgi.com/guides/improve/correct-a-runs-output.md)
- [Corrections reference](https://docs.kindgi.com/guides/improve/expert-queue-reference.md)
- [`kindgi expert-queue`](https://docs.kindgi.com/reference/cli/expert-queue.md#kindgi-expert-queue)
