---
title: "GET /v1/projects/{projectOrProductUID}/alerts"
method: GET
path: "/v1/projects/{projectOrProductUID}/alerts"
tags: ["alert"]
---

# GET /v1/projects/{projectOrProductUID}/alerts

`GET /v1/projects/{projectOrProductUID}/alerts`

Get list of defined Alerts

## Path parameters

- `projectOrProductUID` string, required

## Query parameters

- `pageSize` integer
- `pageNum` integer
- `monitorUID` string

## Response `200`

The response body from GET /alerts

- object
  - `alerts` Alert[], required — The list of alerts
    - `alert_source` 'app' | 'device' — The source of the alert
    - `created_at` integer — The time the alert was created
    - `data` object[]
      - `alert_source` 'app' | 'device' — The source of the alert
      - `source` string — The UID of the source of the alert
      - `source_type` 'event' | 'device' — The type of source.
      - `source_uid` string — The UID of the source of the alert
      - `value` number — The value that triggered the alert
      - `when` string — The time the alert was created
    - `device_uid` string — Device UID
    - `field_name` string — The field name that triggered the alert
    - `monitor_name` string — Monitor Name
    - `monitor_type` 'event' | 'device' — The type of monitor that triggered the alert
    - `monitor_uid` string — Monitor UID
    - `notifications` object[]
      - `notification_type` 'email' | 'slack' — The type of notification
      - `recipients` string — The recipients of the notification
      - `status` number — The status of the notification
    - `resolved` boolean — If true, the alert has been resolved
    - `source` string — The UID of the source of the alert
    - `uid` string — Alert UID
    - `value` number — The value that triggered the alert
    - `version` integer — The version of the alert
  - `has_more` boolean, required — True if there are more alerts

## Other responses

- `default` — The response body in case of an API error.

---

[API](https://skmtc.net/notefile/apis/notehub-api.md) · [All operations](https://skmtc.net/notefile/apis/notehub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/notefile/notehub-api/revisions/9c5b2b63a991/schema)
