---
title: "Alert statistics"
method: POST
path: "/dashboard/alerts"
tags: ["Dashboard"]
---

# Alert statistics

`POST /dashboard/alerts`

Returns the count of different types of alerts (critical, warning, information, and total unacknowledged) based on the provided filters. You can filter the results by sites.

## Query parameters

- `includeUnassigned` boolean
- `alertsTimeRange` integer

## Request body

- XiqDashboardFilter — Request body for Alert Diagnostics Filter
  - `site_ids` integer[] — List of site ids

## Response `200`

OK

- XiqAlertDashboard — The diagnostic alert counts for critical, warning, information, and unacknowledged alerts.
  - `critical` integer — Count of critical alerts
  - `warning` integer — Count of warning alerts
  - `information` integer — Count of informational alerts
  - `total_unacknowledged` integer — Total count of unacknowledged alerts

---

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