- Dokumentasjon
- Utviklere
- Public API v1
Denne siden finnes ikke på Norsk bokmål ennå. Den vises på engelsk.
Public API v1Siden 1.6.4
The stable, versioned API for scripts and integrations — what it covers, what "stable" means, and how it changes over time.
API v1 is the public API of every Vigiora server, at /api/v1. Use it for scripts, integrations and generated client libraries: list and manage cameras and their AI services, look up camera models in the camera catalogue, take snapshots and frames from the recordings, steer PTZ cameras and manage their presets, check and fix a camera's clock, read and acknowledge alerts, manage alert rules, find and protect recordings, export clips and share them, keep saved pictures and clips in a library, receive live events and signed webhooks, read the Guardian log and the Briefing, find objects on a camera or in a photo, count people with Analytics, read floor plans or have the AI draw one from a description, compose AI views of the cameras, read, translate and summarise transcripts, use and control Home Assistant's devices, set up Zigbee and pair, name and manage IoT devices, survey the Bluetooth devices nearby, name a camera from its picture, read the errors the web app reported, manage users, sites, rooms and settings, export or import the configuration, find devices on the server's local network, and run the setup wizard's health check and camera detection. AI assistants can use the same operations through the built-in MCP server.
It is built for stability: one consistent style, scoped API keys, and a promise that nothing you rely on is removed or changed within v1.
What v1 covers#
| Area | What you can do |
|---|---|
| Cameras | List, add, change, enable or disable cameras (one by one or up to 100 at once), turn AI on or off, get a live JPEG snapshot, and ask the AI to analyse a camera now. From 1.6.10: every camera setting, its AI services and their settings, reference frames, audio and stream health, and object recognition on a frame. From 1.6.13: signed live video (HLS) and snapshot links, and speaking through a camera's speaker. |
| PTZ | Move, stop and go to presets on pan/tilt/zoom cameras. From 1.6.20: save, rename, move and delete presets. |
| Camera clocks | Read a camera's own clock against the server's, fix it, and set the time zone it should be in. New in 1.6.20 (API 1.45.0). |
| Alerts | List alerts and detections, get their snapshot, acknowledge or unacknowledge them, and send alerts from your own sensors. Recognised faces and their photos. From 1.6.10: alert rules, deleting alerts, a camera's detection events with the add-ons' reports, object tracks, people counts and motion levels. From 1.6.11: a person rule can wait for the object detector to confirm. From 1.6.13: the unacknowledged-alert summary and room alert rules. |
| Recordings | List recorded segments, read a camera's coverage timeline, play a segment, and protect or unprotect it. From 1.6.10: a still frame at any recorded moment, the days with recordings and an alert's recording. |
| Clips | Export a clip of up to 30 minutes, download it, list your clips, and create or revoke public share links. |
| Library | Save pictures and clips on the server in folders and albums, upload your own, play an album through, and share a saved item or an album. New in 1.6.20 (API 1.52.0). |
| Events | A live event stream (Server-Sent Events) with resume, and the event log of the last 7 days. New in 1.6.5 (API 1.2.0). |
| Webhooks | Admins subscribe URLs to event types. Deliveries are signed, tested, retried and logged. New in 1.6.5. |
| Guardian | The Guardian log (what the AI saw and heard), search by meaning, and Guardian chat. New in 1.6.6 (API 1.4.0). From 1.6.10: each entry's frame, clip and detections, conversations, speech transcripts, the Briefing, AI Live, and describing an uploaded image. From 1.6.11: whether a person detector watched the clip, and the alerts it held back. From 1.6.13: delete, restore and purge moments, why the picture was chosen, the clip's time range and pre-roll, and the room feed. |
| Sites, rooms, layouts, system | Read sites, rooms and layouts; the server's status and component health. New in 1.6.6. From 1.6.10: create, change and delete sites, rooms, speakers, layouts and layout sequences; the dashboard, mesh, update, plan and remote access status; the vigiora-clients fleet. From 1.6.11: camera speakers played by the server itself. |
| Users and settings | Admins list, add, change and delete users, list groups, and set the recording defaults for new cameras. New in 1.6.6. From 1.6.10: groups, faces and how long add-on reports are kept. |
| Analytics | Counting lines, zones and areas; counts in and out, occupancy, dwell time and heatmaps. New in 1.6.13 (API 1.15.0). From 1.6.16: queues, parking bays, speed, busy hours, paths, alert rules and door displays. See Analytics. |
| Floor plans | Plans with their image, the cameras, speakers, rooms and areas placed on them, the live state, and where a camera is. New in 1.6.13 (API 1.23.0). |
| Home Assistant and IoT | Install, update and connect Home Assistant, and use its devices in Vigiora (selection, commands, triggers, rule actions, room signals and the action log). New in 1.6.13 (API 1.21.0 to 1.25.0). From 1.6.16: several Home Assistant instances. From 1.6.19: Zigbee set-up and the IoT devices list. From 1.6.20: control an entity (lights, covers, locks…) and survey the Bluetooth devices nearby. |
| Things | Every device in one model with capabilities, state, commands and CloudEvents envelopes on the event stream. New in 1.6.13 (API 1.18.0). |
| Configuration | Admins export the whole configuration as one JSON file and import it again. New in 1.6.6. |
| Network | Scan the server's local network, list devices with their maker, find the current IP of a MAC address, and move a camera to its new address. New in 1.6.7 (API 1.5.0). See Network tools. |
| Setup | Run the health check and its safe fixes, detect a camera's streams from its login, add detected cameras, read and mark the setup checklist, and get the suggested AI cameras. New in 1.6.8 (API 1.7.0). |
| Camera discovery | Turn the automatic network scan on or off, scan now, and list or ignore the new cameras it found. New in 1.6.8. |
| API keys | Create keys with scopes, list and revoke them (signed-in users only). |
| Me | Check who a credential is and which scopes it has, and its human-in-the-loop policy for AI agents (from 1.6.9). From 1.6.13: GET /server, the server's identity and features. |
The full list, generated from the server's OpenAPI description, is in the API reference. To try it, start with the Quickstart.
Base address#
All paths start with /api/v1. Use whichever address reaches your server:
| From | Base address |
|---|---|
| Anywhere | https://yourname.vigiora.com (your site address) |
| Your local network | http://192.0.2.10:8080 (the server's LAN address) |
Every server also serves its own OpenAPI 3.1 description at /api/v1/openapi.yaml and /api/v1/openapi.json. Use it with any OpenAPI viewer or client generator. The description of the current release is also public on this site, without a key: /openapi.json and /openapi.yaml.
The stability promise#
Within v1, changes are additive only:
- New operations, new optional parameters and request fields.
- New response fields. Ignore fields you don't know.
- New values in enums documented as open (for example a camera's
status). Treat unknown values as "other". - New error codes.
Nothing is removed, renamed or made stricter within v1: no operation, field, parameter or enum value disappears, no type gets narrower, no new required field or parameter appears, and no operation needs a broader scope than before. The server's test suite checks every change against the last released v1 description to enforce this.
Versioning and deprecation#
- The version is in the path. A breaking change ships as
/api/v2, side by side with v1. - The API has its own version number,
1.<minor>.<patch>, separate from the server's. Additive changes raise the minor version. The OpenAPI description'sinfo.versionsays which API version a server serves (API 1.30.0 at the time of writing, from server 1.6.16). - When an operation or field is deprecated, it is marked
deprecatedin the description, and responses carryDeprecationandSunsetheaders and aLink: <…>; rel="deprecation"header. It keeps working for at least 12 months (or two major server releases, whichever is longer) and is only removed in a new major version, never within v1.
/api stays internal#
The web app talks to the server through /api. That API is internal: it follows the web app and can change in any release. It is still described at /api/openapi.yaml, and existing API keys keep working on it exactly as before. For anything you want to keep working after updates, use /api/v1. See Internal API.
Phase 2: events, webhooks and protected recordings#
Server 1.6.5 adds API 1.2.0, all additive:
- Events:
GET /api/v1/events/stream(Server-Sent Events, resumable withLast-Event-ID) andGET /api/v1/events(the log). Scopeevents:read. - Webhooks:
/api/v1/webhookswith signed deliveries, a test send, retries, a delivery log and redeliver. Scopeswebhooks:readandwebhooks:write, admins only. Delivery is at least once. See Webhooks and events.
Protect recordings#
POST /api/v1/recordings/{id}/actions/protect marks a recording so it is never deleted by retention, and .../actions/unprotect lifts that (a recording past its camera's retention goes at the next sweep). Both need the recordings:write scope and operator permission on the camera.
- Protected recordings may use at most 20% of the recordings disk. Past that, protect answers
409 protect_limit. - On a critically low disk it answers
507 disk_low. Protections you already have stay. - Deleting an alert never removes the file of a protected recording.
Phases 3 and 4: Guardian, users, settings and configuration#
Server 1.6.6 adds API 1.4.0, all additive:
- Read-outs:
/sites,/rooms,/layouts,/system/statusand/system/health(scopesettings:read),/faces(alerts:read),/guardian/entriesand/guardian/search(guardian:read),/usersand/groups(users:read, admins). - Guardian chat and analysis:
POST /guardian/chatasks Guardian a question, andPOST /cameras/{camera_id}/actions/analyzeruns one AI analysis now (guardian:write). Both use AI credits and have their own rate limits; see Conventions. - Bulk camera changes:
POST /cameras/actions/bulk-updateturnsenabled,recording_enabledorai_enabledon or off for up to 100 cameras, with a result per camera. - Alerts from your own systems:
POST /alertsadds an alert on one of your cameras, with asourcethat names the system (filter withGET /alerts?source=). It shows up in lists, the Briefing, events and webhooks like the server's own alerts. - Users: admins create, change and delete users (
users:write). The last enabled admin can't be demoted, disabled or deleted (409 conflict), and every change is written to the audit log. - Settings:
GETandPATCH /settingshold the recording defaults that new cameras get. Existing cameras keep their own values.
Configuration export and import#
GET /api/v1/config/export (admins) returns the settings, sites, cameras, alert rules, rooms, layouts and outputs as one JSON document. Users, recordings and alerts are not included.
- Camera passwords and SRT passphrases are
REDACTEDby default. Withinclude_secrets=truethey are encrypted instead, with a passphrase you send in theX-Export-Passphraseheader (at least 12 characters). That needs theadminscope and an admin user. The passphrase is never stored: keep it, or the encrypted values can't be restored. - Every export is written to the audit log and sends a
config.exportedevent.
POST /api/v1/config/import (the admin scope) applies such a document:
- Dry run first:
dry_run=truereturns the list of changes without applying anything. - All or nothing: any invalid object, a wrong passphrase or a plan limit refuses the whole document, with every problem listed in
details.errors. - Nothing is deleted: objects are matched by id, a field that is absent keeps its stored value, and objects missing from the document stay as they are. Importing the same document twice changes nothing.
- Retention reductions need confirmation: lowering a camera's
retention_daysdeletes older recordings, so it needsallow_retention_reduction=true.
From version 1.6.16 (API 1.27.0), the document also holds the floor plans with their items. GET /config/export?format=bundle returns a zip with the document and the plan images, and POST /config/import accepts that zip (Content-Type: application/zip, at most 256 MiB), so a whole site, plans included, moves to another server in one file.
Network tools#
Server 1.6.7 adds API 1.5.0, all additive:
- Scan and devices:
POST /network/actions/scanscans the server's private subnets (allowlisted camera ports, optional ONVIF),GET /network/scans/{scan_id}polls it, andGET /network/deviceslists what was found, withvendor,has_portandunassignedfilters. - Lookup:
GET /network/lookup?mac=finds the IP a MAC has now (?ip=the reverse). - Relocate:
POST /cameras/{camera_id}/actions/relocatemoves a camera to its MAC's new address, withdry_run. It is refused while the old address still answers (old_address_alive) or when the new address doesn't answer with the camera's MAC (mac_mismatch). - New scope
network:read, for admins and operators only. Scans send traffic on the LAN, so it is not part of read-only access. On a hosted server, or in Docker without host networking, the tools answer409 network_unavailable.
See Network tools for examples and the "camera changed IP" recipe.
Setup wizard and camera discovery#
Server 1.6.8 adds API 1.7.0, all additive. Everything the setup wizard does is in the API:
- Health check:
GET /setup/diagnosticsruns the 10 checks (disk,clock,ports,cloud,go2rtc,ffmpeg,gpu,lan,dns,updates), eachok,warn,failorskipwith a plain explanation and afix:auto(anaction_id) ormanual(steps for the server's platform).?cached=truereturns the last report.POST /setup/diagnostics/actions/fixruns one ofrestart_go2rtc,check_updatesorresync_cloud(admins,settings:write, at most once every 20 seconds per fix). - Camera probe:
POST /cameras/actions/detecttakes a camera'sip,usernameandpassword(and optionally itsvendorand RTSPport) and finds its streams: ONVIF first, then the maker's known RTSP paths. It answers within about 20 seconds withok, the stream URLs without credentials, codec, size, frame rate, a JPEG thumbnail and adetection_id(30 minutes, yours only), orok: falsewithfailure.code(auth_failed,onvif_auth_failed,rtsp_closed,unreachable,no_stream,timeout), a message and a hint.POST /cameras/actions/detect-batchdoes the same for up to 32 addresses with one login (pollGET /cameras/detect-batches/{batch_id}), andPOST /cameras/actions/add-detectedcreates the cameras, so camera passwords never pass through your client. - Lockout protection: the probe stops at the first refused login and doesn't send the same login to that camera again for 30 minutes. After 3 refused logins in 30 minutes it sends that camera no login at all:
429 rate_limitedwithdetails.reason: camera_login_budgetandRetry-After. Every detection carriesattempts_left(0–3): warn the user when it drops. - Checklist:
GET /setup/checklistlistshealth,cameras,recording,ai_cameras,notifications,phone_appandclaude_connectorasdone,skippedorpending;PATCH /setup/checklistmarks items (admins).GET /setup/ai-camera-suggestionsranks the cameras for the plan's AI cameras (2 are free during the promotion). - Automatic scan:
GETandPATCH /network/auto-scan(enabled,interval_minutesof 15, 30, 60, 180 or 720),POST /network/auto-scan/actions/run(scan now,network:read),GET /network/candidates(new cameras withconfidencehigh,mediumorlowand ahintfor possible cameras) andPOST /network/candidates/{candidate_id}/actions/dismiss. New cameras are announced with thenetwork.camera_foundevent. On a hosted server the scan is always off. - Camera status:
statuscan now bestandby(not recording, nobody watching; not a fault), andcamera.onlineandcamera.offlinefollow the camera's health. See Webhooks and events.
The detection, scan and checklist operations are also MCP tools.
Human in the loop for AI agents#
Server 1.6.9 adds API 1.8.0, all additive: GET /agent-policy (any credential) says whether AI agents using this credential must ask the user before risky operations, and lists them in confirm_operations; GET and PATCH /settings/agents read and set the server setting (admins change it); PATCH /api-keys/{key_id} sets a key's own choice (inherit, on or off). Operations that need approval are marked x-vigiora-confirm in the OpenAPI description. REST calls are never prompted: the MCP server enforces it. See Human in the loop.
API 1.9 to 1.11: the rest of the app#
Server 1.6.10 adds API 1.9.0 to 1.11.0, all additive: 156 new operations, so almost everything the web app does is now in v1. Writes that matter are confirm operations for human in the loop (the API reference marks each one).
Alert rules#
- Guardian rules:
GET /alert-rulesandGET/POST /cameras/{camera_id}/alert-rules, thenGET,PATCHandDELETE /alert-rules/{alert_rule_id}and.../actions/enableordisable. A rule is a sentence the AI checks each analysed clip (video_rule) or transcript (audio_rule) against. See Alert rules. - Label alert rules:
GET/POST /cameras/{camera_id}/label-alert-rulesand/label-alert-rules/{label_alert_rule_id}turn a detector label (person,car, an object you asked for…) into alerts.GET /cameras/{camera_id}/labelslists the labels the camera's detectors produced. - Smart-motion rules:
/cameras/{camera_id}/motion-rulesand/motion-rules/{motion_rule_id}, a line to cross or a zone to enter. - Scopes
alerts:readandalerts:write(admins and operators). A rule on a camera without AI is still created, withwarnings: ["ai_not_enabled"](orno_motion_triggerwhen motion detection is off). E-mail recipients are set in the web app only, never with a key. Changes send thealert_rule.created,alert_rule.updatedandalert_rule.deletedevents.
Camera settings and AI services#
PATCH /cameras/{camera_id}now takes every camera setting: the sub stream, the ONVIF address, the AI and speech settings, andguardian_use_detections(see Guardian add-on context).client_idandhardware_idneed a user session.GET /cameras/{camera_id}/ai-serviceslists every AI service with whether it is on for the camera, its settings (config,config_fields) and warnings.POST .../ai-services/{ai_service_id}/actions/enableordisableswitches one, andPATCH .../ai-services/{ai_service_id}changes its settings, for example the prompts of object recognition.POST /cameras/{camera_id}/actions/enable-aialso switches on motion detection when the camera has no motion trigger, and says so inservices_enabled.- Camera tools: the reference frame (
GET,DELETEand.../reference-frame/actions/capture),POST .../actions/compareand.../actions/read-plates(guardian:write), audio level and status (from 1.115, with today's speech figures inspeech_today), stream pipeline health, current objects, hardware id, andGET /cameras/available-streams.
Frames from recordings and the Guardian frame and clip#
GET /cameras/{camera_id}/frame?at=(recordings:read, viewers too) returns the picture closest toatfrom the recordings, as JPEG or PNG, withwidth,quality,streamanddownload.X-Vigiora-Frame-Timeis the frame's time. No footage then is404 no_recording, with the nearest recorded moments before and after. At most 30 a minute per credential. Through the relay a frame is a still image: it doesn't count against the free plan's remote video allowance.GET /guardian/entries/{entry_id}/frame(guardian:read) is the picture Guardian stored with an entry: the moment of the clip that shows the event best.GET /guardian/entries/{entry_id}/clipis the short clip it analysed (MP4).- Entries are now plain text in your language (
langorAccept-Language), with every language indescriptions, andoccurred_atandcreated_at.
Sites, groups, layouts, faces, rooms and speakers#
- Sites (
settings:write), groups (users:write, admins), layouts and layout sequences (settings:write): create, change and delete. - Faces:
PATCHandDELETE /faces/{face_id}name and delete a face (theadminscope, admins, audited);GET /alerts/{alert_id}/face-photois an alert's face crop. - Rooms and speakers: create, change and delete rooms and speakers (
cameras:write), a room's speakers and stock list, andPOST /rooms/{room_id}/actions/speak,.../play-audioand.../move-ptz(cameras:control). A room's AI Live: start, stop, cards, digest and feedback (guardian:write).
Briefing, conversations and transcripts#
GET /briefing,/briefing/feedand/briefing/recap(guardian:read) are the dashboard's Briefing. Mark items reviewed withPOST /briefing/items/{briefing_item_token}/actions/mark-reviewed.POST /briefing/recap/actions/refreshwrites a new recap (uses AI credits).- Guardian conversations: list, start, rename, delete and read their messages.
GET /guardian/transcripts: what the cameras' microphones heard.- Camera AI Live sessions (
/ai-live/sessions), people counts (/counts), motion levels (/motion), an alert's recording (GET /alerts/{alert_id}/recording), deleting an alert, recording days, share links (GET /shares) and clip preflight.
System, fleet and admin operations#
- System (
settings:read): AI status, dashboard, objects and their history, and for admins mesh, edge, plan, cloud plan, update and remote access.POST /system/update/actions/checkchecks for an update now (admins). - vigiora-clients (
cameras:readandcameras:write, admins and operators): list, status history, restart, update, resync cameras, install ffmpeg, add a camera on a client's network, remove. GETandPATCH /settingsalso holdhal_events_retention_days, how long HAL reports are kept (1 to 365 days, default 30).- User session only (never an API key, never an MCP tool): costs, billing, connected apps, add-on instances (the Add-ons page, formerly HAL), external AI tools and switching remote access.
API 1.12 to 1.14: speakers, person confirmation and presence#
Server 1.6.11 adds API 1.12.0 to 1.14.0. All changes are additive: there are no new operations, only new fields.
- Camera speakers played by the server (1.12.0). On
POST /outputs,client_idis now optional for a camera speaker (kind: "camera_backchannel"):null,""or leaving it out means this server plays the audio through its own video service, using the camera's two-way audio. That works for a camera the server streams itself (one with no vigiora-client). For a camera behind a vigiora-client, the client still plays it.PATCH /outputs/{output_id}acceptsclient_idfor camera speakers: a vigiora-client's id, ornull(or"") for this server. For ausborcastspeaker it stays required and can't be changed (400 validation_error). See Speakers. - Person alerts confirmed by the object detector (1.13.0). Alert rules have
require_detector_confirmation(boolean, defaulttrue, on create andPATCH). It applies to rules about people (their name or video rule names a person, someone, an intruder…) on a camera with a person-capable object detector. If that detector was running for the whole clip and saw no person, the rule doesn't alert. Without such a detector, or when it wasn't running, the rule alerts as before. See Alert rules. - Guardian entries (1.13.0 and 1.14.0) have three new fields:
detector_checked(boolean): a person-capable detector watched the camera for the whole clip, so an entry without apersondetection means it saw nobody. The AI was told so.unconfirmed_alerts: the person rules (alert_rule_id,name) the AI matched on this clip that didn't alert because the detector saw no person. Empty when there are none.person_present_seconds(1.14.0): how long a person was in view, from 2 seconds before to 2 seconds after the clip, according to the detector's presence report.0means the detector watched the whole clip and nobody was in view.nullwhen no detector that reports presence covered the clip.
{
"id": 714,
"camera_id": 3,
"description": "The driveway is empty; sunlight and shadows move across the ground.",
"detections": [],
"detector_checked": true,
"unconfirmed_alerts": [ { "alert_rule_id": 1, "name": "person at the gate" } ],
"person_present_seconds": 0
}API 1.15 to 1.25: Analytics, floor plans, Home Assistant and more#
Server 1.6.13 adds API 1.15.0 to 1.25.0, all additive: 89 new operations (347 in all) and seven new scopes. Writes are confirm operations for human in the loop, as the API reference marks them. GET /server lists the optional features a server has in features, so an integration can check before it calls them.
Live video and snapshot links#
POST /cameras/{camera_id}/actions/stream-url (cameras:read) returns a short-lived signed link to the camera's live video, for players that can't send an API key, such as Home Assistant, VLC or a browser <video>:
curl -s -X POST https://yourname.vigiora.com/api/v1/cameras/3/actions/stream-url \
-H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx" -H "Content-Type: application/json" \
-d '{"ttl_seconds":600,"quality":"sub"}'{
"camera_id": 3,
"hls_url": "/api/v1/media/<token>/stream.m3u8",
"rtsp_url": null,
"webrtc": null,
"quality": "sub",
"format": "mpegts",
"expires_at": "2026-11-03T10:10:00Z",
"ttl_seconds": 600
}- The link is HLS only.
hls_urlis relative to the server's address.rtsp_urlandwebrtcare alwaysnull. ttl_secondsis 60 to 3600 (default 600). Ask for a new link beforeexpires_at.qualityismain(default) orsub.formatismpegts(default) orfmp4, which H.265 cameras need.- The link carries no credential. It stops working at once when the key that made it is revoked or expires, its user is disabled, or the user loses the camera.
- The server proxies its own stream, so the camera's address and password are never exposed. No stream on this server answers
503 stream_unavailable. - At most 60 links a minute and 6000 media requests a minute per credential. Every link is written to the audit log.
POST /cameras/{camera_id}/actions/snapshot-url does the same for a still image (/api/v1/media/<token>/image). The media routes (/media/...) are not MCP tools.
Motion, presence and signed links in events#
motion.started(the first real motion) andmotion.ended(30 seconds without motion) come from motion detection.presence.changed(label,present,reason) comes from the object detector's presence reports, includingreason: detector_silentwhen a detector stops while someone is in view.guardian.eventnow carrieshas_frame,has_clip,detections,detector_checked,person_present_secondsandperson_present.alert.createdcarrieshas_snapshot.- Events on the stream and in the log carry
data.snapshot_urlwithsnapshot_url_expires_at: a signed image link, valid 15 minutes, made for each reader. Webhooks don't get them.
See Webhooks and events.
Camera speak, server identity and alert summary#
POST /cameras/{camera_id}/actions/speak(text,volume0–1) speaks through the camera's own speaker (cameras:control, admins and operators). No speaker is404; a camera whose speaker check found no two-way audio is422 speaker_not_supported. At most 12 a minute per credential.GET /server(any credential) is the server's stableid,name,site_address,version,edition,timezone,api_versionandfeatures. It holds no secrets.GET /alerts/summary(alerts:read) counts the unacknowledged alerts in total, by severity and by camera, withlatest_atandlatest_id. Poll it to notice new alerts cheaply. It counts only the cameras the caller may view.
Things: one model for every device#
The Things model describes every device in one shape, for integrations such as Home Assistant or an MQTT bridge:
GET /thing-capabilitiesis the catalogue: each capability (video_stream,snapshot,motion,presence,alert,recording,ai_guardian,ai_mode,ptz,speak,occupancy,counter,onoff,lock…) with its state schema, its commands and its events. Each command names the operation it runs, its scope, roles andhitlclass.GET /thingsandGET /things/{thing_id}(cameras:read) list the server, cameras, microphones, speakers, rooms and Analytics areas you may see, with their capabilities and current state.?kind=filters. Home Assistant devices shared with Vigiora also appear, askind: externalwith ids likeha:light.porch; they also needdevices:read.POST /things/{thing_id}/commands/{capability}.{command}runs the one existing operation behind the command, with its checks, rate limits and audit. It is not an MCP tool: agents call the operations themselves, so human in the loop applies.GET /events/stream?format=thingssends events as CloudEvents 1.0 envelopes, with types likevigiora.motion.startedand the thing assubject.
See Things and MQTT for an example.
Rooms: AI mode and room alert rules#
- A room has
ai_mode:live,guardianorboth, plusai_live_classic,ai_live_coalesce_seconds(default 10) andai_live_keepalive_seconds(default 300) for its event-driven AI Live. See Rooms. GET/POST /rooms/{room_id}/alert-rulesandGET,PATCH,DELETE /rooms/{room_id}/alert-rules/{alert_rule_id}manage rules checked on every camera of the room (alerts:read,alerts:write).GET /rooms/{room_id}/guardian-entriesis the room's Guardian feed.
Delete and restore moments#
DELETE /guardian/entries/{entry_id}andPOST /guardian/entries/actions/delete(ids, up to 200) delete Guardian moments with their clip, frame and the alerts Guardian raised for them (guardian:write, admins and operators). Recordings are never deleted.- Deleted moments go to Recently deleted:
GET /guardian/trash,GET /guardian/trash/{entry_id}/frame,POST /guardian/trash/actions/restore(puts them back with the same ids) andPOST /guardian/trash/actions/purge(admins). They are purged automatically afterretention_days(default 7, 1–90):GETandPATCH /guardian/trash/settings(changing it needssettings:write, admins). - A moment covered by a protected recording answers
409 entry_protected. One covered by a clip export or public share link answers409 entry_shared; an admin can delete it anyway withforce=true, which revokes the links. - The bulk delete answers
{succeeded, failed}with a code per failed id. Theguardian_trashfeature inGET /serversays the server has it.
Better pictures and clips#
- Guardian entries have
frame_time,frame_reason(best_detection,presenceordefault) andframe_box: when and why the picture was chosen, and the box of the subject in it. - Entries also have
clip_start,clip_endandclip_reason: the clip's time range. Clips now start a few seconds before the motion (the pre-roll), and are widened when the detectors saw the subject just outside them. - The pre-roll is set for the server with
GETandPATCH /guardian/clips/settings(preroll_seconds, 0–10, default 3; changing it needssettings:write, admins), and per camera with the camera'sguardian_clip_preroll_sec(nulluses the server value). - Two one-off backfills, admins only, never run on their own:
POST /guardian/entries/actions/recompute-framesre-chooses the picture of recent entries, andPOST /guardian/entries/actions/recompute-clipsre-cuts their clips from the recordings. Run them withdry_run: truefirst:
curl -s -X POST https://yourname.vigiora.com/api/v1/guardian/entries/actions/recompute-clips \
-H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx" -H "Content-Type: application/json" \
-d '{"days":7,"camera_id":3,"dry_run":true}'The answer counts the entries examined, updated, covered (the subject is already in the clip), no_evidence, no_recording, unchanged and failed, and lists them. A second run changes nothing. Run recompute-frames after recompute-clips so the picture follows the new clip.
Analytics#
Analytics has 19 operations with the scopes analytics:read and analytics:write:
- Set up:
/analytics/lines,/analytics/zonesand/analytics/areas(list, create, change, delete), andGETandPATCH /cameras/{camera_id}/analyticsfor a camera's analytics settings. Lines and zones use image coordinates from 0 to 1. Crossing a line from the right of a→b to its left counts "in". - Read:
GET /analytics/counts(in and out through an area's entrance lines, one line or a camera, with an optionalstepseries),/analytics/occupancy(how many are in each area now),/analytics/dwell(time spent in zones) and/analytics/heatmap(a 64 × 36 grid of passes or stops). - Correct:
POST /analytics/areas/{analytics_area_id}/actions/set-occupancy. - Periods take
fromandto(a local time without an offset is in the server's time zone) orperiod(today,yesterday,this_week…). Counts are kept in 15-minute buckets. Whencovered_pctis under 100, the detector was not watching the whole period: say so when you report the numbers.
curl -s "https://yourname.vigiora.com/api/v1/analytics/counts?area_id=1&period=today&step=1h" \
-H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx"A camera needs the Analytics add-on and an object detector. Keys from Settings → People and access → API keys without scopes don't get analytics:read: use a scoped key or sign-in (see Authentication and scopes).
Floor plans#
Floor plans use the scopes floorplans:read and floorplans:write:
GET /floor-plan-sites, and/floor-plansto list, create, change and delete plans. Upload the image asmultipart/form-dataor asimage_base64in JSON: PNG or JPEG, at most 18 MB and 40 megapixels.GET /floor-plans/{floor_plan_id}/imageis the image (not an MCP tool).GET /floor-plans/{floor_plan_id}/itemsandPOST .../items/actions/replaceread and replace what is placed on the plan: cameras with their direction, angle and range, speakers, rooms and Analytics areas. Saves carry the plan'sversion; a stale one answers409 conflict.GET /floor-plans/{floor_plan_id}/liveis the live state: camera status, recording, unacknowledged alerts of the last 24 hours, and the occupancy of the Analytics areas on the plan.GET /cameras/{camera_id}/locationssays where a camera is, with a plain description such as "faces north-east, covers Reception".
Admins, and operators who manage the site, can change plans. Others see only the devices they may see.
Home Assistant#
The Home Assistant operations are under /integrations/home-assistant:
- Install and manage (admins):
GET /integrations/home-assistant(status,settings:read),GET .../discovered(Home Assistant found on the network,network:read), and the actionsinstall,connect-existing,update,update-integration,restartanduninstall(settings:write).reveal-owner-passwordneeds a user session. - The bridge (Home Assistant's devices in Vigiora):
GET .../bridgeand the actionsconnectanddisconnect;GET .../entitiesand.../entities/{entity_id}/actions/set-access(admins choose what is shared:none,readorcontrol);GET .../devices,PATCH .../devices/{entity_id}(camera and room links) andPOST .../devices/{entity_id}/actions/command;.../room-signals/{room_id},.../triggers,.../rule-actions/{alert_rule_id}andGET .../action-log. Pending approvals (.../pending-actions, approve and deny) need a user session. - Scopes:
devices:read,devices:writeanddevices:control, admins and operators only. A device command that Home Assistant refuses or can't run answers502 device_failed. Locks, alarm panels and sirens are sensitive: a command needsacknowledge_sensitive: true, and over MCP it always asks the person, even with human in the loop off. - Home Assistant's token is never returned or logged.
New error codes#
stream_unavailable (503), speaker_not_supported (422), entry_protected and entry_shared (409) and device_failed (502). See Conventions.
API 1.26 to 1.30: Analytics alerts, door displays, integrations and more#
Server 1.6.15 adds API 1.26.0 and server 1.6.16 adds API 1.27.0 to 1.30.0, all additive: 36 new operations (383 in all) and no new scopes. Writes are confirm operations for human in the loop. GET /server lists the new optional features in features: mqtt, chat_notifications, picture_links, analytics_queues, analytics_bays, analytics_alerts and analytics_display.
Analytics: queues, bays, speed and more#
New read operations (analytics:read), with the same periods as the other Analytics reads:
GET /analytics/queues: people queuing now and waiting times per queue zone.GET /analytics/bays: each parking bay free or taken, with the current stay, and stays over the period.GET /analytics/speed: average and fastest speeds per class on calibrated cameras, withcalibratedsaying whether a camera of the scope has a reference distance.GET /analytics/busy-hours: a weekday × hour grid, in local time.GET /analytics/flows: the top 10 flows on a camera, from one line or zone straight to another.GET /analytics/pathsreturns the paths themselves (not an MCP tool).
Zones gain kind (zone, queue or bay), queue_min_wait_sec, reserved_schedule and max_stay_min; areas gain open_hours; a camera's analytics settings gain calibration (two points and metres). Schedules use one weekly format: an object keyed mon to sun, each an array of ["HH:MM","HH:MM"] local-time windows, the end excluded, an end before the start running past midnight, a missing day closed, and null for always. See Queues, parking and speed.
Analytics alert rules and door displays#
GETandPOST /analytics/alert-rules, andPATCHandDELETE /analytics/alert-rules/{analytics_alert_rule_id}: rules with akind, exactly one target (zone_id,line_id,area_idorcamera_id),params, aschedule,channels(push,email,webhook,telegram,line,snapshot),severityandcooldown_sec(default 300). The kinds and their parameters are in the API reference and on Analytics alerts.GET /analytics/alert-events: the history of firings with the measuredvalueand thedetection_idof the alert raised. Alerts carrysource: "analytics"and a labelanalytics:<kind>;POST /alertsrefusesanalytics:andplate:labels.GETandPOST /analytics/displays,DELETE /analytics/displays/{analytics_display_id}: door displays. The token and its address are in the answer to the create only. The public page and its JSON are not part of v1.
Add a camera: device facts and Move to DHCP#
- Network scans (
/network/actions/scan) now ask cameras to identify themselves (SADP, Dahua, ONVIF, SSDP, mDNS). Devices carrymodel,firmware,serial,name,discovery,dhcp,activated,vendor_class(modulefor generic Wi-Fi modules),known_camera_name, andip_conflictwithconflict_mac. detectanddetect-batchreturn the camera'smanufacturer,model,firmware,serial,ptz,audio_in,audio_out,has_audio, acredential_hintand asuggested_name.add-detectedtakeswidth,height,fps,hal_objectsandai_guardian_enabled(off unless you set it).POST /network/devices/actions/move-to-dhcp(admins,cameras:write, a confirm operation) switches a camera with an address conflict to DHCP in the background: it answers202with aLocation, andGET /network/dhcp-moves/{job_id}follows the steps. See Move a camera to DHCP.
Integrations: MQTT, Telegram and LINE#
GET and PATCH /integrations/mqtt, /integrations/telegram and /integrations/line, and their actions/test (settings:read for admins and operators, settings:write for admins). Passwords and tokens can be set but are never returned: the answer says password_set or token_set. The PATCH operations refuse Idempotency-Key, because they carry secrets. Alert rules and room alert rules gain telegram_enabled and line_enabled. See Integrations.
Several Home Assistant instances#
/integrations/home-assistant/instances lists, creates, changes and deletes Home Assistant instances, with connect, disconnect and test actions and each instance's entities and set-access. The older operations keep working on the first instance. Devices, triggers, rule actions, pending approvals and the action log carry instance_id and instance_name, and a device of another instance has a key like 2:light.porch. See Several Home Assistant instances.
Webhooks, share links and picture links#
- Webhooks carry their newest delivery:
last_delivery_at,last_delivery_statusandlast_delivery_code. DELETE /shares/{share_id}revokes any share link by its id, including the picture links Telegram and LINE alerts use.
API 1.31 to 1.33: camera catalogue and floor plans from a description#
Server 1.6.17 adds API 1.31.0 to 1.33.1, all additive: 6 new operations (389 in all) and no new scopes. None of them is a confirm operation for human in the loop. GET /server lists the new features camera_catalog and floor_plan_describe, and camera_catalog_version.
The camera catalogue#
The server embeds the Vigiora camera catalogue, the data behind Supported cameras: brands with their stream address templates, login advice, default ports and hardware address prefixes, and models with whether they stream locally (data licensed CC BY-SA 4.0).
GET /cameras/catalog?q=&limit=(cameras:read, admins and operators): a free-text search over brands and models,qof 1 to 100 characters, at most 50 results. EachCameraCatalogEntrycarriesbrand_id,brand,model(nullfor a brand),name,aliases,type,rtsp(yes,no,firmware-dependent,via-hubormodel-dependent),ptz,audio,verified,source,notes,credential_hint,default_username,rtsp_portandtemplates. Templates keep the literal{host}and never carry a login.GET /cameras/catalog/brands: the brands alone.NetworkDevice.catalog(scan results) andCameraDetection.catalog(detect,detect-batch) say what the catalogue recognised: aCameraCatalogMatchwithmatched_by(model,model_pattern,brand,oui,oui_sharedormodule_hint),rtsp,verified,templatesfilled with the device's address, andlikely_brandsfor a module maker's prefix. A scanned device gets acatalogonly when it looks like a camera, so phones get none.detectanddetect-batchtakemodel(a cataloguemodel, such asTapo C230): that model's templates are tried first, and the user name advice follows the brand. For Hikvision and Dahua, whose ONVIF user can differ, an ONVIF refusal is followed by one try of the model's main stream with the same login: the camera sees the login twice, which the lockout guard counts as two.- The failure enum gains
no_local_stream: the catalogue is sure the camera sends video only to the maker's app and cloud.suggested_namefalls back to the catalogue name.
Floor plans from a description#
For a site with no drawing, the AI draws a schematic plan from words (floorplans:write, admins and operators who manage the site; floorplans:read to read the layout). Each AI call is charged like a Guardian chat; 503 ai_unavailable when the server has no AI (details.reason: not_configured) or the AI gave no usable plan (no_usable_plan), 402 insufficient_credits when out of credits. See Describe your plan with AI for how to write a description.
POST /sites/{site_id}/floor-plans/describe(descriptionof 10 to 4000 characters, optionalfloor_numberandname; idempotent) answers201with aFloorPlanGeneration: the newfloor_plan(version 1,source: ai), thelayout,placed_camerasandunplaced_cameras(names that matched none of your cameras). The whole generation is limited to 60 seconds.POST /floor-plans/{floor_plan_id}/actions/refine(instructionof 2 to 2000 characters; idempotent): the AI gets the current layout, with the cameras where their pins are now, and returns the whole new layout, drawn as a new version of the same plan. Areas and cameras the instruction doesn't mention keep their position, size, relations and camera fields; cameras placed by hand arepinnedand stay.400 validation_errorfor an uploaded plan.POST /floor-plans/{floor_plan_id}/layout/actions/undo: back to the layout before the last refine, one level, no AI call;unplaced_camerasis the restored layout's.GET /floor-plans/{floor_plan_id}/layout:layout(nullfor an uploaded plan),can_undoand the description chat inturns(at most 40). Withformat=svgthe layout is drawn as an SVG with the cameras and their view (404 for an uploaded plan).FloorPlan.sourceisuploadorai.
The layout is in metres, origin at the north-west corner, x east and y south, headings clockwise from north:
areas[]:id,name,kind(room,outdoor,corridor,garage,pool,garden,other),x,y,w,h,floor, and from 1.33.1 the optionalsize_m([w, h]the description gave) andrelations[]({to, kind}withkindone ofbehind,in_front_of,left_of,right_of,north_of,south_of,east_of,west_of,next_to,inside,across). The server lays the areas out from the relations rather than trusting the AI's coordinates.openings[]:between(two area ids, oroutside) andkind(door,gate,opening).cameras[]:monitor_id(nullwhen it matches none),name,x,y,heading_deg,fov_deg, and from 1.33.0 the optionalmounted_on(the area it is fixed to),looks_at(the areas it looks at, main one first),wall,facing,mention(which sentence of the description it stands for) andpinned.compass(the plan shows a north arrow) andnotes(what the AI assumed or could not place).
The stored plan image has no cameras drawn on it: the pins are plan items, as for uploaded plans, so list_floor_plan_items and get_camera_locations work the same.
API 1.34 and 1.35: AI views, linked chat answers, AI availability and transcripts#
Server 1.6.18 adds API 1.33.2 to 1.35.0, all additive: 11 new operations (400 in all) and no new scopes. One of them, DELETE /views/{view_id}, is a confirm operation for human in the loop; composing and refining views and translating and summarising transcripts are reviewed-harmless writes that use AI credits. GET /server lists the new features ai_view and transcript_translate, and carries ai, the AI availability.
AI views#
An AI view is what the AI mode on Cameras shows (see AI mode): the caller says what to check, the AI answers with a view, and the server resolves it against what the caller can see. Views belong to the caller (guardian:write to compose and change, guardian:read to list and read; every role).
POST /views/actions/compose(promptof 3 to 2,000 characters; idempotent) answers201with theView:id,prompt,title,summary,pinned, thespecand the times. Thespechastitle,summary,cards[],layout.cols(1 to 4) andnotes[], what the server changed: a name that matched no camera, a camera that cannot show a card, cards over the cap. Each card has akey(c1,c2, …), akind(live,floor_plan,alerts,faces,plates,transcript,recordings,people_count,occupancy,queue,parkingorheatmap),title,monitor_ids(resolved, visible cameras; at most 8 on a live card),labels,params(hoursfor the event cards, 1 to 168, default 24;periodfor the data cards:today,yesterday,last_7_daysorlast_30_days;class,rangeandlayerfor heatmaps;area_ids,zone_ids,floor_plan_id,date) andsize(s,m,l). At most 12 cards, live first.POST /views/{view_id}/actions/refine(instructionof 3 to 2,000 characters; idempotent): the AI gets the current view and returns the whole new one; cards the instruction does not mention are carried over.GET /views(pinned first, then by last opened; at most 200),GET /views/{view_id}?open=0|1(opening moves it to the top of the recent views),GET /views/suggestions(three example requests written from the caller's cameras, Analytics and microphones),PATCH /views/{view_id}(pinned,title,card_keysto keep only some cards) andDELETE /views/{view_id}(a confirm operation).- The server gives the model a catalogue of the caller's cameras (site, tags, rooms, capabilities: recording, audio, transcript, Analytics, faces, plates), Analytics areas and zones and floor plans, never the video. 30 unpinned views are kept per user; the oldest opened go when more are composed. Each compose or refine is charged like a Guardian chat (feature key
ai_view);402 insufficient_creditswhen out of credits,503 ai_unavailablewithdetails.reason(not_configured,no_usable_view, or a provider reason, see below). GET /detections?label=plate(internal) andlist_alertswithlabel=platenow matchplate:<text>rows likefacedoes.
Linked chat answers and AI availability#
POST /guardian/chat(API 1.34.2) answers{reply, events, refs}. Thereplycarries a reference token right after the time of every sighting it cites ([[log:ID]]for a Guardian entry,[[det:ID]]for a detection,[[t:CAMERA:RFC3339]]for a moment with no entry of its own, such as something heard or a count), andrefs[]lists them in order of first use:token,kind,id,camera_id,camera_name,at,label,has_clip,has_frame. Tokens the server could not match to a moment are stripped from the text; a plain clock time with exactly one matching moment gets its token.GET /guardian/conversations/{conversation_id}/messagesreturns the storedrefsof every answer, with camera names. The model also has asummarize_periodtool (today, yesterday, last 24 hours, this week, or a range up to 8 days) and around HH:MM questions are answered from the 15 minutes either side.GET /servercarriesai(API 1.34.1, 1.34.2):status(ok,degradedorunavailable),reason(provider_402out of credit,provider_429rate-limited,provider_5xxfailing, or a cloud reason),since(this process's pause),first_failure_at(the first refusal of the pause, kept across restarts),retry_at(the next probe) androute(gateway, Vigiora's AI service;own_keyreserved for a key of your own). While AI is paused,chat,describeCamera,composeView,refineView,describeFloorPlan,refineFloorPlan,translateTranscriptandsummarizeTranscriptanswer503 ai_unavailablewithdetails.reasonanddetails.retry_atinstead of calling the provider. See AI features are paused.- Faces (API 1.33.2): a pending face carries
has_cropandbbox(fractions of the frame,xandythe top-left corner);GET /faces/{face_id}/cropserves the face as the face service cut it (alerts:read, viewer permission on the camera);getFacePhotois still the whole frame with the box drawn.DELETE /faces/{face_id}also takes a pending face (det-<alert id>); withnot_a_face=truethe camera's face service ignores that spot for an hour.
Transcripts#
The speech-to-text segments of a camera or microphone, and the tools of the transcript panel (API 1.35.0; guardian:read to read, guardian:write to translate and summarise; viewer permission on the camera):
GET /cameras/{camera_id}/transcript?from&to&limit&cursor: the segments in[from, to](default the last 24 hours, at most 7 days), oldest first, the newest 2,000 rows, paged withnext_cursor. Each hasstarted_at,ended_at,text,language,speakerandsource. The client joins consecutive segments into passages, as the app does.POST /cameras/{camera_id}/transcript/actions/translate(passages[]of{id, text}, at most 50, 2,000 characters each and 20,000 in all;toan ISO 639-1 language) answers{to, data[]}with a translation perid, in one AI call. 45 seconds at most.POST /cameras/{camera_id}/transcript/actions/summarize(minutes1 to 1,440,language) answers{camera_id, language, summary, from, to, segments}: 2 to 4 sentences on the speech of the lastminutes. An empty window gives an emptysummaryand no AI call.- Both are charged like a Guardian chat, under the feature keys
transcript_translateandtranscript_summarize;402 insufficient_credits,503 ai_unavailable,429when too many.
API 1.36 to 1.41: camera names, Zigbee, IoT devices, rooms on the plan and client errors#
Server 1.6.19 adds API 1.36.0 to 1.41.0, all additive: 28 new operations (428 in all) and no new scopes. The Zigbee set-up and pairing window, sharing or hiding a device, forgetting it and removing it from the network are confirm operations for human in the loop; naming a camera, syncing rooms, renaming, reconfiguring and identifying a device and resolving client errors are reviewed-harmless writes. The three built-in add-on services are renamed hal-video, hal-audio and hal-live (API 1.36.1); the old gemini-* names are still accepted as input everywhere a service name is sent, and answers carry only the new ones.
Camera names and unlocking a refused login#
POST /cameras/actions/suggest-name(API 1.36.0;cameras:write, admins and operators) takes acamera_id(its cached snapshot) or thesnapshot_jpeg_base64of a camera being added, with optionalsite_id,vendor,model,ip,current_nameandlanguage, and answers{name, room, position, alternatives[], reason, others[]}: a name of the form "Room – position", in the style and language of the caller's other cameras (others), which the model sees with up to six of their latest frames. It renames nothing. Charged like a Guardian chat under the feature keycamera_name;503 ai_unavailablewithout AI.POST /cameras/actions/detectanddetect-batchtakeunlock: true(API 1.36.0): the server forgets that camera's refused credentials and failure budget and sends the login once more. A429from the endpoint's own rate limit is not unlockable.
Zigbee through Home Assistant#
For the Home Assistant Vigiora installed (API 1.37.0 and 1.39.0; settings:read and settings:write, admins):
GET /integrations/home-assistantcarriesdevices(the USB serial devices passed into the container),devices_pending(plugged in since) andzigbee(whether a stick was found and set up, the port and radio type, the last error).POST /integrations/home-assistant/actions/setup-zigbee(202, a job ofaction: setup_zigbee) walks ZHA's own config flow: probe, reuse the network on the stick or form one. Never flashes firmware.POST /integrations/home-assistant/actions/zigbee-permit-join({ieee}of a router, optional) opens the pairing window for 120 seconds and answers{duration_seconds, open, until, seconds_left, ieee}.GET /integrations/home-assistant/zigbee/devices:devices[]withieee,nwk,name,user_name,manufacturer,model,power_source,lqi,rssi,available,last_seen,first_seen_at,coordinator,can_identify, itsentities[](withkind,state,accessand whether Vigiora finds ituseful),exposed,auto_exposedandhidden, plus thepermitwindow andbridge_connected;POST …/zigbee/devices/{zigbee_device_id}/actions/rename({name}),reconfigure,identify,expose,unexposeandremove. The coordinator refuses rename, remove and expose with409.
IoT devices#
One list of the devices Vigiora knows, from every Home Assistant instance and from the Zigbee network (API 1.39.0 and 1.40.0; devices:read and devices:write, admins and operators):
GET /iot/devices?q&type&source&state&room_id&shared&refresh&limit&cursor: paged, withkey(<instance>:<device>, theiot_device_idof the other operations),instance_idandinstance_name,name,manufacturer,model,area,source(home_assistant | zigbee) with thezigbeefacts,online,battery,low_battery,signal,types[],headline[](up to three live values, each{kind, entity_id, value, unit}),room_ids,managed_room_ids(from floor-plan pins),camera_ids,shared,shared_entitiesandentity_count.typeis one ofsensor,binary_sensor,switch_light,lock_cover,climate,button,camera_linkedorcoordinator;stateone ofonline,offlineorlow_battery.GET /iot/devices/{iot_device_id}: the device with itsentities[](entity id, name, domain, device class, livestate,unit,last_changed,access,controllable,sensitive,signalwithsignal_autoandsignal_override, and theroom_ids,managed_room_ids,camera_ids,trigger_idsandrule_idsthat use it) and itsfloor_plans[](plan, pin, the reading it shows, the room it falls in);GET …/entitiesthe entities alone.PATCH /iot/devices/{iot_device_id}:name(a Zigbee device is renamed in Home Assistant too),room_ids,camera_idsandmappings[]of{entity_id, signal}to override what Vigiora reads an entity as (door,motion,occupancy,vibration,smoke,moisture,temperature,humidity,illuminance,battery,power,switch,light,button,lock,cover,climate,unknown, ornullfor automatic).POST /iot/devices/{iot_device_id}/actions/forget(drops Vigiora's exposure, links and mapping; Home Assistant keeps the device),expose,unexpose,reconfigure,identify, andremove(Zigbee only, admins).GET /iot/zigbee: whether Zigbee isavailableandconfiguredon this server, and the pairing window (permit:open,until,seconds_left) read live.
Rooms on the floor plan and device pins#
- A
Roomcarriessource(manual,planorvirtual),floor_plan({id, name, item_id}for a room drawn on a plan, elsenull),managedon each of itscameras[](true for a camera whose pin is inside the outline),devices[](the Home Assistant entity ids that are its signals) andmanaged_devices[](the ones pinned inside it; API 1.38.0 and 1.40.0).RoomWritetakessource(manualorvirtual; a plan room's source can't be changed,400) anddevice_entity_ids(Home Assistant entities, at most 30; needs the bridge). APUTkeeps the managed members. GET /floor-plans/{floor_plan_id}/rooms(floorplans:read) lists the rooms drawn on a plan with their outline item;POST /floor-plans/{floor_plan_id}/actions/sync-rooms(floorplans:write) recomputes rooms and members from the plan's items, which every items write does on its own, and answers what it changed (rooms_created,rooms_renamed,cameras_added,cameras_removed,devices_added,devices_removed); it is idempotent and reviewed harmless.- Floor plan items have a new
kind,device, withdevice_key(<instance>:<device>) and an optionalentity_id, the reading the pin shows;GET /floor-plans/{floor_plan_id}/livecarries each device's live value. A device item inside a room outline makes the device a managed member of that room (its exposed entities become room signals); links made by hand are never removed. The config export carriessource,managedand the device items.
Client errors#
The web app reports uncaught errors to POST /api/client-errors (an internal, public endpoint: 10 reports a minute per address signed out, 60 per user signed in; a bearer token names the user). For whoever maintains the server (API 1.41.0; settings:read and settings:write, admins):
GET /system/client-errors?unresolved&since&q&limit&cursor(unresolved by default, newest last seen first) andGET /system/client-errors/{client_error_id}:id,fingerprint,message,stack,component_stack,url(path only),web_build,server_version,user_agent,user_idandrole,first_seen_at,last_seen_at,count,resolved_atandresolved_note.POST /system/client-errors/{client_error_id}/actions/resolve({note}, audited),…/unresolveandPOST /system/client-errors/actions/resolve-all({note}, answers{resolved}). A resolved cause reported again reopens on its own. At most 2,000 causes are kept.
API 1.42 to 1.53: Bluetooth, camera clocks, device control, PTZ presets and the library#
Server 1.6.20 adds API 1.42.0 to 1.53.0, all additive: 39 new operations (467 in all) and one new scope, devices:control. Controlling a device, fixing a camera's clock, setting a Client's time zone, moving or deleting a PTZ preset, deleting a library item or album and running a Bluetooth scan are confirm operations for human in the loop; the reads and the other writes are not. The three built-in add-on services keep the hal-video, hal-audio and hal-live names from 1.6.19.
Bluetooth#
A survey of the Bluetooth devices around the server (API 1.42.0; devices:read/devices:write, admins and operators; Linux only). Nothing is paired or connected.
GET /bluetooth: whether a scan is possible (available, with areasonwhen not), the adapter, the scan settings (also onGET /settingsasbluetooth_enabled,bluetooth_scan_interval_minutes,bluetooth_scan_seconds), whether a scan runs now, the last andnext_scan_at, and the device counts.GET /bluetooth/devices: every device a scan has seen, with what it advertised (name, maker from the SIG company id, services, manufacturer and service data, signal), akind/label/confidenceclassification, andfirst_seen,last_seen,seen_countandnew_today. Devices that rotate a random address are kept as one entry (random_address,address_changes).GET /bluetooth/devices/{bluetooth_device_id}: the device with areport(what it is, the data it could provide, how Vigiora could use it, each line with a stablecodeand Englishtext).PATCH /bluetooth/devices/{bluetooth_device_id}: anote(≤ 500 chars) andignored.POST /bluetooth/actions/scanruns a scan now;GET /bluetooth/scansthe scan history.
Camera clocks#
A camera keeps its own clock; one that is hours off or stuck in 1970 stamps its events wrongly. Vigiora reads and fixes it (API 1.45.0 to 1.50.0; cameras:read/cameras:write, admins and operators):
GET /cameras/{camera_id}/clock: the latest check —statusok,drift(offset_secondsis the camera's UTC minus the server's),timezone,no_ntporunknown— with a plainmessage. Read over ONVIF, Hikvision/EZVIZ ISAPI, or Reolink's own API (API 1.48.0, so Reolink cameras need the Reolink app less). Compared with the camera'ssite_timezone(API 1.50.0: the camera's own, its client's, or the server's). A camera behind a Client is read through the client (needs vigiora-client 1.16.0+; an older one answersunknown).refresh=truechecks now.POST /cameras/{camera_id}/actions/set-clock: sets the camera's clock to the server's UTC now, its time zone to the site zone, and time sync (NTP) on.PATCH /cameras/{camera_id}/clock: sets (nullclears) the camera's own site zone, the zone it is compared with and set to. Audited.GET /settingscarriescamera_clock_autofix_enabled: with it on, the background check (every 6 hours, on add, every 10 min while a clock can't be read) fixes a bad clock on its own.PATCH /clients/{client_id}(API 1.50.0;cameras:write, admins):timezone_overridefor every camera behind a Client (null= the zone the client reports, client 1.16.0+). Audited.- When adding a camera:
POST /cameras/actions/check-clockandPOST /cameras/actions/set-clockwork on a camera not yet saved.
PTZ presets#
Manage a camera's presets, not only save and go to (API 1.51.0; cameras:control, admins and operators):
GET /cameras/{camera_id}/ptz/presets/{preset_token}reads one preset.PATCH …/{preset_token}:namerenames it (an emptynameclears it);position: "current"stores the camera's current position into it, keeping the name. Reolink stores the name on the camera; other cameras can't rename without re-saving the position, so Vigiora keeps the name itself (name_in_vigiora: true).DELETE …/{preset_token}removes the preset (ONVIF RemovePreset / Hikvision ISAPI) and the name Vigiora kept for it.
Control a Home Assistant device#
POST /iot/devices/{iot_device_id}/entities/{entity_id}/actions/set (API 1.47.0; the new devices:control scope, admins and operators) changes one entity as its control description allows: values sets writable fields (a light's on, brightness_pct, one colour rgb/hs or color_temp_kelvin; a switch's or siren's on; a cover's position; a lock's locked + code; an alarm's mode + code; a number's value; a select's option; a notify service's message/title), or command runs one of its commands (open, close, stop, press, lock, unlock). Values are checked against the description (400 with the field) and map to exactly one Home Assistant service. devices:control implies devices:read; it can't be granted to viewers.
Library#
Keep saved pictures and clips on the server (API 1.52.0; recordings:read/recordings:write, with clips:share for public links):
- Items:
GET /library/items(filter by folder, kind, camera, album…),POST /library/items(save a clip export),GET/PATCH/DELETE /library/items/{item_id}(rename, move or annotate),GET …/media(the file) andGET …/thumbnail, andPOST /library/uploadsto upload a picture or clip.GET /library/statsis the storage use. - Folders:
GET/POST /library/folders,POST /library/folders/actions/move(rename or move) and…/actions/delete(an empty folder). - Albums:
GET/POST /library/albums,GET/PATCH/DELETE /library/albums/{album_id},…/actions/add-items,remove-itemsandreorder. - Shares:
POST /library/items/{item_id}/sharesandPOST /library/albums/{album_id}/sharesmake public links (clips:share).
The item file (/library/items/{id}/media) and uploads are signed-media / multipart, so they aren't MCP tools.
API 1.54 to 1.57: PTZ patrols, health reports and camera-speaker alerts#
Server 1.6.20 adds API 1.54.0 to 1.58.0, all additive: 30 new operations (497 in all) and no new scopes. Starting, resuming or setting up a patrol, and accepting or deleting one, are confirm operations for human in the loop; the reads and status are not.
PTZ patrols#
Have a camera walk its presets on its own (API 1.56.0; cameras:control, admins and operators). Moves go through the same path as a manual PTZ move, so motion is muted while the camera moves:
- Patrols:
GET/POST /cameras/{camera_id}/ptz/patrols(list, create),GET/PATCH/DELETE /cameras/{camera_id}/ptz/patrols/{patrol_id}(read, edit, remove). A patrol is ordered steps (preset, dwell, speed) plus loop/once, random order, a home preset, a schedule, an On activity behaviour (activity_behavior:continue,pauseorfollow— API 1.58.0) and pause-after-a-manual-move (default 120 s).followturns the camera toward the motion and holds on it until the scene is quiet, then resumes; the legacypause_on_activityboolean is still accepted and derived. - Run it:
GET …/ptz/patrol(where a running patrol is: step, next move), andPOST …/ptz/patrol/actions/start,stop,pauseandresume.GET /ptz/patrols/activelists the patrols running across all cameras. One patrol runs per camera; a camera behind a Client is refused with the Client's name. - Automatic setup:
POST …/ptz/patrol-scansstarts it (202); pollGET …/ptz/patrol-scans/{scan_id}throughlimits → looking → deciding → proposal;GET …/pictures/{picture_id}reads a scan frame;…/actions/acceptsaves the proposed patrol and…/actions/cancelremoves the presets the scan added. Vigiora AI labels each view and picks its dwell (AI credits); a manual move stops the scan.
A preset now carries dwell_seconds (3–3600, default 10) on GET/PATCH /cameras/{camera_id}/ptz/presets/{preset_token} — how long a patrol rests at it.
Daily health report#
GET /system/health is the server's own hardware check — disks (SMART), temperatures, memory and storage — with a status and plain-language findings (API 1.55.0; admins). GET /system/health/reports/latest and …/reports read the daily reports, GET …/inventory the hardware inventory, POST …/actions/run runs a check now, and GET/PATCH …/settings read and set when it runs. These are read/admin operations, not confirm operations.
Sound a camera's speaker#
POST /cameras/{camera_id}/actions/speak says a message through the camera's own speaker — an alert rule uses it to warn on the spot (API 1.54.0; cameras:control, admins and operators). A camera with no speaker is 404.
Object recognition and add-on reports#
In the app these services are now called add-ons (from server 1.7.0). The API keeps the older names, runners and the hal-… service codes, so nothing you built breaks.
Server 1.6.10 adds object recognition to the API. It runs on an add-on (Objects, service code hal-objects), on a machine with an NVIDIA GPU: a preview available on request. Without it, the operations below answer 503 no_detector.
Detection events with add-on reports#
GET /cameras/{camera_id}/detection-events (alerts:read) is one feed of everything detected on a camera, oldest first:
- this server's own detections, grouped into events, with
source: "core-ai"; - the reports of the add-ons attached to the camera, with
sourceandserviceset to the service, for examplehal-objectsorhal-face,confidenceandbboxread from the report, and the report itself inattributes(when at most 2 KB).
Filter with source (repeatable or comma-separated, for example source=hal-objects) and label (exact, for example label=black t-shirt), and from and to. HAL reports are kept 30 days by default (the hal_events_retention_days setting, 1 to 365), and at most 200,000 per service instance.
Guardian add-on context#
When Guardian analyses a clip, it also gets what the camera's object detectors reported from 5 seconds before to 2 seconds after it. The AI checks these reports against the video: it confirms and adds detail, and never reports what the video contradicts. The summary is short (no extra AI cost) and stored with the entry: the detections field of a Guardian entry lists each label with count (the most seen at once), max_confidence and tracks, best first. It is empty when nothing was reported, or when the camera's guardian_use_detections is off. In the web app the switch is Use object detections in descriptions; it is on by default when a detector service is assigned to the camera.
Find objects in a camera frame#
POST /cameras/{camera_id}/actions/detect-objects (cameras:read, viewers too) finds objects on one frame:
curl -s -X POST https://yourname.vigiora.com/api/v1/cameras/3/actions/detect-objects \
-H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx" -H "Content-Type: application/json" \
-d '{"prompts":["person","red t-shirt","parcel"]}'{
"camera_id": 3,
"objects": [ { "label": "red t-shirt", "confidence": 0.46, "bbox": { "x": 0.42, "y": 0.31, "w": 0.08, "h": 0.12 } } ],
"frame_time": "2026-11-01T07:37:05Z",
"model": "open-vocabulary detector",
"annotated_image_url": "/api/v1/object-images/img_0123456789abcdef0123456789abcdef"
}- Leave out
atfor the live frame, or sendat(with an offset) for a recorded moment. A recorded moment also needsrecordings:read. promptsare what to look for, in plain words: at most 20, 40 characters each. Without them the camera's own list is used. Describe what you look for:black t-shirtfinds more thant-shirt.min_confidencedefaults to 0.25.bboxis normalised to the frame (0 to 1,xandythe top-left corner).- With
annotate(on by default), the frame with the boxes drawn is kept for 15 minutes atannotated_image_url(GET /object-images/{image_id}), for the same credential only. - It only looks: nothing is stored as a detection, and it is not a confirm operation. At most 20 a minute per credential.
- Errors:
503 no_detector,504 detector_timeout(no answer within 10 seconds),502 detector_failed,422 clip_no_recordings(no recording atat),503 snapshot_unavailable.
Analyse with objects#
POST /cameras/{camera_id}/actions/analyze takes include_objects: true (and optional prompts). Object recognition then runs first on three live frames, one a second, its findings are given to the AI as context, and they come back in objects (the best detection per label). The entry is written to the Guardian log as usual.
Analyse an uploaded image#
POST /images/actions/analyze (cameras:read) describes and finds objects in a photo you send:
describe(default true) asks the AI for a short description. It uses AI credits and needsguardian:write.detect(default true) runs object recognition, with optionalprompts.- Send
multipart/form-datawith the file inimage(the options as form fields,promptscomma-separated), or JSON with the image inimage_base64(adata:URL is accepted). - JPEG, PNG or WebP, at most 10 MB and 40 megapixels (
413 payload_too_large,415 unsupported_media_type). - The image is never stored. The server decodes and re-encodes it (dropping its metadata), and only the annotated result, when asked for, is kept in memory for 15 minutes for the same credential.
- At most 6 a minute with
describe, 20 a minute for detection only. - AI agents over MCP use
image_base64: an MCP call carries at most 1 MB, so about 750 KB of image. Scale a large photo down first.
curl -s -X POST https://yourname.vigiora.com/api/v1/images/actions/analyze \
-H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx" \
-F image=@photo.jpg -F prompts="person,backpack"API 1.92 to 1.95: recording disk, compression and capacity#
Server 1.6.28 adds API 1.92.0 to 1.95.0. All changes are additive.
Recording disk, compression and capacity#
GET /cameras/{camera_id}/storage(cameras:read, 1.94.0): what a camera uses on disk. It returnsmeasured(from the camera's recordings of the last 7 days,nulluntil it has 1 hour of them),estimate(bytes_per_dayand itsbasis), thebytes_per_dayused,source(measured or estimate),retention_days,projected_bytesfor that retention andused_bytesnow.compress_after_daysonGETandPATCH /settings(1.92.0):0is off (the default),1to89compresses recordings of cameras kept longer than that many days once they are that old.GET /settingsalso returnscompressionwithcompressed_count,saved_bytesandpending_count. See Recording and retention.GET /system/capacity(settings:read, 1.95.0) returns the last capacity report and its verdict: how many more cameras the server can take and which limit applies (disk_write,disk_space,cpuornetwork).POST /system/capacity/actions/check(settings:write, admins and operators) measures now. See System page.
API 1.97 and 1.98: Guardian triggers and the recording in progress#
Server 1.6.29 adds API 1.97.0 and 1.98.0. Both changes are additive.
- Guardian entries (
GET /guardian/entries,GET /guardian/entries/{entry_id}and theguardian.eventevent) carrytrigger(motionordetection) andtrigger_label(1.97.0): what started the analysis, and the detector label (person,car,cat…) when it was a detection, elsenull. Entries made before 1.97.0 readmotion. Feature flag:guardian_triggers. GET /cameras/{camera_id}/timelinecounts the segment still being written up to its last write (1.98.0). Before, the newest footage appeared only when its segment closed, up to 10 minutes late. The span it ends hasin_progress: true, and itsendmoves forward on the next read. That segment has no recording id yet, so it is not inGET /recordingsuntil it closes. Feature flag:recording_in_progress.
API 1.99: find when a part of the picture changed#
Server 1.6.30 adds API 1.99.0. The change is additive. Feature flag: area_search.
POST /cameras/{camera_id}/area-searchesstarts a search of the camera's recordings betweenfromandto(at most 7 days) for the moments when something insideareachanged.areais a rectangle in fractions of the picture (x,y,width,height, each 0 to 1, from the top left corner).sensitivityislow,medium(the default) orhigh. The answer is202withstatus: running. Scope:recordings:write, because it starts work on the server; nothing is stored or changed.GET /cameras/{camera_id}/area-searches/{search_id}givesstatus,progress(0 to 1) andchanges, which fill in while the search runs. A finding of kindchangedmeans the area looks different afterwards;activitymeans something stayed in the area for a while and left it as it was.across_gapistruefor a change that happened while nothing was recorded. A change of the whole picture at once is counted inlighting_skippedand not listed.GET /cameras/{camera_id}/area-searches/{search_id}/changes/{change_id}/picture?side=before(orside=after) serves a JPEG of the area at that moment.DELETE /cameras/{camera_id}/area-searches/{search_id}stops a running search and forgets its result.
Two searches run at a time on a server; beyond that the answer is 429 with Retry-After. A result is kept for 30 minutes and lists at most 500 findings. The segment still being recorded is not read. In the app this is Find changes; see Playback.
API 1.100: HD clips of the periods with movement#
Server 1.6.31 adds API 1.100.0. The change is additive. Feature flag: hd_on_motion.
- A camera has a new field,
record_hd_on_motion, which you can read and set withPATCH /cameras/{camera_id}. It has an effect only next torecord_sub_stream: the camera records its sub-stream all the time and also saves the main stream for every period with movement. GET /cameras/{camera_id}/hd-recordings?from=…&to=…lists the HD clips that overlap the range (at most 31 days, at most 2000 clips per answer), oldest first. Each hasstart_time,end_time,duration_seconds,size_bytesand amedia_url. Scope:recordings:read.GET /cameras/{camera_id}/hd-recordings/{hd_recording_id}/mediaserves the clip as MP4 in H.264, withRangerequests;download=trueanswers an attachment.- HD clips cover the same time as the continuous recording, so they are not part of
GET /recordingsor the timeline. POST /clipsandGET /guardian/entries/{entry_id}/clipuse the HD footage when the HD clips hold the whole window, and the continuous recording otherwise.GET /cameras/{camera_id}/storagecounts the HD clips:hd_bytes_per_dayis their part ofbytes_per_day,hd_sourcesays whether it ismeasuredor anestimate, and the query takeshd_on_motion.
In the app this is Record in HD when there is movement; see Recording and retention.
API 1.101 and 1.102: ONVIF switch and camera order#
Server 1.6.33 adds API 1.101.0 and 1.102.0. Both changes are additive.
- 1.101.0: a camera has a new field,
onvif_enabled(defaulttrue), which you can read and set withPATCH /cameras/{camera_id}. When it isfalse, Vigiora sends nothing to the camera over ONVIF, andhas_ptzreadsfalsefor a camera whose PTZ is driven over ONVIF. PTZ calls for it answer409 onvif_disabled. The saved PTZ settings are kept and come back when it istrueagain. - 1.102.0: a camera has a new field,
sort_order(1 is first,nullwhen the camera was never ordered), andGET /cameraslists the cameras in that order.POST /cameras/actions/reordertakescamera_idsin the new order and sets one order for the whole server and every user. It needs thecameras:writescope and the administrator or operator role. An id the caller cannot view answers404 not_foundand nothing changes.
In the app these are Use ONVIF and Reorder; see PTZ cameras and Monitors list.
API 1.103: camera brand, model and shape#
Server 1.7.0 adds API 1.103.0. The change is additive. A camera has four new read-only fields:
brand: who made the camera (Hikvision,Reolink…), ornullwhen it is not known yet.model: the camera's model as the camera reports it (DS-2CD2047G2-LU), ornull.brand_source: wherebrandcomes from, andnullexactly whenbrandisnull.camerameans the camera said so.catalogmeans the camera catalogue recognised it when it was added.networkmeans the camera's network hardware address (MAC prefix) is registered to this brand.network_modulemeans the prefix belongs to the maker of the camera's network module, sobrandis that maker and not the camera's brand.body_type: the shape of the camera's housing, one ofbullet,dome,turret,ptz,cube,doorbellorbattery, ornullwhen it is not known. It comes from the catalogue entry formodel, elseptzfor a camera that can be moved.
You get them with GET /cameras and GET /cameras/{camera_id}. You cannot set them: Vigiora asks the cameras on its own network by itself, a few minutes after the server starts and then about daily. In the app this is the Camera block on the camera's edit page; see Camera settings.
API 1.104: add-ons#
Server 1.7.1 adds API 1.104.0. The change is additive. Six operations, all for administrators, cover the community add-ons the app shows in Settings → AI and add-ons → Add-ons:
GET /addons/catalogandGET /addons/catalog/{addon_id}: the catalogue, with the price, the hardware check against this server and the manifest of one add-on. Needssettings:read.GET /addons: the community add-ons installed on this server, with their state, progress, the permissions they were given andupdate_versionwhen a newer approved version exists. Needssettings:read.POST /addons/{addon_id}/install,POST /addons/{addon_id}/updateandDELETE /addons/{addon_id}: install, update and remove. They needsettings:writeand are on the list of operations AI agents must ask about.
Installing answers 202 at once. Follow GET /addons for the progress. An add-on that is paid, suspended, does not fit the hardware or is already installed answers 409 conflict. An add-on that asks for elevated access (privileged, host network or the graphics card) answers 403 forbidden with reason: elevated_access: install it in the web app, which asks for the admin password again. Installing from a git address (developer mode) is also only in the web app. The four Vigiora add-ons keep /runners. See Community add-ons.
API 1.105: sirens and Stop all sounds#
Server 1.7.3 adds API 1.105.0. The change is additive. Five operations cover the sirens Vigiora sounds and the red Stop all sounds button of the app (see Sounds and sirens):
GET /sounds/active: every siren Vigiora started that may still be sounding or is being switched off, with itsstate(starting,sounding,self_ending,stopping,stop_failed), when its off is due (stop_by) andhushed_until, the end of the 10-minute pause on automatic sounds. Needsalerts:read.POST /sounds/actions/stop-all: makes everything quiet and answers honestly withstopped,stoppingandendingcounts. Needsalerts:read, open to every role that can see alerts. An admin or operator (withcameras:controlfor a key) also reaches Home Assistant sirens and light effects, and starts the 10-minute pause on automatic sounds. It always answers200, also when nothing sounds, and needs no confirmation.POST /cameras/{camera_id}/actions/sirenandPOST /cameras/{camera_id}/actions/stop-siren: sound and switch off a camera's built-in siren (Reolink and Hikvision cameras on the local network). Starting needscameras:control, is for admins and operators, and is on the list of operations AI agents must ask about.secondsdefaults to 10. Vigiora plays at most 15 seconds per run and 60 seconds per camera in 10 minutes (429 rate_limited). A camera that cannot sound a siren answers422 speaker_not_supported, a camera already playing a sound answers409 conflict, and so does a camera whose last siren was not confirmed off (reason: siren_not_off). Stopping needsalerts:readand is always safe.POST /sounds/{sound_id}/actions/dismiss: say that a siren Vigiora could not switch off is quiet now. Needscameras:control, is for admins and operators, and is on the list of operations AI agents must ask about, because a wrong dismissal leaves a siren sounding with nobody trying to stop it.
Plays from POST /alert-speaker/actions/test and the alert speaker's recent plays carry run_id, stop_state and stop_attempts. A Home Assistant siren.turn_on through POST /iot/devices/{iot_device_id}/entities/{entity_id}/actions/set follows the same limits (429 with reason: siren_limit, 409 with reason: sounds_paused or siren_not_off). siren.turn_off and the stop operations cover these sirens too.
The assistant in the app has the tools stop_all_sounds, stop_siren and start_siren. The first two never ask. start_siren is for signed-in admins and operators and asks first while human in the loop is on. Over MCP the tools are list_active_sounds, stop_all_sounds, stop_camera_siren, start_camera_siren and dismiss_sound; see MCP.
API 1.106: alerts from add-ons#
Server 1.7.4 adds API 1.106.0. The change is additive, with no new operation and no new scope:
Alerthas a new fieldaddon:{id, name}of the community add-on that reported the alert, ornullfor every other alert. The server sets it; it cannot be claimed in a request. The alert'ssourceis thenaddon-<id>. See Raising alerts.CameraLabelhas a new fieldresults_only. It istruefor a label of a community add-on that can never raise an alert (the add-on was not givenalerts:write, the label is not under a prefix it owns, or it is no longer installed): a label alert rule on it never fires. It isfalsefor every other label.
Add-ons report with the HAL API (POST /api/hal/events, GET /api/hal/frame), which is not part of /api/v1.
API 1.107 to 1.115: security, privacy, automations and speech#
Server 1.8.0 adds API 1.115.0. Everything below is additive. The operations and their scopes are in the API reference.
1.107: two-factor sign-in and signed-in devices#
A new Account tag. GET /account/two-factor shows the caller's two-factor status, and GET /account/sessions lists the signed-in devices (scope account:read). DELETE /account/sessions/{session_id} signs a device out (scope account:write). Turning two-factor on or off, making new recovery codes and POST /account/sessions/actions/revoke-others need a user session and never work with an API key. OAuth clients (MCP connections) never get the account:* scopes. An admin's user session can turn a user's two-factor off with POST /users/{user_id}/actions/reset-two-factor. See Two-factor sign-in.
1.108: privacy masks#
GET and POST /cameras/{camera_id}/privacy-masks, and GET, PATCH and DELETE /cameras/{camera_id}/privacy-masks/{mask_id}. A camera has up to 8 masks. A detection reported with POST /alerts and a bbox whose centre is inside a mask answers 200 with dropped: privacy_mask. See Privacy masks.
1.109: timelapse and live share links#
POST /clips accepts kind: timelapse (see Timelapse and live share links). GET and POST /cameras/{camera_id}/live-shares and DELETE /cameras/{camera_id}/live-shares/{live_share_id} manage live share links. They need the scope clips:share, which no other scope includes.
1.110: detection boxes#
GET /cameras/{camera_id}/detection-boxes?from=&to= (scope alerts:read) returns the boxes that Playback draws over a recording, as fractions of the frame, for a window of at most 5 minutes. A box whose centre is inside a privacy mask is never returned. See Playback.
1.111: automations#
A new Automations tag under /automations: list, read, create, change and delete, actions/run (with dry_run), actions/rotate-webhook, actions/validate, actions/import, the run log at /automations/{id}/runs, the blueprint export at /automations/{id}/blueprint, the palette at /automations/node-types and the ready-made ones at /automations/blueprints. Reading needs devices:read, changing devices:write and running devices:control. Confirming sensitive steps (/automations/{id}/actions/confirm) is for an admin's user session only. See Automations.
1.112: your own AI model#
GET and PATCH /system/ai-model, POST /system/ai-model/actions/test and POST /system/ai-model/actions/list-models, for admins. The API key is write-only. See AI model.
1.113: Guardian chat actions and approvals#
POST /guardian/chat can now return pending_actions: actions Guardian wants to do for an admin or operator that wait for approval (up to 5 minutes). GET /guardian/pending-actions/{pending_id} shows one, and POST …/actions/approve and POST …/actions/deny decide it. Deciding is for user sessions only: an AI agent can never approve its own action. A 409 conflict with reason pending_action_expired, pending_action_decided or pending_action_changed says why an approval was refused. See Guardian chat.
1.115: one microphone per room and speech figures#
A room has a new setting speech_microphone: auto (the default), all or the id of one camera of the room. It chooses which microphones of the room are sent to speech-to-text. GET /cameras/{camera_id}/audio-status now has room_speech, which says how the camera's room uses this microphone, and speech_today has a new count, skipped_other_microphone. Voice matching is paused, so voice_match_calls reads 0 and new lines have no voice label. See One microphone per room.
API 1.116: Playback timeline marks and preview pictures#
Three new read operations, used by the new Playback timeline:
| Operation | Scope | What it returns |
|---|---|---|
GET /timeline/marks?camera_ids=&from=&to= | alerts:read | What happened on 1 to 16 cameras over at most 7 days, folded into marks: detections, add-on reports, Guardian entries and speech. Optional bucket_seconds (1 to 86400; the default is the range divided by 240) and kinds. Each mark has its kind, start and end, count, up to 5 labels, alert, a representative event (rep) with a thumbnail_url, and text: for Guardian and speech, the first 140 characters. At most 3000 marks; truncated says when later ones were cut. |
GET /cameras/{camera_id}/previews?from=&to= | recordings:read | The preview pictures of the camera's finished recordings over at most 48 hours, with ready and sprite_url for each recording. |
GET /recordings/{recording_id}/preview | recordings:read | One recording's preview pictures as a single JPEG: one 160 px picture every 10 seconds, 10 per row. The layout is in the X-Vigiora-Preview-Interval, -Columns, -Count, -Tile-Width and -Tile-Height headers. |
The preview is made on the first request when it does not exist yet. The camera's privacy masks are painted on every picture. Errors: 404 no_preview (a recording without video, or one still being written), 503 preview_busy with Retry-After, and 503 preview_unavailable (the masks could not be read, so nothing unmasked is served).
API 1.117: Recordings search and card actions#
Server 1.11.0 adds API 1.117.0: the search behind the Recordings page and three actions that act on whole cards.
| Operation | Scope | What it does |
|---|---|---|
GET /recordings/events | alerts:read | Every detection and Guardian entry of the cameras you may view, newest first, as cards. Filters: show, labels, person, plate, triggers, vehicle_types, camera_ids, room_ids, range or from and to, min_confidence, attention and q, plus limit and cursor. The first page also has total and facets: the count of each filter value with every other filter applied. Guardian entries also need guardian:read; without it only detections are returned. |
POST /recordings/cards/actions/acknowledge | alerts:write | Marks every unacknowledged alert of the cards seen. Needs operator permission on the camera. |
POST /recordings/cards/actions/delete | alerts:write | Deletes every detection of the cards and its picture for good; recordings are kept. Admins and operators, with operator permission on the camera. |
POST /recordings/cards/actions/save | recordings:write | Saves the pictures of the cards into one media library folder. Admins and operators. |
A card stands for repeats of one camera and label: detections of one track each within 10 minutes of the next or, with no track, each within 3 minutes of the next. count says how many detections a card stands for, and pictures holds up to 20 of their pictures. With attention=true every unacknowledged alert is its own card, and the time and min_confidence do not apply. The API has no confidence default: the app's page sends min_confidence=0.5, so a call without it counts more than the page shows.
The actions take alert_ids (at most 100), any detection of each card, usually the card's id. The server takes each card as it is now, so a repeat that arrived after the list was read is included. The answer says how many detections were done (done_count), with not_found_ids for cards you cannot see and forbidden_ids for cards on cameras where you lack the permission.
API 1.119: motion zones#
Server 1.13.0 adds API 1.119.0, with feature flag motion_zones. GET and POST /cameras/{camera_id}/motion-zones, and GET, PATCH and DELETE /cameras/{camera_id}/motion-zones/{zone_id}. A camera has up to 8 zones. GET and PATCH /cameras/{camera_id}/motion-zone-settings read and set the mode, ignore or only. While human in the loop is on, every change asks for confirmation. See Motion zones.
API 1.120: custom branding#
Server 1.14.0 adds API 1.120.0, with feature flag branding. GET /branding (scope settings:read) reads the name, the accent colour, the Powered by setting and the logo status. PATCH /branding (settings:write, admins) changes them. PUT /branding/logo uploads a PNG, JPEG or WebP picture of up to 512 KB, and DELETE /branding/logo removes it. The logo, the colour and hiding Powered by need the paid option on the account, and a call without it answers 402 limit_reached. While human in the loop is on, every change asks for confirmation. See Custom branding.
API 1.121 and 1.122: Vigiora Robot#
Server 1.14.2 adds API 1.121.0 and 1.122.0 for the Vigiora Robot, a camera with body_type robot. POST /cameras/{camera_id}/robot/actions/stop (scope cameras:control) stops the robot now and cancels any route it is driving. A camera that is not a robot answers 409 not_a_robot, and 502 ptz_failed means the robot did not answer. It is safe to call at any time.
GET /cameras/{camera_id}/robot/patrol (scope cameras:read) reads the AI patrol: whether it runs, the step, the last move and why, how it ended, and, before any run, the defaults with the estimated AI credits. POST /cameras/{camera_id}/robot/patrol/actions/start (cameras:control) starts it. Send minutes (default 5, at most 30) and an optional goal. It uses about 1 AI credit per step, with up to 20 steps a minute. It answers 402 insufficient_credits without credits, 503 ai_unavailable without AI and 409 conflict while a patrol runs. POST /cameras/{camera_id}/robot/patrol/actions/stop ends it and answers the final status. AI patrol is a preview. While human in the loop is on, starting a patrol asks for confirmation.
API 1.123 and 1.124: robot light, Wi-Fi movement and room scan#
Server 1.14.3 adds API 1.123.0 and 1.124.0 for the Vigiora Robot 01. Every robot operation answers 409 not_a_robot for other cameras, 409 robot_unsupported (or 409 light_unsupported for the light) when the robot's firmware lacks the feature, and 502 ptz_failed when the robot does not answer.
- Light.
GET /cameras/{camera_id}/robot/light(scopecameras:read) reads the headlight:on,level(1 to 120) andremaining_sbefore it switches itself off.POST /cameras/{camera_id}/robot/actions/light(cameras:control) sets it.onis required. A light that is on stays lit forttl_sseconds (1 to 600, default 120) atlevel(default 60), so a client that wants it on keeps renewing it. Safe to repeat. - Wi-Fi movement.
GET /cameras/{camera_id}/robot/wifi-motion(cameras:read) reads the movement the robot hears from how people disturb its Wi-Fi signal.validis false while the robot moves, for a second after, and on a route;warming_upis true while it learns the room.historyholds the last 30 scores, oldest first.PATCH(cameras:control) setsenabledandthreshold(0 = automatic). Movement also arrives as the eventrobot.wifi_motion. - Camera on or off.
POST /cameras/{camera_id}/robot/actions/camera(cameras:control) turns the robot's picture off or back on. A paused robot shows stream statuspaused, notoffline. The robot also pauses its camera itself while Bluetooth or a deep scan runs (paused_reasonble,deep_scanormanual). - Room scan.
POST /cameras/{camera_id}/robot/actions/sense(cameras:control) listens forseconds(3 to 10, default 5) and answers the Wi-Fi networks, the Bluetooth devices and the movement it measured. The call lasts aboutseconds+ 3 s. The last 20 scans per robot are kept on the server; Wi-Fi and Bluetooth names are never logged.409 robot_busymeans the robot is moving or on a route.
Wi-Fi movement and the room scan need robot firmware 0.3.0 or newer.
API 1.125 to 1.129: health, memory, robot Bluetooth and feedback#
Server 1.14.4 serves API 1.129.0.
- Hardware upgrades (1.125.0).
GET /system/health/upgrades(scopesettings:read, admins and operators) answers the upgrade suggestions of the latest health report and the hardware they fit. When memory, the processor or a disk holds the server back, each suggestion has 2 or 3 options from the most convenient to the most "pro", each with a reason, an approximate price in US dollars and an Amazon search link for the exact part (no affiliate tag).upgradesis empty when nothing needs upgrading. - Disks (1.125.0).
GET /system/health/disks(settings:read) lists every disk that holds the recordings, the database or the system: free space, the last speed test (write and read in MB/s, the latency of a small saved write), how busy the disk is now, what the cameras write, a speed verdict (ok,warnorunknown) and the space forecast: growth per day and the date the disk is full, or the level it settles at when retention deletes old footage first.POST /system/health/disks/actions/benchmark(settings:write) runs the speed test now: a 32 MiB file at low I/O priority, deleted afterwards. When the server is busy the test does not run andbench_skippedsays why. - Memory profile (1.126.0).
GET /system/healthalso answersmemory_profile:tier(normal,lowon an 8 GB machine,tightunder about 5 GB),low_memory,total_bytes,summaryandunder_pressure. It is chosen at start from the machine's memory; there is no setting. - Robot Bluetooth (1.127.0). For the Vigiora Robot 01 (scope
cameras:control):POST /cameras/{camera_id}/robot/actions/bluetooth-scan(seconds2 to 15, default 5),…/actions/find-keyboards(Bluetooth MIDI keyboards only) and…/actions/play-melody(melodyas text such asC4:300 E4:300 R:200, or a built-in melody name, ornotes; at most 256 notes and 30 s) answer202with a job. The robot is offline for about 20 s per job; its stream showspausedand nocamera.offlineis sent. Read the result withGET /cameras/{camera_id}/robot/jobs/{job_id}afterready_after_s.GET /cameras/{camera_id}/robot/bluetoothanswers the stored last scan and keyboard search (the last 20 per robot), the remembered keyboard, the built-inmelodiesand, while the robot is away,away.remaining_s. Errors:409 robot_busy,409 ble_unsupported,409 battery_low,409 not_a_robot. The three actions take the robot offline, so AI agents ask first while human in the loop is on. Automations get the action Play a melody on the robot's keyboard. Bluetooth names and addresses stay on your server. - Feedback (1.128.0).
GET /system/program(any role) says whether the server is in the Vigiora Feedback Program, itsupdate_channel(earlyorstable) and whether feedback can be sent (feedback_ready). It is read-only: the program is joined and left on vigiora.com.POST /feedbacksendstext(up to 4000 characters) and the web apppageto Vigiora, from a signed-in session only (no API keys or agents);409withdetails.reasonnot_pairedwhen the server is not connected to a Vigiora account,429after 20 in a day.GET /feedbacklists what was sent (an admin sees everyone's).
API 1.134 to 1.144: languages, privacy, quotes, detail zones, robot, access control and camera events#
Server 1.17.0 serves API 1.144.0. GET /server lists each new feature.
- User language (1.134.0,
user_language).POST /usersandPATCH /users/{user_id}takelanguage(one of the 22 app language codes, or""for automatic);GET /usersandGET /mereturn it. See Language. - Add-ons drive the robot (1.135.0,
addon_robot_control). An add-on with therobot:controlscope and the person's consent calls the robot routes with its own token.GET /cameras/{camera_id}/robotanswers the robot's state in one read;GET /addons/{addon_id}/robot-loglists the add-on's last 100 robot commands and refusals. New error codes:403 not_allowed(withdetails.reason) and423 robot_offline. See Driving a Vigiora Robot. - Release notes (1.136.0,
release_notes).GET /system/release-notes,GET /system/release-notes/{release_id}andPOST /system/release-notes/actions/mark-seen(admins,settings:read): the notes the What's new screen shows. See Updates. - Roger RACS 5 (1.137.0,
roger_racs5)./roger: status and settings (the password is never returned), network search, sync, doors and alarm zones with their room and cameras, access events, pending requests,…/actions/unlock,…/actions/grantand…/actions/deny(devices:control, audited). Agents always ask a person before unlock and grant. Early access. See Roger RACS 5. - Detail zones (1.138.0,
detail_zones).GET /floor-plans/{floor_plan_id}/detail-zonesanswers each camera's picture width, field of view and where each EN 62676-4 level ends, in metres and plan units.GETandPOST /floor-plans/{floor_plan_id}/detail-requirements,PATCHandDELETE …/{requirement_id}manage required levels at a point or over an area, withstatusmet,not_metorunknown.GETandPATCH /cameras/{camera_id}/field-of-viewcorrect the field of view (null= automatic). See Detail zones. - Quote (1.139.0,
quote_export).GETandPATCH /quote?site_id=,/quote/prices,/quote/companyand/quote/company/logo, andGET /quote/export?site_id=&format=pdf|xlsx&lang=for the file (admins and operators). See Parts list and quote. - Camera events (1.140.0,
camera_events).GETandPATCH /cameras/{camera_id}/camera-events(modeautooroff),POST …/actions/check,PATCH …/alarm-inputs/{input_id}andGET …/log(alerts:read) for a Dahua camera's own detections. Early access. See Dahua camera events. - Robot added by itself (1.141.0,
robot_claim).GET /network/robots(network:read) lists the robots seen or added;POST /network/robots/{robot_id}/actions/add(cameras:write) adds a removed robot again, and agents ask first. Cameras havecredential_status(password_changedornull); the eventsrobot.addedandrobot.password_changednever carry a password. See Add the robot. - Install now (1.142.0).
POST /system/update/actions/installalways installs the newest release: when a newer one than the downloaded update came out, it is downloaded and installed instead. The update status has an optionalinstallingfield. See Install an update now. - Privacy (1.143.0,
privacy_toolkit)./privacy: packs (list, get, preview, apply, remove, history), settings, checks, the notice, legal holds (list, create, get, release) and the footage access log (list, CSV export, delete). A recording under a legal hold cannot be unprotected:409 legal_hold. See Privacy. - Failed requests (1.144.0,
api_error_reports). Client errors and error reports have the kindapi_error, with the redacted request indetail. See Failed requests.
API 1.145 and 1.146: privacy pack countries and camera time zones#
Server 1.17.1 serves API 1.146.0. GET /server lists each new feature.
- Privacy pack countries (1.145.0,
privacy_pack_country).GET /privacy/packs?country=(scopesettings:read, admins) lists the packs of one country (ISO 3166-1 alpha-2) and the region packs. Each pack hascoverage:region(the EU guidance),nationalorgeneral_only(the country's national rules were not yet reviewed). The answer hassuggested_country, the country the server seems to be in (from its time zone, or from a language spoken in only one pack country), ornull; use it to preselect a country. See Privacy. - Camera time zones (1.146.0,
camera_timezone). Cameras havetimezone(the IANA zone in use, for exampleEurope/Madrid),timezone_source(camera,client,client_reportedorserver) andtimezone_override(the zone a person set, ornullfor automatic).timezone_overrideis written withPATCH /cameras/{camera_id}; an unknown zone answers422 validation_failed. It is the same setting as the camera clock's zone. Times in the API stay in UTC. See Camera time zones.
API 1.147 to 1.150: robot unreachable, second look and room speech#
Server 1.17.2 serves API 1.150.0. GET /server lists each new feature.
- Robot that does not answer (1.147.0). The robot routes (stop, light, Wi-Fi movement settings, camera switch, room scan and the Bluetooth jobs) answer
503 device_unreachablewithRetry-Afteranddetails.reason(no_answer,errororauth) when the Vigiora Robot is off or out of range, instead of502 ptz_failed.GET /cameras/{camera_id}/robot/wifi-motionis polled by the web app, so it answers200withavailablefalse andreasonunreachableorauth. See When the robot is off or out of range. - Second look, a beta (1.148.0,
guardian_verify). Alert rules haveverify(auto, the default,alwaysornever),verify_window_sec(30 to 300, default 120: how much recording before the analysed clip is checked) andverify_active(read only: a match of the rule is checked now).verifyandverify_window_secare written when a rule is created or updated. No rule is checked while the server settingsecond_look_beta_enabledis off, which is the default (see below), whateververifysays, andverify_activeis then false. Alerts havereview(true for a To review notice, whoseseverityis one step below the rule's and which never ran a siren, sound, device action or automation),verified(confirmed,unverifiedornull),verify_reasonandcontext_before. Guardian entries haveverification, one item for each rule the AI matched:confirmed,cleared(no alert; only when the rule's own exception is seen in the earlier recording) orunverified, withcause(unsure,uncertain,no_recording,ai_failed,timeoutorai_unavailable), the reasons and the checked clip'sclip_fromandclip_to. An error never clears. Every change of a rule is written to the audit log. See The second look. - Room speech on cameras (1.149.0,
room_speech_on_cameras). A camera's transcript, coverage, summary and timeline speech marks include speech recorded by its room's microphone. Each line names the device (source_camera_id,source_name), lines heard by two devices are given once, and text from a device you may not view is left out withspeech_hidden_sourcestrue.own_only=truekeeps only the camera's own speech, as before. Rooms havespeech_microphone_fallback(auto, the default,off, or a camera id of the room as text): what the room does when its microphone stops. The room'sspeech_microphone_choicecan then have the modeoff, with the reason codesspeech_offandfallback_down. The setting is part of the configuration export and import. See If this microphone stops. - Cleared list, second-look test and beta switch (1.150.0).
GET /recordings/cleared-matches(scopeguardian:read; filterscamera_ids,from,to,limit,cursor) lists the matches the second look cleared, newest first, read only, with the rule, the AI's one-linereason,context_beforeand where to open the recording. They are not alerts (is_alertis always false): never pushed, never counted in the alert bell, and nothing runs for them.POST /alert-rules/{alert_rule_id}/actions/test-verify(scopeguardian:write, admins) runs the second look on a past moment, given asalert_idorat(a room's rule also needscamera_id), and answersverdict(confirmed,clearedorunsure),reason,usageandestimated_cost_usd. It raises and changes nothing but uses AI allowance, and is limited to 10 runs a minute. The beta switch is the settingsecond_look_beta_enabledofGETandPATCH /settings(admins; boolean,falseby default; labelled Second look (beta) in the web app). Room microphone choices have a new state,site_offline(reason codesite_offline): every device of the room is unreachable because the Vigiora Client that delivers them is offline. Nothing is transcribed and no "microphone stopped" notification is sent. See If this microphone stops.
API 1.151 to 1.157: camera planner, capacity warnings, robot, live video health and playback errors#
Server 1.17.3 serves API 1.157.0. GET /server lists each new feature. All changes are additive.
- Camera mount on floor plans (1.151.0,
floor_plan_mount). Camera items of a floor plan haveheight_m(mount height above the floor in metres, 0.1 to 50, ornull) andtilt_deg(degrees down from horizontal, 0 to 90, ornull). Both are read withGET /floor-plans/{floor_plan_id}/items, written withPOST /floor-plans/{floor_plan_id}/items/actions/replace(a value out of range answers422 validation_failed), dropped on other kinds, and part of the configuration export and import. See Plan where cameras go. - Capacity warnings (1.152.0,
capacity_warnings).GET /system/capacity/warnings(scopesettings:read, admins and operators) lists the four warnings the web app shows after cameras are added, in the ordermemory,disk_space,disk_healthandcpu, each withknown,active,shown_atand the numbers behind it. It is read only and never marks a warning shown. Cameras added through the API get no dialog. See Warnings after you add cameras. The setup checklist (GET /setup/checklist) has a new item,vigiora_account, on self-hosted servers. - Robot body (1.153.0,
robot_body). The robot summary,GET /cameras/{camera_id}/robot, has an optionalbody: the robot's own description of its size and where its camera sits (width_mm,length_mm,height_mm,camera_height_mm,camera_ahead_mm,camera_hfov_deg,measured), passed through as the robot sends it. It needs robot firmware 0.5.0 or later. - Robots in the network scan (1.154.0 and 1.155.0,
network_scan_robot,candidate_robot).NetworkDevice.kind(GET /network/devicesand the scan results) andNetworkCandidate.kind(GET /network/candidates) arerobotfor a Vigiora Robot, with its model inmodel, andnullfor everything else. A robot is still added as a camera. See Automatic discovery. - Health report when live video cannot start (1.156.0,
health_problem). Health reports have a newtrigger,problem: a report run at once because live video could not start for two minutes. Its itemservice.live_videosays why and how to fix it. It is mailed and pushed according to the health settings, like the daily check. See Live video engine. - Playback failures in client errors (1.157.0,
playback_error_detail). A client error of kinderrorthat is a final playback failure of the web player hasdetailwithplayback: trueand only these keys:rung,to,reason,route,recording,live,camera,media_error_code,media_error_message,ready_state,network_state,current_time,duration,buffered_end,video_width,video_height,http_status,content_type,content_range,accept_ranges,codecandcan_play. Text that looks like an address or a token is dropped. Any othererrorhasdetailnull. See Client errors.
Coming in later phases#
- SDKs for TypeScript, Python and Go, generated from the OpenAPI description. Until then, generate a client from
/api/v1/openapi.yamlyourself.
Next steps#
- Quickstart: your first calls with curl.
- Authentication and scopes
- Conventions: errors, pagination, idempotency and rate limits.
- API reference
- Network tools: scan the LAN and find cameras that changed IP.
- Add-ons: object recognition and the other AI add-ons behind detection events.
- MCP server: connect claude.ai, ChatGPT and other AI assistants.
- Use Vigiora with AI coding agents: the
vigiora-apiskill for Claude Code, Codex and claude.ai (download the .zip), plus/llms.txtand markdown copies of every page.