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

# happy incidents

List, get, create, update, and resolve incidents from the CLI.

# happy incidents

```bash
happy incidents list                              # active + recent
happy incidents list --all                        # include resolved
happy incidents get <id-or-title>
happy incidents create --title "..."
happy incidents update <id> --status identified --message "..."
happy incidents resolve <id> [--message "..."]
```

## list

```bash
happy incidents list
happy incidents list --status investigating
happy incidents list --json
```

## create

```bash
happy incidents create \
  --title "API returning 500s" \
  --severity major \
  --message "Investigating elevated error rates"
```

## update

```bash
happy incidents update inc_abc123 \
  --status identified \
  --message "Root caused to a bad deploy. Rolling back."
```

| Status | Meaning |
|---|---|
| `investigating` | Just opened (default) |
| `identified` | Cause known, fix in progress |
| `monitoring` | Fix deployed, watching for recurrence |
| `resolved` | Fully restored |

## resolve

```bash
happy incidents resolve inc_abc123
happy incidents resolve inc_abc123 --message "Restored at 14:23 UTC"
```

Sets status to `resolved`, fills `resolved_at`, posts a final timeline update.