Retrieve the current state of a device including online status, recording status, battery, and storage
dev_abc123).| Field | Type | Description |
|---|---|---|
device_id | string | The device’s unique identifier |
online | boolean | Whether the device is currently online and reachable |
recording.active | boolean | Whether the device is currently recording |
recording.recording_id | string | ID of the current recording (if active) |
recording.started_at | string | ISO 8601 timestamp when recording started |
recording.initiated_by | string | "local" (button press) or "remote" (API command) |
battery_percent | number | Battery level (0-100), null if unknown |
storage_used_mb | number | Storage used in MB, null if unknown |
storage_total_mb | number | Total storage in MB, null if unknown |
last_heartbeat_at | string | Last heartbeat timestamp from device |