protect_get_viewer
Retrieve complete configuration details for a specific UniFi Protect viewer by its ID, including name, MAC, state, liveview, and stream limits.
Instructions
Get full details for a specific viewer by ID. Returns: id, modelKey, name, mac, state, type, guid, liveview, streamLimit (7.3.47 docs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Viewer ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Device ID | |
| mac | No | MAC address | |
| guid | No | Hardware MODEL GUID, shared by every unit of the same model. NOT a per-device identifier — use `id` to identify a device. | |
| name | No | Device name | |
| type | No | Hardware model name, e.g. "UVC G6 Turret", "UP Chime PoE", "UNVR-PRO" | |
| state | No | CONNECTED | DISCONNECTED | ... | |
| liveview | No | Assigned live view ID, or null | |
| modelKey | No | Resource kind | |
| streamLimit | No | Max concurrent streams (number) |