---
title: "List alert metrics for the requested resources"
method: GET
path: "/reports/alerts"
tags: ["Reports"]
---

# List alert metrics for the requested resources

`GET /reports/alerts`

## Query parameters

- `sources` number
- `policies` number
- `numbers` string
- `from` string, required
- `until` string, required
- `timezone` string
- `metric` string
- `group-by` string
- `priority` string

## Response `200`

an array of alert report metrics, each metric is another array containing data in the following order: 

[long:alertSourceId, long:escalationPolicyId, string:callRoutingNumberPhoneNumber, string:ISO-8601, long:value]

e.g. [ [202541, 13541, "", "2021-08", 15] ]

Please note: the ISO-8601 (4th column) in this case depends on the chosen 'group-by' parameter. DAY=2021-08-01, WEEK=2021-W12, MONTH=2021-08

- array[]
  - union[]
    - union
      - number
      - string

---

[API](https://skmtc.dev/ilert/apis/ilert-rest-api.md) · [All operations](https://skmtc.dev/ilert/apis/ilert-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ilert/ilert-rest-api/revisions/cb7d5a5f9ab8/schema)
