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

# GET /copilot/anomalies/devices-by-location

`GET /copilot/anomalies/devices-by-location`

## Query parameters

- `anomalyType` 'POE_STABILITY' | 'DFS_RECURRENCE' | 'ADVERSE_TRAFFIC' | 'PORT_EFFICIENCY' | 'WIFI_CAPACITY' | 'WIFI_EFFICIENCY' | 'HARDWARE_HEALTH' | 'MISSING_VLAN' — The anomaly Type
- `locationIds` integer[], required

## Response `200`

OK

- XiqAnomalyDevicesByLocationResponse — Copilot Anomaly Devices
  - `location_entity` XiqAnomalyLocationEntity — Copilot Anomaly Locations data
    - `location_type` 'SITE' | 'BUILDING' | 'FLOOR' — the location type
    - `location_ids` integer[] — the location id
    - `building_id` integer — the building id
    - `location_name` string — the location name
    - `pinned` boolean — is location pinned
    - `muted` boolean — the location muted
    - `severity` 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'
    - `severity_id` integer — the severity id
    - `summary` string — the anomaly summary
    - `affected_device_count` integer — the affected number of devices
    - `last_detected_time` integer — the last detected time
    - `anomaly_type` 'POE_STABILITY' | 'DFS_RECURRENCE' | 'ADVERSE_TRAFFIC' | 'PORT_EFFICIENCY' | 'WIFI_CAPACITY' | 'WIFI_EFFICIENCY' | 'HARDWARE_HEALTH' | 'MISSING_VLAN' — The anomaly Type
  - `devices` XiqAnomalyDeviceEntity[] — the anomaly devices data
    - `device_id` integer — the device id
    - `device_name` string — the device name
    - `pinned` boolean — is device pinned
    - `wired` boolean — is device wired
    - `anomaly_id` string — the anomaly id
    - `severity` 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'
    - `summary` string — the anomaly summary
    - `last_detected_time` integer — the last detected time
    - `recommended_action` string — the recommended action
    - `anomaly_subtypes` string — the anomaly sub-type
    - `interface_name` string — the interface name
    - `channel_mode` string — the channel mode : tx or rx
    - `channel` integer — the channel number
    - `frequency` string — the frequency
    - `location_id` integer — the location id

---

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