unifi_get_device
Retrieve complete UniFi device configuration for switches and access points, including port details, PoE state, radio channels, and uplink topology. Use to inspect interface layouts and device settings.
Instructions
Get full configuration for a device. Returns (in addition to list fields): supported, firmwareUpdatable, adoptedAt, provisionedAt, configurationId, uplink.deviceId, features (object keyed by capability: switching {lags[]} / accessPoint {}), interfaces.ports[] for switches ({idx, state, connector, maxSpeedMbps, speedMbps, poe:{standard, type, enabled, state}}), interfaces.radios[] for APs ({wlanStandard, frequencyGHz, channelWidthMHz, channel}). NOTE: in the LIST endpoint, features/interfaces are capability-tag string arrays instead. Use for: switch port layout/PoE state, AP radio config, uplink topology. For live throughput/CPU/memory, use unifi_get_device_statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| deviceId | Yes | Device ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| model | No | ||
| state | No | ||
| uplink | No | ||
| features | No | ||
| adoptedAt | No | ||
| ipAddress | No | ||
| supported | No | ||
| interfaces | No | ||
| macAddress | No | ||
| provisionedAt | No | ||
| configurationId | No | ||
| firmwareVersion | No | ||
| firmwareUpdatable | No |