unifi_get_device
Get full configuration for a UniFi device, including switch port details, PoE state, AP radio settings, and uplink topology.
Instructions
Get full configuration for a device. Returns (in addition to list fields): supported, firmwareUpdatable, 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 |