Skip to content

get_camera

Fetch a single camera’s full record by ID.

Side effects: None (read-only).

Returns the full camera record (same shape as one entry from list_cameras) including current recording mode, motion sensitivity, privacy-mask state, and the most recent lastMotion timestamp.

get_camera(camera_id="65f...", controller="default")
ParameterTypeRequiredDefaultDescription
camera_idstringyesThe Protect id (or _id) from list_cameras.
controllerstringno”default”Name of the UniFi controller to target. Defaults to "default".