
# tdx alert-channels

Alert destinations and Slack setup (dashboard only).

Alert channels, their delivery histories, the Slack app and Add to Slack are unavailable to this bearer-only CLI: every route is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Each command refuses with SESSION_REQUIRED before any request or credential read, --dry-run included; use the gateway dashboard.

Every command also takes the [global flags](/cli/reference#global-flags) and reads the [environment variables](/cli/reference#environment-variables) that the command reference lists once.

## Commands

| Command | Description | Type |
|---|---|---|
| [tdx alert-channels list](/cli/reference/alert-channels#tdx-alert-channels-list) | List alert channels (dashboard only). | Dashboard only |
| [tdx alert-channels view](/cli/reference/alert-channels#tdx-alert-channels-view) | Read an alert channel (dashboard only). | Dashboard only |
| [tdx alert-channels create](/cli/reference/alert-channels#tdx-alert-channels-create) | Create an alert channel (dashboard only). | Dashboard only |
| [tdx alert-channels edit](/cli/reference/alert-channels#tdx-alert-channels-edit) | Update an alert channel (dashboard only). | Dashboard only |
| [tdx alert-channels remove](/cli/reference/alert-channels#tdx-alert-channels-remove) | Remove an alert channel (dashboard only). | Dashboard only |
| [tdx alert-channels test](/cli/reference/alert-channels#tdx-alert-channels-test) | Send a test alert to a channel (dashboard only). | Dashboard only |
| [tdx alert-channels deliveries](/cli/reference/alert-channels#tdx-alert-channels-deliveries) | Read a channel's delivery history (dashboard only). | Dashboard only |
| [tdx alert-channels slack-app](/cli/reference/alert-channels#tdx-alert-channels-slack-app) | Manage the Slack app alert channels use (dashboard only). | Group |
| [tdx alert-channels slack-app set](/cli/reference/alert-channels#tdx-alert-channels-slack-app-set) | Connect or replace the Slack app (dashboard only). | Dashboard only |
| [tdx alert-channels slack-app remove](/cli/reference/alert-channels#tdx-alert-channels-slack-app-remove) | Disconnect the Slack app (dashboard only). | Dashboard only |
| [tdx alert-channels slack-install](/cli/reference/alert-channels#tdx-alert-channels-slack-install) | Add a Slack channel through Add to Slack (dashboard only). | Group |
| [tdx alert-channels slack-install start](/cli/reference/alert-channels#tdx-alert-channels-slack-install-start) | Start Add to Slack (dashboard only). | Dashboard only |
| [tdx alert-channels slack-install complete](/cli/reference/alert-channels#tdx-alert-channels-slack-install-complete) | Complete Add to Slack (dashboard only). | Dashboard only |
| [tdx alert-channels slack-install cancel](/cli/reference/alert-channels#tdx-alert-channels-slack-install-cancel) | Cancel Add to Slack (dashboard only). | Dashboard only |

## tdx alert-channels list

List alert channels (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: GET /control/v1/alert-channels is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# GET /control/v1/alert-channels
tdx alert-channels list [flags]
```

## tdx alert-channels view

Read an alert channel (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: GET /control/v1/alert-channels/:channelId is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# GET /control/v1/alert-channels/:channelId
tdx alert-channels view --id <string> [flags]
```

**Required flags**

| Flag | Type | Default | Description |
|---|---|---|---|
| `--id` | string |  | Public resource id; never a credential. |

## tdx alert-channels create

Create an alert channel (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: POST /control/v1/alert-channels is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# POST /control/v1/alert-channels
tdx alert-channels create [flags]
```

## tdx alert-channels edit

Update an alert channel (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: PATCH /control/v1/alert-channels/:channelId is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# PATCH /control/v1/alert-channels/:channelId
tdx alert-channels edit --id <string> [flags]
```

**Required flags**

| Flag | Type | Default | Description |
|---|---|---|---|
| `--id` | string |  | Public resource id; never a credential. |

## tdx alert-channels remove

Remove an alert channel (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: DELETE /control/v1/alert-channels/:channelId is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# DELETE /control/v1/alert-channels/:channelId
tdx alert-channels remove --id <string> [flags]
```

**Required flags**

| Flag | Type | Default | Description |
|---|---|---|---|
| `--id` | string |  | Public resource id; never a credential. |

## tdx alert-channels test

Send a test alert to a channel (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: POST /control/v1/alert-channels/:channelId/test is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# POST /control/v1/alert-channels/:channelId/test
tdx alert-channels test --id <string> [flags]
```

**Required flags**

| Flag | Type | Default | Description |
|---|---|---|---|
| `--id` | string |  | Public resource id; never a credential. |

## tdx alert-channels deliveries

Read a channel's delivery history (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: GET /control/v1/alert-channels/:channelId/deliveries is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# GET /control/v1/alert-channels/:channelId/deliveries
tdx alert-channels deliveries --id <string> [flags]
```

**Required flags**

| Flag | Type | Default | Description |
|---|---|---|---|
| `--id` | string |  | Public resource id; never a credential. |

## tdx alert-channels slack-app

Manage the Slack app alert channels use (dashboard only).

Unavailable to this bearer-only CLI: the Slack app routes are session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard.

## tdx alert-channels slack-app set

Connect or replace the Slack app (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: PUT /control/v1/alert-slack/app is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# PUT /control/v1/alert-slack/app
tdx alert-channels slack-app set [flags]
```

## tdx alert-channels slack-app remove

Disconnect the Slack app (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: DELETE /control/v1/alert-slack/app is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# DELETE /control/v1/alert-slack/app
tdx alert-channels slack-app remove [flags]
```

## tdx alert-channels slack-install

Add a Slack channel through Add to Slack (dashboard only).

Unavailable to this bearer-only CLI: the Add to Slack routes are session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard.

## tdx alert-channels slack-install start

Start Add to Slack (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: POST /control/v1/alert-slack/installs is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# POST /control/v1/alert-slack/installs
tdx alert-channels slack-install start [flags]
```

## tdx alert-channels slack-install complete

Complete Add to Slack (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: POST /control/v1/alert-slack/installs/complete is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# POST /control/v1/alert-slack/installs/complete
tdx alert-channels slack-install complete [flags]
```

## tdx alert-channels slack-install cancel

Cancel Add to Slack (dashboard only).

**Dashboard only.** The gateway serves this only to a signed-in dashboard session, so the CLI refuses it with `SESSION_REQUIRED`.

Unavailable to this bearer-only CLI: POST /control/v1/alert-slack/installs/cancel is session-only: the gateway serves it only to an interactive dashboard sign-in holding install-wide settings.manage, spend.read and budgets.read, and most changes also need a recent sign-in (step-up). Use the gateway dashboard. --dry-run also refuses: there is no reachable change to preview. No request is sent and no credential, profile or file is read. Destinations and Slack secrets are never accepted as command input.

```bash
# POST /control/v1/alert-slack/installs/cancel
tdx alert-channels slack-install cancel [flags]
```
