Patrol The `hanzo patrol` commands.
Also for this capability: API · CLI · SDKs
Stands watch over an estate: sites, units, tours, keys, cameras, and the incidents that interrupt them.
API reference →
Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
Command What it does hanzo patrol alarmTakes one activation. hanzo patrol feedWatch the live feed hanzo patrol snapshotReturns the whole picture in one read: sites, units with their position trails, today's tours and checkpoints, the key… hanzo patrol tourLists patrol rounds with their checkpoints — the proof-of-presence record.
Command What it does hanzo patrol camera listLists the cameras a caller may OPEN. hanzo patrol camera stream get <name> <ticket>Redeems a minted ticket for what opens the camera. hanzo patrol camera stream list <name>Mints a short-lived way in to one camera.
Command What it does hanzo patrol event createWrites one feed row by hand and pushes it to every screen watching. hanzo patrol event getLists the feed, newest first.
Command What it does hanzo patrol incident createRecords a response by hand, in state received and carrying the site's tier and SLA. hanzo patrol incident get <name>Returns one response whole: the incident, every act performed on it, and the SLA clocks those acts settled. hanzo patrol incident listLists responses. hanzo patrol incident step <name>Performs one act on an incident: it stamps the act's time, moves the state, appends the act to the trail, and runs what…
Command What it does hanzo patrol key get <name>Returns one key set from the register. hanzo patrol key listLists the key register. hanzo patrol key move <name>Records a key set leaving, returning, or being counted, and moves the register row to match.
Command What it does hanzo patrol note createRecords an internal remark, stamped with who wrote it. hanzo patrol note getLists internal remarks.
Command What it does hanzo patrol point confirm <name>Records presence at a checkpoint: who confirmed it, the method, where they stood, and the photo key if one was taken.
Command What it does hanzo patrol report createComposes and files a report from one estate read, so the same figures read the same a month later. hanzo patrol report get <name>Download a filed report
Command What it does hanzo patrol site get <name>Returns one site whole: the register row plus the panel's zones and the standing hazards, which ride inside the… hanzo patrol site listLists the estate. hanzo patrol site set <name>Changes a site's contract and brief fields.
Command What it does hanzo patrol tenant get <org>Returns one org's public face — brand, company, operations, features and terminology.
Command What it does hanzo patrol unit fix <name>Records where a unit is. hanzo patrol unit listLists the fleet with each unit's position trail, which is what the map draws. hanzo patrol unit nearAnswers which units can reach a site soonest. hanzo patrol unit state <name>Moves a unit between states — on shift, on a break, off, or in trouble.
How is this guide?
Good Bad