sites

Set Site Agent Mode

put/sites/{site_id}/agent-mode

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/sites/{site_id}/agent-mode
  • Auth
    HTTP bearer

Path parameters

site_idstring required

Request body

enabledboolean required

True arms every ii-enabled camera at the site (agent mode); False sets all cameras to shadow.

Example request

{
  "enabled": true
}

Response

Successful Response

site_idstring uuid required

The site that was flipped.

enabledboolean required

The requested target mode (True = armed).

totalinteger required

Cameras at the site.

updatedinteger required

Cameras whose agent_mode actually changed.

skipped_ii_offinteger required

Cameras that could not be armed because incident intelligence is off (arming only).

Example response

{
  "total": 23,
  "updated": 21,
  "skipped_ii_off": 2,
  "cameras": [
    {
      "camera_label": "NW Exterior Multi - East"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.