---
title: "GET /copilot/anomalies/devices-with-locations"
method: GET
path: "/copilot/anomalies/devices-with-locations"
tags: ["Copilot - Anomalies"]
---

# GET /copilot/anomalies/devices-with-locations

`GET /copilot/anomalies/devices-with-locations`

## Query parameters

- `page` integer
- `limit` integer
- `anomalyType` 'POE_STABILITY' | 'DFS_RECURRENCE' | 'ADVERSE_TRAFFIC' | 'PORT_EFFICIENCY' | 'WIFI_CAPACITY' | 'WIFI_EFFICIENCY' | 'HARDWARE_HEALTH' | 'MISSING_VLAN' — The anomaly Type
- `startTime` integer, required
- `endTime` integer, required
- `buildingId` integer
- `severity` 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'
- `excludeMuted` boolean
- `sortField` 'LOCATION' | 'SEVERITY' | 'TIME' | 'CATEGORY' | 'ANOMALY_TYPE' | 'DEVICE_NAME' | 'MUTED'
- `sortOrder` 'ASC' | 'DESC' — Sort Order
- `searchKey` string

## Response `200`

OK

- XiqCopilotPagedXiqAnomalyDeviceWithLocation
  - `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` XiqAnomalyDeviceWithLocation[] — The data in the current page
    - `building_id` integer, required — The building ID
    - `location_name` string, required — The location name
    - `muted` boolean, required — To filter muted anomalies
    - `severity` 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH', required
    - `anomaly_type` 'POE_STABILITY' | 'DFS_RECURRENCE' | 'ADVERSE_TRAFFIC' | 'PORT_EFFICIENCY' | 'WIFI_CAPACITY' | 'WIFI_EFFICIENCY' | 'HARDWARE_HEALTH' | 'MISSING_VLAN', required — The anomaly Type
    - `last_detected_time` integer, required — The last detected time of anomaly
    - `device_id` integer, required — The device ID
    - `device_name` string, required — The device name
    - `device_model` string, required — The device model
    - `device_make` string, required — The device make
    - `switch_stack` boolean, required — The device model
    - `category` 'WIRED' | 'WIRELESS', required
    - `interface_name` string, required — The interface name
    - `location_id` integer — The location ID
    - `anomaly_id` string — The anomaly ID
    - `frequency` string — The frequency
    - `channel_number` integer — The channel number
    - `channel_mode` string — The channel mode
    - `recommended_action` string — The recommended action
    - `issue` string — The issue
    - `current_poe_mode` string — The current poe mode
    - `device_status` boolean — The device status
    - `anomaly_subtypes` string — The Anomaly Subtypes
    - `missing_vlan_info` XiqMissingVlanInfo — The Missing Vlan Info
      - `lldp_enabled` boolean
      - `upstream_switch_name` string
      - `floor_name` string
      - `affected_device_entity` XiqMissingVlanAffectedDeviceEntity[]
        - `ap_name` string
        - `ap_device_id` string
        - `upstream_switch_interface` string
        - `interface_name` string
        - `missing_vlans` integer[]
  - `summary` string — The summary
  - `affected_count` XiqAnomalyAffectedCount — Copilot Anomalies Affected count
    - `total_anomaly_count` integer, required — The total anomaly count
    - `affected_location_count` integer, required — The affected location count
    - `affected_devices_count` integer, required — The affected devices count

---

[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)
