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

# tai interactions

> Stream and answer pending interactions.

Stream and answer pending interactions.

```console theme={null}
$ tai interactions [OPTIONS] COMMAND [ARGS]...
```

## `tai interactions answer`

Answer a pending interaction. The value is validated server-side.

Example: `tai interactions answer i_123 --answer '"yes"'`

```console theme={null}
$ tai interactions answer [OPTIONS] INTERACTION_ID
```

| Argument         | Description                  |
| ---------------- | ---------------------------- |
| `INTERACTION_ID` | Interaction id. *(required)* |

| Option                 | Description                                             |
| ---------------------- | ------------------------------------------------------- |
| `--answer` `TEXT`      | The answer value as JSON (a string, bool, object, ...). |
| `--json` / `--no-json` | Emit raw JSON instead of human tables.                  |

## `tai interactions list`

Print the pending-interaction backlog (the stream's initial frames), then exit.

Example: `tai interactions list`

```console theme={null}
$ tai interactions list [OPTIONS]
```

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |

## `tai interactions stream`

Tail the interactions inbox live (backlog then add/answered/removed events).

Example: `tai interactions stream`

```console theme={null}
$ tai interactions stream [OPTIONS]
```

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |
