---
title: "List all app alerts"
method: GET
path: "/v2/apps/{app_id}/alerts"
tags: ["DigitalOcean-public.v2-new_Apps"]
---

# List all app alerts

`GET /v2/apps/{app_id}/alerts`

List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions.

## Path parameters

- `app_id` string, required

## Response `200`

A JSON object with a `alerts` key. This is list of object `alerts`.

- AppsListAlertsResponse
  - `alerts` AppAlert[]
    - `id` string
    - `component_name` string
    - `spec` AppAlertSpec
      - `rule` 'UNSPECIFIED_RULE' | 'CPU_UTILIZATION' | 'MEM_UTILIZATION' | 'RESTART_COUNT' | 'DEPLOYMENT_FAILED' | 'DEPLOYMENT_LIVE' | 'DOMAIN_FAILED' | 'DOMAIN_LIVE' | 'AUTOSCALE_FAILED' | 'AUTOSCALE_SUCCEEDED' | 'FUNCTIONS_ACTIVATION_COUNT' | 'FUNCTIONS_AVERAGE_DURATION_MS' | 'FUNCTIONS_ERROR_RATE_PER_MINUTE' | 'FUNCTIONS_AVERAGE_WAIT_TIME_MS' | 'FUNCTIONS_ERROR_COUNT' | 'FUNCTIONS_GB_RATE_PER_SECOND'
      - `disabled` boolean — Is the alert disabled?
      - `operator` 'UNSPECIFIED_OPERATOR' | 'GREATER_THAN' | 'LESS_THAN'
      - `value` number, float — Threshold value for alert
      - `window` 'UNSPECIFIED_WINDOW' | 'FIVE_MINUTES' | 'TEN_MINUTES' | 'THIRTY_MINUTES' | 'ONE_HOUR'
    - `emails` AppAlertEmail[]
    - `slack_webhooks` AppAlertSlackWebhook[]
      - `url` string
      - `channel` string
    - `phase` 'UNKNOWN' | 'PENDING' | 'CONFIGURING' | 'ACTIVE' | 'ERROR'
    - `progress` AppAlertProgress
      - `steps` AppAlertProgressStep[]
        - `name` string
        - `status` 'UNKNOWN' | 'PENDING' | 'RUNNING' | 'ERROR' | 'SUCCESS'
        - `started_at` string, date-time
        - `ended_at` string, date-time
        - `reason` AppAlertProgressStepReason
          - `code` string
          - `message` string

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
