---
title: "Sites with issues"
method: POST
path: "/dashboard/sites-with-issues"
tags: ["Dashboard"]
---

# Sites with issues

`POST /dashboard/sites-with-issues`

Returns the site names along with alerts, usage and capacity, assets, client health, and device health based on the provided filters. You can filter the results by sites.

## Query parameters

- `page` integer
- `limit` integer
- `sortField` 'ALERTS' | 'STATUS' | 'DEVICE_HEALTH' | 'CLIENT_HEALTH' | 'USAGE_CAPACITY' | 'SITE_NAME'
- `sortOrder` 'ASC' | 'DESC' — Sort Order
- `keyword` string
- `includeUnassigned` boolean
- `alertsTimeRange` integer

## Request body

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

## Response `200`

OK

- PagedXiqSiteDashboardResponse
  - `page` integer, required — The current page number
  - `count` integer, required — The element count of the current page
  - `total_pages` integer, required — The total page number based on request page size
  - `total_count` integer, required — The total element count
  - `data` XiqSiteDashboardResponse[] — The data in the current page
    - `site_name` string — The name of the site with diagnostics
    - `building_name` string — The name of the building with diagnostics
    - `floor_name` string — The name of the floor with diagnostics
    - `alert_dashboard` 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
    - `asset_dashboard` XiqAssetDashboard — The asset diagnostic data for total, offline, wired, and wireless offline devices.
      - `total_devices` integer — Total count of devices
      - `total_offline_devices` integer — Total count of offline devices
      - `wired_offline_devices` integer — Count of wired offline devices
      - `wireless_offline_devices` integer — Count of wireless offline devices
    - `client_health_dashboard` XiqClientHealthDashboard — The client health diagnostic data for total clients, unhealthy clients, wired, and wireless unhealthy clients.
      - `total_clients` integer — Total count of clients
      - `total_unhealthy_clients` integer — Total count of unhealthy clients
      - `wired_unhealthy_clients` integer — Count of wired unhealthy clients
      - `wireless_unhealthy_clients` integer — Count of wireless unhealthy clients
    - `device_health_dashboard` XiqDeviceHealthDashboard — The device health diagnostic data for total, unhealthy, wired, and wireless unhealthy devices.
      - `total_devices` integer — Total count of devices
      - `total_unhealthy_devices` integer — Total count of unhealthy devices
      - `wired_unhealthy_devices` integer — Count of wired unhealthy devices
      - `wireless_unhealthy_devices` integer — Count of wireless unhealthy devices
    - `usage_and_capacity_dashboard` XiqUsageAndCapacityDashboard — The usage and capacity diagnostic data for total devices, wired devices like AP, and wireless devices like switch.
      - `total_usage_and_capacity_issues` integer — Total count of usage and capacity issues
      - `wired_usage_and_capacity_issues` integer — Count of wired devices like switch with usage and capacity issues
      - `wireless_usage_and_capacity_issues` integer — Count of wireless devices like APs with usage and capacity issues

---

[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/revisions/5ff7ab84e8e8/schema)
