# alerts

> Every coline alerts command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/alerts

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Every `coline alerts` command, 28 in all.

## alerts addresses create

Makes (or returns) the place's one address. Paste the URL into any tool's webhook settings, or send mail to the email form. Use it when someone asks to send a tool's events somewhere ("send our deploys here", "post errors in this channel"), not a goal: hand them the URL and email to paste.

Set place with --json '\{…}' or --input.

```text
coline alerts addresses create [flags]
```

**Action** `alerts.addresses.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts addresses create -w acme
coline alerts addresses create -w acme --json '{"place":"…"}' --fields id
```

## alerts addresses get

Gets the address a channel, crew member, team or your Inbox receives events at: a URL any tool can POST to and an email address. Null when the place has none yet.

It changes nothing.

Set place with --json '\{…}' or --input.

```text
coline alerts addresses get [flags]
```

**Action** `alerts.addresses.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts addresses get -w acme
coline alerts addresses get -w acme --json '{"place":"…"}' --fields id
```

## alerts addresses list

Lists the workspace's addresses you can see, with where each lands and its senders.

It changes nothing.

```text
coline alerts addresses list [flags]
```

**Action** `alerts.addresses.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts addresses list -w acme
coline alerts addresses list -w acme --json '{}' --fields id
```

## alerts addresses update

Turns a place's address off (its URL answers 404 and mail bounces) or back on, or rotates it to a new URL and email.

```text
coline alerts addresses update [flags]
```

**Action** `alerts.addresses.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--address-id <id>` | Required.                                          |
| `--status <text>`   | One of `active`, `off`.                            |
| `--rotate`          |                                                    |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts addresses update -w acme --address-id <address-id>
coline alerts addresses update -w acme --json '{"addressId":"<address-id>"}' --fields id
```

## alerts cards act

Resolved, Not a problem, Quiet these (mutes the kind), Assign to me, Make a task, Look again (the crew member looks once more), Handled (clears it from Needs you), Reopen, or Open fix in Code.

```text
coline alerts cards act [flags]
```

**Action** `alerts.cards.act` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                                                                                                                 |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `--card-id <id>`  | Required.                                                                                                                                    |
| `--action <text>` | Required. One of `resolved`, `not_a_problem`, `quiet`, `assign_to_me`, `make_task`, `look_again`, `handled`, `reopen`, `opened`, `open_fix`. |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                                                                                           |

```bash
coline alerts cards act -w acme --card-id <card-id> --action resolved
coline alerts cards act -w acme --json '{"cardId":"<card-id>","action":"resolved"}' --fields id
```

## alerts cards get

A card with its timeline of events and how its level was decided.

It changes nothing.

```text
coline alerts cards get [flags]
```

**Action** `alerts.cards.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--card-id <id>` | Required.                                          |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts cards get -w acme --card-id <card-id>
coline alerts cards get -w acme --json '{"cardId":"<card-id>"}' --fields id
```

## alerts cards list

Lists cards (one per thing going on at a connected tool) in places you can see. Filter by address, sender, state or level; needsMe lists the ones waiting on you.

It changes nothing.

```text
coline alerts cards list [flags]
```

**Action** `alerts.cards.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--address-id <id>`    |                                                    |
| `--sender-id <id>`     |                                                    |
| `--state <text>`       | Default open. One of `open`, `closed`, `all`.      |
| `--min-level <number>` |                                                    |
| `--needs-me`           |                                                    |
| `--since <text>`       |                                                    |
| `--limit <number>`     | Default 30.                                        |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts cards list -w acme
coline alerts cards list -w acme --json '{}' --fields id
```

## alerts events file

Files something seen on a service's screen (or anywhere with no other way to send) as an event into a place, so it becomes a card like any other.

Set place with --json '\{…}' or --input.

```text
coline alerts events file [flags]
```

**Action** `alerts.events.file` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                           |
| ------------------- | ------------------------------------------------------ |
| `--sender <text>`   | The service it came from, as people call it. Required. |
| `--title <text>`    | Required.                                              |
| `--text <text>`     |                                                        |
| `--link <text>`     |                                                        |
| `--state <text>`    |                                                        |
| `--severity <text>` | One of `info`, `warning`, `error`, `critical`.         |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.     |

```bash
coline alerts events file -w acme --sender "…" --title "…"
coline alerts events file -w acme --json '{"place":"…","sender":"…","title":"…"}' --fields id
```

## alerts events list

Events tools sent, quiet ones included: 'what deployed today?'. Filter by sender, address, card, time or words.

It changes nothing.

```text
coline alerts events list [flags]
```

**Action** `alerts.events.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--sender-id <id>`  |                                                    |
| `--address-id <id>` |                                                    |
| `--card-id <id>`    |                                                    |
| `--since <text>`    |                                                    |
| `--query <text>`    |                                                    |
| `--limit <number>`  | Default 50.                                        |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts events list -w acme
coline alerts events list -w acme --json '{}' --fields id
```

## alerts events raw

The raw content of one event, kept for 30 days, with secrets removed.

It changes nothing.

```text
coline alerts events raw [flags]
```

**Action** `alerts.events.raw` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Required.                                          |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts events raw -w acme --event-id <event-id>
coline alerts events raw -w acme --json '{"eventId":"<event-id>"}' --fields id
```

## alerts kinds update

Undo for a kind of event that dropped to the daily digest because nobody acted on it, or send a kind to the digest.

```text
coline alerts kinds update [flags]
```

**Action** `alerts.kinds.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--sender-id <id>` | Required.                                          |
| `--kind <text>`    | Required.                                          |
| `--digest`         | Required.                                          |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts kinds update -w acme --sender-id <sender-id> --kind "…" --digest
coline alerts kinds update -w acme --json '{"senderId":"<sender-id>","kind":"…","digest":"true"}' --fields id
```

## alerts mail route

From now on, mail from this sender (an address or @domain) to this mailbox also goes to a place as events. It still shows in Mail.

Set place with --json '\{…}' or --input.

```text
coline alerts mail route [flags]
```

**Action** `alerts.mail.route` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--mailbox-id <id>` | Required.                                          |
| `--sender <text>`   | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts mail route -w acme --mailbox-id <mailbox-id> --sender "…"
coline alerts mail route -w acme --json '{"mailboxId":"<mailbox-id>","sender":"…","place":"…"}' --fields id
```

## alerts mcp list

The events a connected MCP server offers, in plain words.

It changes nothing.

```text
coline alerts mcp list [flags]
```

**Action** `alerts.mcp.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--connection-id <id>` | Required.                                          |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts mcp list -w acme --connection-id <connection-id>
coline alerts mcp list -w acme --json '{"connectionId":"<connection-id>"}' --fields id
```

## alerts mcp subscribe

Subscribes a place's address to one event a connected MCP server offers, with a signing secret. Coline renews it before it expires.

Set place with --json '\{…}' or --input.

```text
coline alerts mcp subscribe [flags]
```

**Action** `alerts.mcp.subscribe` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--connection-id <id>` | Required.                                          |
| `--event-name <text>`  | Required.                                          |
| `--description <text>` |                                                    |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts mcp subscribe -w acme --connection-id <connection-id> --event-name "…"
coline alerts mcp subscribe -w acme --json '{"place":"…","connectionId":"<connection-id>","eventName":"…"}' --fields id
```

## alerts mcp unsubscribe

Ends a subscription to an MCP server's event.

It removes or overwrites something, so it runs only with --confirm.

```text
coline alerts mcp unsubscribe [flags]
```

**Action** `alerts.mcp.unsubscribe` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                     | What it does                                       |
| ------------------------ | -------------------------------------------------- |
| `--subscription-id <id>` | Required.                                          |
| `--input <file>`         | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts mcp unsubscribe -w acme --subscription-id <subscription-id> --confirm
coline alerts mcp unsubscribe -w acme --json '{"subscriptionId":"<subscription-id>"}' --fields id --confirm
```

## alerts rules add

A rule in plain words, stored as written and given to the decision with every event: 'don't tell me about preview deploys', 'wake me if checkout breaks', 'ignore these until Monday'. personal: true makes it yours only.

```text
coline alerts rules add [flags]
```

**Action** `alerts.rules.add` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--address-id <id>` |                                                    |
| `--sender-id <id>`  |                                                    |
| `--personal`        | Default false.                                     |
| `--text <text>`     | Required.                                          |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts rules add -w acme --text "…"
coline alerts rules add -w acme --json '{"text":"…"}' --fields id
```

## alerts rules list

Rules in plain words for a place, a sender, or your own.

It changes nothing.

```text
coline alerts rules list [flags]
```

**Action** `alerts.rules.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--address-id <id>` |                                                    |
| `--sender-id <id>`  |                                                    |
| `--mine`            |                                                    |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts rules list -w acme
coline alerts rules list -w acme --json '{}' --fields id
```

## alerts rules remove

Removes a rule.

It removes or overwrites something, so it runs only with --confirm.

```text
coline alerts rules remove [flags]
```

**Action** `alerts.rules.remove` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--rule-id <id>` | Required.                                          |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts rules remove -w acme --rule-id <rule-id> --confirm
coline alerts rules remove -w acme --json '{"ruleId":"<rule-id>"}' --fields id --confirm
```

## alerts senders get

A sender's page: what it is, whether it's verified, what it sent, what was shown and what stayed quiet and why, the rules that apply.

It changes nothing.

```text
coline alerts senders get [flags]
```

**Action** `alerts.senders.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--sender-id <id>` | Required.                                          |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts senders get -w acme --sender-id <sender-id>
coline alerts senders get -w acme --json '{"senderId":"<sender-id>"}' --fields id
```

## alerts senders list

Lists the tools that sent events to addresses you can see: what each is, whether it's verified, how much it sent.

It changes nothing.

```text
coline alerts senders list [flags]
```

**Action** `alerts.senders.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag                | What it does                                       |
| ------------------- | -------------------------------------------------- |
| `--address-id <id>` |                                                    |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts senders list -w acme
coline alerts senders list -w acme --json '{}' --fields id
```

## alerts senders update

Mutes a sender (its cards stay quiet), turns it off (its events are ignored) or on, renames it, sets how often it should send (a card opens when it goes quiet), or changes what its cards show.

```text
coline alerts senders update [flags]
```

**Action** `alerts.senders.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                              | What it does                                                                 |
| --------------------------------- | ---------------------------------------------------------------------------- |
| `--sender-id <id>`                | Required.                                                                    |
| `--status <text>`                 | One of `active`, `muted`, `off`.                                             |
| `--name <text>`                   |                                                                              |
| `--expect-every-minutes <number>` | Expected minutes between events; null forgets it.                            |
| `--show <text>`                   | What the cards should show, in plain words, e.g. 'show the branch name too'. |
| `--signing-secret <text>`         | Only from the sender page; never pass one in chat.                           |
| `--input <file>`                  | Read the input as JSON from a file; - reads stdin.                           |

```bash
coline alerts senders update -w acme --sender-id <sender-id>
coline alerts senders update -w acme --json '{"senderId":"<sender-id>"}' --fields id
```

## alerts settings get

Whether an interrupt may break your quiet hours.

It changes nothing.

```text
coline alerts settings get [flags]
```

**Action** `alerts.settings.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts settings get -w acme
coline alerts settings get -w acme --json '{}' --fields id
```

## alerts settings update

Turns off (or on) interrupts breaking your quiet hours.

```text
coline alerts settings update [flags]
```

**Action** `alerts.settings.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                             | What it does                                       |
| -------------------------------- | -------------------------------------------------- |
| `--interrupts-break-quiet-hours` | Required.                                          |
| `--input <file>`                 | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts settings update -w acme --interrupts-break-quiet-hours
coline alerts settings update -w acme --json '{"interruptsBreakQuietHours":"true"}' --fields id
```

## alerts sources add

Sends an existing connection's events or an Upstream repository's events to a place, without pasting anything.

Set place with --json '\{…}' or --input.

```text
coline alerts sources add [flags]
```

**Action** `alerts.sources.add` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--kind <text>`  | Required. One of `connection`, `repository`.       |
| `--ref <text>`   | The connection id or repository id. Required.      |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts sources add -w acme --kind connection --ref "…"
coline alerts sources add -w acme --json '{"place":"…","kind":"connection","ref":"…"}' --fields id
```

## alerts sources remove

Stops sending a connection's, repository's or mail sender's events to a place.

It removes or overwrites something, so it runs only with --confirm.

```text
coline alerts sources remove [flags]
```

**Action** `alerts.sources.remove` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--source-id <id>` | Required.                                          |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts sources remove -w acme --source-id <source-id> --confirm
coline alerts sources remove -w acme --json '{"sourceId":"<source-id>"}' --fields id --confirm
```

## alerts watches create

For a service with an API, feed, status page or plain URL but no webhooks: what to fetch, how to tell new items from old, how often (5 minutes at most). New items become events in the place. Runs with no model call.

Set place with --json '\{…}' or --input.

```text
coline alerts watches create [flags]
```

**Action** `alerts.watches.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                          | What it does                                                         |
| ----------------------------- | -------------------------------------------------------------------- |
| `--name <text>`               | Required.                                                            |
| `--url <text>`                | Required.                                                            |
| `--format <text>`             | Required. One of `json`, `feed`, `page`.                             |
| `--items-path <text>`         | For json: the dotted path of the list of items.                      |
| `--id-paths <list>`           | Paths that make an item's identity.                                  |
| `--interval-minutes <number>` | Default 15.                                                          |
| `--connection-id <id>`        | Use a connected service's access, only on that service's own domain. |
| `--input <file>`              | Read the input as JSON from a file; - reads stdin.                   |

```bash
coline alerts watches create -w acme --name "…" --url "…" --format json
coline alerts watches create -w acme --json '{"place":"…","name":"…","url":"…","format":"json"}' --fields id
```

## alerts watches remove

Stops and removes a watch.

It removes or overwrites something, so it runs only with --confirm.

```text
coline alerts watches remove [flags]
```

**Action** `alerts.watches.remove` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--watch-id <id>` | Required.                                          |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline alerts watches remove -w acme --watch-id <watch-id> --confirm
coline alerts watches remove -w acme --json '{"watchId":"<watch-id>"}' --fields id --confirm
```

## alerts watches update

Pauses or resumes a watch, or changes how often it runs. A person (never a crew member) can use the corrected watch a crew member proposed after it broke.

```text
coline alerts watches update [flags]
```

**Action** `alerts.watches.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                          | What it does                                                 |
| ----------------------------- | ------------------------------------------------------------ |
| `--watch-id <id>`             | Required.                                                    |
| `--status <text>`             | One of `active`, `paused`.                                   |
| `--interval-minutes <number>` |                                                              |
| `--use-proposal`              | Replace the watch with its proposed correction. People only. |
| `--input <file>`              | Read the input as JSON from a file; - reads stdin.           |

```bash
coline alerts watches update -w acme --watch-id <watch-id>
coline alerts watches update -w acme --json '{"watchId":"<watch-id>"}' --fields id
```
