Vigiora

ให้คนอนุมัติ (Human in the loop)ตั้งแต่ 1.6.9

เลือกว่าเอเจนต์ AI เช่น Claude, ChatGPT และ Codex ต้องได้รับการอนุมัติจากคุณก่อนหมุนกล้อง สแกนเครือข่าย หรือเปลี่ยนการตั้งค่า หรือให้ทำได้ทันที

ในแอป: /system/agents

ให้คนอนุมัติ (Human in the loop) กำหนดว่าเอเจนต์ AI ที่เชื่อมต่อกับเซิร์ฟเวอร์ของคุณต้องถามคุณก่อนทำสิ่งที่มีความเสี่ยงหรือไม่ เช่น หมุนกล้อง PTZ สแกนเครือข่าย ลบกล้อง หรือเปลี่ยนการตั้งค่า

  • เปิด: เอเจนต์ต้องได้รับการอนุมัติจากคุณสำหรับการกระทำที่มีความเสี่ยงทุกครั้ง แอปที่รองรับจะแสดงหน้าต่าง Allow / Deny จาก Vigiora ส่วนแอปอื่นต้องถามคุณในแชทก่อน
  • ปิด: เอเจนต์ทำทันทีโดยไม่ถาม

ใช้กับเอเจนต์ AI ที่ใช้ เซิร์ฟเวอร์ MCP ได้แก่ claude.ai, Claude Desktop, ChatGPT, Claude Code, Codex, Cursor และอื่นๆ สคริปต์ที่เรียก REST API จะไม่ถูกถาม การอ่าน (กล้อง ภาพ snapshot การแจ้งเตือน ไฟล์บันทึก) ไม่ต้องได้รับการอนุมัติ

ให้คนอนุมัติ เปิดอยู่เป็นค่าเริ่มต้น และไม่ได้เปลี่ยนสิ่งที่เอเจนต์ทำได้เลย สิ่งนั้นยังขึ้นกับ scope ของคีย์หรือสิทธิ์ที่คุณอนุมัติ บทบาทของคุณ และสิทธิ์ในกล้องของคุณ การตั้งค่านี้กำหนดเพียงว่าเอเจนต์ต้องถามก่อนหรือไม่

ตั้งค่าได้ที่ไหน#

มีสี่ที่ การตั้งค่าของเซิร์ฟเวอร์ใช้กับทุกคน ส่วนคีย์ API และแอปที่เชื่อมต่อแต่ละตัวทำตามหรือกำหนดแทนได้

ที่ไหนใครสิ่งที่เลือก
การตั้งค่า → AI และส่วนเสริม → เอเจนต์ AIผู้ดูแลระบบเปลี่ยนได้ operator ดูได้เปิดหรือปิด ให้คนอนุมัติ (Human in the loop) สำหรับทั้งเซิร์ฟเวอร์
การตั้งค่า → ผู้คนและการเข้าถึง → คีย์ API คอลัมน์ ถามก่อนดำเนินการผู้ใช้แต่ละคนสำหรับคีย์ของตัวเอง ผู้ดูแลระบบสำหรับคีย์ใดก็ได้ใช้การตั้งค่าของเซิร์ฟเวอร์ ถามทุกครั้ง หรือ ไม่ต้องถาม
API keys → Connected apps คอลัมน์ ถามก่อนดำเนินการผู้ใช้แต่ละคนสำหรับแอปของตัวเอง ผู้ดูแลระบบสำหรับแอปใดก็ได้ใช้การตั้งค่าของเซิร์ฟเวอร์ ถามทุกครั้ง หรือ ไม่ต้องถาม
หน้าลงชื่อเข้าใช้ของ connector ช่อง ถามฉันก่อนดำเนินการผู้ที่ลงชื่อเข้าใช้ติ๊กหรือไม่ติ๊ก สำหรับแอปนี้

การเปลี่ยนแปลงมีผลตั้งแต่การกระทำถัดไปของเอเจนต์ เอเจนต์ไม่ต้องเชื่อมต่อใหม่

การตั้งค่าของเซิร์ฟเวอร์#

  1. เปิดแท็บเอเจนต์ AI

    เปิด การตั้งค่า → AI และส่วนเสริม → เอเจนต์ AI

  2. เปิดหรือปิดสวิตช์

    เปิดหรือปิด ให้คนอนุมัติ (Human in the loop) ระบบบันทึกทันที

ระบบ → เอเจนต์ AI กรอบนี้แสดงสิ่งที่เอเจนต์ต้องถามก่อนขณะที่สวิตช์เปิดอยู่
บนโทรศัพท์ ให้เลื่อนแถบแท็บไปด้านข้างเพื่อไปที่เอเจนต์ AI

ตามคีย์ API และตามแอปที่เชื่อมต่อ#

ใน การตั้งค่า → ผู้คนและการเข้าถึง → คีย์ API คีย์แต่ละตัวมีเมนู ถามก่อนดำเนินการ และแอปแต่ละตัวใต้ Connected apps ก็มีเช่นกัน

ตัวเลือกคำอธิบายค่าเริ่มต้น
ใช้การตั้งค่าของเซิร์ฟเวอร์ทำตาม การตั้งค่า → AI และส่วนเสริม → เอเจนต์ AI เมนูแสดงการตั้งค่าของเซิร์ฟเวอร์ในวงเล็บ เช่น (ถามทุกครั้ง)ใช่
ถามทุกครั้งเอเจนต์ที่ใช้คีย์หรือแอปนี้จะถามก่อนเสมอ แม้การตั้งค่าของเซิร์ฟเวอร์จะปิดอยู่—
ไม่ต้องถามเอเจนต์ที่ใช้คีย์หรือแอปนี้จะทำทันที ขณะที่การตั้งค่าของเซิร์ฟเวอร์เปิดอยู่ มีเพียงผู้ดูแลระบบที่เลือกได้—
คีย์แต่ละตัวทำตามการตั้งค่าของเซิร์ฟเวอร์ เว้นแต่คุณจะเลือกอย่างอื่น ค่าที่ผู้ดูแลระบบเลือกจะมีข้อความว่าตั้งค่าโดยผู้ดูแลระบบ
แอปที่เชื่อมต่อมีเมนูเดียวกัน

เมื่อคุณเชื่อมต่อแอป#

เมื่อคุณเพิ่ม Vigiora ใน claude.ai, ChatGPT หรือแอปอื่นที่ลงชื่อเข้าใช้ หน้าลงชื่อเข้าใช้ของ Vigiora จะมีช่อง ถามฉันก่อนดำเนินการ ใต้ตัวเลือกการเข้าถึง โดยเริ่มต้นตามการตั้งค่าของเซิร์ฟเวอร์ หากคุณไม่เปลี่ยน แอปจะทำตามการตั้งค่าของเซิร์ฟเวอร์ หากเปลี่ยน แอปจะได้ ถามทุกครั้ง หรือ ไม่ต้องถาม ของตัวเอง ซึ่งคุณเปลี่ยนภายหลังได้ใต้ Connected apps

ขณะที่การตั้งค่าของเซิร์ฟเวอร์เปิดอยู่ มีเพียงผู้ดูแลระบบที่เอาเครื่องหมายถามฉันก่อนดำเนินการออกได้

ใครปิดได้#

  • เฉพาะผู้ดูแลระบบ ที่เปลี่ยนการตั้งค่าของเซิร์ฟเวอร์ได้
  • ขณะที่การตั้งค่าของเซิร์ฟเวอร์ เปิด อยู่ มีเพียงผู้ดูแลระบบที่เลือก ไม่ต้องถาม สำหรับคีย์หรือแอปได้ (หรือเอาเครื่องหมายออกตอนเชื่อมต่อ) ผู้ใช้อื่นเลือก ใช้การตั้งค่าของเซิร์ฟเวอร์ หรือ ถามทุกครั้ง ได้
  • ขณะที่การตั้งค่าของเซิร์ฟเวอร์ ปิด อยู่ ผู้ใช้ทุกคนเลือกค่าใดก็ได้สำหรับคีย์และแอปของตัวเอง
  • หากผู้ใช้เลือก ไม่ต้องถาม ขณะที่การตั้งค่าของเซิร์ฟเวอร์ปิดอยู่ แล้วผู้ดูแลระบบเปิดการตั้งค่านั้น ค่าที่เลือกไว้จะไม่มีผล คีย์หรือแอปจะกลับมาถามอีก เมนูจะแสดง ยังคงถาม: ผู้ดูแลระบบเปิดใช้สำหรับเซิร์ฟเวอร์แล้ว ส่วน ไม่ต้องถาม ที่ผู้ดูแลระบบเลือกจะยังมีผล และมีข้อความ ตั้งค่าโดยผู้ดูแลระบบ
  • เอเจนต์ปิดเองไม่ได้ คีย์ API และแอปที่เชื่อมต่อจัดการคีย์หรือแอปไม่ได้ แอปที่ลงชื่อเข้าใช้ผ่าน connector ไม่ได้รับเครื่องมือการตั้งค่า และการเปลี่ยนการตั้งค่าของเซิร์ฟเวอร์เองก็เป็นการกระทำที่ต้องได้รับการอนุมัติ

สิ่งที่ต้องได้รับการอนุมัติ#

ขณะที่ให้คนอนุมัติเปิดอยู่ เอเจนต์จะถามก่อนการกระทำประเภทต่อไปนี้

  • หมุนกล้อง PTZ หรือไปยัง preset
  • สแกนหรือตรวจสอบเครือข่าย และค้นหาที่อยู่ของกล้อง
  • เพิ่ม เปลี่ยน ย้ายที่อยู่ เปิดหรือปิด หรือลบกล้อง และเปิดหรือปิด AI ของกล้อง
  • แชร์หรือลบคลิป และยกเลิกการป้องกันไฟล์บันทึก
  • เปลี่ยนการตั้งค่า (รวมถึงการตั้งค่านี้และการค้นหากล้องอัตโนมัติ) เรียกใช้การแก้ไขอัตโนมัติของการตรวจสอบสถานะ หรือนำเข้าการกำหนดค่า
  • สร้าง เปลี่ยน หรือลบผู้ใช้
  • สร้าง เปลี่ยน หรือลบ webhook และหมุนเวียน secret
  • สร้างหรือลบการแจ้งเตือน และสร้าง เปลี่ยน เปิดหรือปิด หรือลบกฎการแจ้งเตือน (ตั้งแต่ 1.6.10)
  • เปิดหรือปิดบริการ AI ของกล้องหรือเปลี่ยนการตั้งค่าของบริการ บันทึก preset ของ PTZ และลบเฟรมอ้างอิง (ตั้งแต่ 1.6.10)
  • สร้าง เปลี่ยน หรือลบไซต์ กลุ่ม ห้อง ลำโพง และเลย์เอาต์ ตั้งชื่อหรือลบใบหน้า พูดหรือเล่นเสียงในห้อง และทดสอบลำโพง (ตั้งแต่ 1.6.10)
  • เริ่ม AI Live ลบบทสนทนาของ Guardian รีสตาร์ต อัปเดต หรือลบ vigiora-clients และตรวจหาการอัปเดตของเซิร์ฟเวอร์ (ตั้งแต่ 1.6.10)
  • ลบเหตุการณ์ของ Guardian ล้าง "ลบล่าสุด" คำนวณรูปภาพและคลิปใหม่ และเปลี่ยนระยะเวลาก่อนการเคลื่อนไหวของคลิปและระยะเวลาเก็บเหตุการณ์ที่ลบ (ตั้งแต่ 1.6.13)
  • สร้าง เปลี่ยน หรือลบเส้น โซน และพื้นที่ของ Analytics การตั้งค่า Analytics ของกล้อง การตั้งจำนวนคนภายในของพื้นที่ และสร้าง เปลี่ยน หรือลบแผนผังชั้นและรายการบนแผนผัง (ตั้งแต่ 1.6.13)
  • กฎการแจ้งเตือนของห้อง การพูดผ่านลำโพงของกล้อง และการติดตั้ง อัปเดต รีสตาร์ท เชื่อมต่อ หรือนำ Home Assistant ออก (ตั้งแต่ 1.6.13)
  • การเชื่อมต่อบริดจ์ Home Assistant การเลือกอุปกรณ์ที่แชร์ การเชื่อมโยง ตัวกระตุ้น การกระทำของกฎ และสัญญาณของห้อง และการส่งคำสั่งไปยังอุปกรณ์ (ตั้งแต่ 1.6.13)
  • การเปลี่ยนการผสานรวม MQTT, Telegram และ LINE (ตั้งแต่ 1.6.15)
  • การสร้าง เปลี่ยน หรือลบกฎการแจ้งเตือนของ Analytics การสร้างหรือเพิกถอนจอหน้าประตู การย้ายกล้องไป DHCP และการเพิ่ม เปลี่ยน เชื่อมต่อ ตัดการเชื่อมต่อ หรือนำอินสแตนซ์ Home Assistant ออก และการเลือกอุปกรณ์ที่แชร์ของอินสแตนซ์เหล่านั้น (ตั้งแต่ 1.6.16)
  • การเปิดไซเรนของกล้อง และการทำเครื่องหมายว่าไซเรนที่ปิดไม่ได้เงียบแล้ว (ตั้งแต่ 1.7.3)

การอ่านไม่ต้องได้รับการอนุมัติ และการเขียนที่ไม่มีอันตรายบางอย่างก็ไม่ต้อง ได้แก่ หยุดการหมุน PTZ หยุดไซเรนและเสียงทั้งหมด (ตั้งแต่ 1.7.3) รับทราบการแจ้งเตือน ป้องกันไฟล์บันทึก สร้างคลิปหรือลิงก์ดาวน์โหลด ทดสอบ webhook กู้คืนเหตุการณ์ที่ลบ ทดสอบการผสานรวมหรืออินสแตนซ์ Home Assistant (ตั้งแต่ 1.6.15 และ 1.6.16) วาดแผนผังชั้นจากคำอธิบาย แก้ไข หรือเลิกทำการแก้ไข (ตั้งแต่ 1.6.17) สร้างหรือปรับมุมมอง AI และแปลหรือสรุปบทถอดเสียง (ตั้งแต่ 1.6.18) และตั้งชื่อกล้องจากภาพ ซิงก์ห้องของแผนผังชั้น เปลี่ยนชื่อ ตั้งค่าใหม่ หรือระบุอุปกรณ์ Zigbee หรือ IoT และแก้ไขหรือเปิดรายงานข้อผิดพลาดฝั่งไคลเอนต์อีกครั้ง (ตั้งแต่ 1.6.19) การดำเนินการที่ใช้ AI เหล่านี้ใช้เครดิต AI เอเจนต์จึงยังควรแจ้งก่อนว่ากำลังจะทำ การลบมุมมอง AI ต้องถามก่อน (ตั้งแต่ 1.6.18) เช่นเดียวกับการตั้งค่า Zigbee เปิดช่วงเวลาจับคู่ แชร์ ซ่อน ลืม หรือนำอุปกรณ์ออก และเปลี่ยนแปลงอุปกรณ์ IoT (ตั้งแต่ 1.6.19) ลิงก์วิดีโอสดและภาพนิ่งที่ลงนามแล้ว (create_camera_stream_url, create_camera_snapshot_url) นับเป็นการอ่าน การค้นหาวัตถุบนเฟรมของกล้องหรือในรูปภาพที่อัปโหลด (detect_objects, analyze_image) และการดึงเฟรมจากการบันทึกก็นับเป็นการอ่านเช่นกัน

รายการที่แน่นอน สร้างจาก เอกสารอ้างอิง API (การดำเนินการที่มี x-vigiora-confirm และการดำเนินการแบบ destructive) ไม่รวมการดำเนินการที่ใช้ได้เฉพาะเซสชันผู้ใช้ เช่น เครื่องมือ AI ภายนอก เพราะเอเจนต์เรียกใช้ไม่ได้

MCP toolAPI v1 operationWhat it does
accept_ptz_patrol_scanPOST /api/v1/cameras/{camera_id}/ptz/patrol-scans/{scan_id}/actions/acceptSave the proposed patrol
add_detected_camerasPOST /api/v1/cameras/actions/add-detectedAdd detected cameras
apply_perception_coachPOST /api/v1/cameras/{camera_id}/actions/apply-perception-coachApply the Perception Coach suggestion
apply_room_perception_coachPOST /api/v1/rooms/{room_id}/actions/apply-perception-coachApply the Perception Coach suggestion to a room
bulk_update_camerasPOST /api/v1/cameras/actions/bulk-updateChange several cameras at once
check_system_updatePOST /api/v1/system/update/actions/checkCheck for an update
client_action_install_ffmpegPOST /api/v1/clients/{client_id}/actions/install-ffmpegInstall ffmpeg on a client
client_action_restartPOST /api/v1/clients/{client_id}/actions/restartRestart a vigiora-client
client_action_resync_camerasPOST /api/v1/clients/{client_id}/actions/resync-camerasResync a client's cameras
client_action_updatePOST /api/v1/clients/{client_id}/actions/updateUpdate a vigiora-client
command_home_assistant_devicePOST /api/v1/integrations/home-assistant/devices/{entity_id}/actions/commandRun a command on a device
connect_existing_home_assistantPOST /api/v1/integrations/home-assistant/actions/connect-existingConnect an existing Home Assistant
connect_home_assistant_bridgePOST /api/v1/integrations/home-assistant/bridge/actions/connectConnect Home Assistant's devices
connect_home_assistant_instancePOST /api/v1/integrations/home-assistant/instances/{instance_id}/actions/connectConnect a Home Assistant instance
create_alertPOST /api/v1/alertsReport an alert
create_alert_rulePOST /api/v1/cameras/{camera_id}/alert-rulesCreate a Guardian alert rule
create_analytics_alert_rulePOST /api/v1/analytics/alert-rulesCreate an analytics alert rule
create_analytics_areaPOST /api/v1/analytics/areasCreate an analytics area
create_analytics_displayPOST /api/v1/analytics/displaysCreate a door display
create_analytics_linePOST /api/v1/analytics/linesCreate a counting line
create_analytics_zonePOST /api/v1/analytics/zonesCreate an analytics zone
create_automationPOST /api/v1/automationsCreate an automation
create_cameraPOST /api/v1/camerasAdd a camera
create_camera_live_sharePOST /api/v1/cameras/{camera_id}/live-sharesCreate a live share link
create_client_cameraPOST /api/v1/clients/{client_id}/camerasAdd a camera on a client's network
create_clip_sharePOST /api/v1/clips/{clip_id}/sharesCreate a public share link
create_floor_planPOST /api/v1/floor-plansUpload a floor plan
create_groupPOST /api/v1/groupsCreate a group
create_home_assistant_instancePOST /api/v1/integrations/home-assistant/instancesAdd a Home Assistant instance
create_home_assistant_triggerPOST /api/v1/integrations/home-assistant/triggersCreate a device trigger
create_label_alert_rulePOST /api/v1/cameras/{camera_id}/label-alert-rulesCreate a label alert rule
create_library_album_sharePOST /api/v1/library/albums/{album_id}/sharesCreate a public link to an album
create_library_item_sharePOST /api/v1/library/items/{item_id}/sharesCreate a public link to a saved item
create_motion_rulePOST /api/v1/cameras/{camera_id}/motion-rulesCreate a smart-motion rule
create_motion_zonePOST /api/v1/cameras/{camera_id}/motion-zonesAdd a motion zone to a camera
create_outputPOST /api/v1/outputsAdd a speaker
create_robot_placePOST /api/v1/cameras/{camera_id}/robot/placesSave the robot's current spot as a place
create_roomPOST /api/v1/roomsCreate a room
create_room_alert_rulePOST /api/v1/rooms/{room_id}/alert-rulesCreate a room Guardian alert rule
create_runner_install_tokenPOST /api/v1/runners/install-tokenMint a runner install token
create_sitePOST /api/v1/sitesCreate a site
create_userPOST /api/v1/usersAdd a user
create_webhookPOST /api/v1/webhooksCreate a webhook
delete_alertDELETE /api/v1/alerts/{alert_id}Delete an alert
delete_alert_ruleDELETE /api/v1/alert-rules/{alert_rule_id}Delete a Guardian alert rule
delete_analytics_alert_ruleDELETE /api/v1/analytics/alert-rules/{analytics_alert_rule_id}Delete an analytics alert rule
delete_analytics_areaDELETE /api/v1/analytics/areas/{analytics_area_id}Delete an analytics area
delete_analytics_lineDELETE /api/v1/analytics/lines/{analytics_line_id}Delete a counting line
delete_analytics_zoneDELETE /api/v1/analytics/zones/{analytics_zone_id}Delete an analytics zone
delete_automationDELETE /api/v1/automations/{automation_id}Delete an automation
delete_branding_logoDELETE /api/v1/branding/logoRemove the server's logo
delete_cameraDELETE /api/v1/cameras/{camera_id}Delete a camera
delete_camera_ai_live_sessionDELETE /api/v1/ai-live/sessions/{ai_live_session_id}Delete an AI Live session
delete_clientDELETE /api/v1/clients/{client_id}Remove a vigiora-client
delete_clipDELETE /api/v1/clips/{clip_id}Delete a clip
delete_faceDELETE /api/v1/faces/{face_id}Delete a face
delete_floor_planDELETE /api/v1/floor-plans/{floor_plan_id}Delete a floor plan
delete_floor_plan_walkthroughDELETE /api/v1/floor-plans/walkthroughs/{walkthrough_id}Delete a walk-through
delete_groupDELETE /api/v1/groups/{group_id}Delete a group
delete_guardian_conversationDELETE /api/v1/guardian/conversations/{conversation_id}Delete a Guardian conversation
delete_guardian_entriesPOST /api/v1/guardian/entries/actions/deleteDelete Guardian entries in bulk
delete_guardian_entryDELETE /api/v1/guardian/entries/{entry_id}Delete a Guardian entry
delete_home_assistant_instanceDELETE /api/v1/integrations/home-assistant/instances/{instance_id}Remove a Home Assistant instance
delete_home_assistant_triggerDELETE /api/v1/integrations/home-assistant/triggers/{trigger_id}Delete a device trigger
delete_label_alert_ruleDELETE /api/v1/label-alert-rules/{label_alert_rule_id}Delete a label alert rule
delete_layoutDELETE /api/v1/layouts/{layout_id}Delete a layout
delete_layout_sequenceDELETE /api/v1/layout-sequences/{layout_sequence_id}Delete a layout sequence
delete_library_albumDELETE /api/v1/library/albums/{album_id}Delete an album
delete_library_folderPOST /api/v1/library/folders/actions/deleteDelete an empty library folder
delete_library_itemDELETE /api/v1/library/items/{item_id}Delete a saved item
delete_memory_factDELETE /api/v1/memory/facts/{fact_id}Forget a remembered fact
delete_motion_ruleDELETE /api/v1/motion-rules/{motion_rule_id}Delete a smart-motion rule
delete_motion_zoneDELETE /api/v1/cameras/{camera_id}/motion-zones/{zone_id}Remove a motion zone
delete_outputDELETE /api/v1/outputs/{output_id}Delete a speaker
delete_privacy_maskDELETE /api/v1/cameras/{camera_id}/privacy-masks/{mask_id}Remove a privacy mask
delete_ptz_patrolDELETE /api/v1/cameras/{camera_id}/ptz/patrols/{patrol_id}Delete a patrol
delete_ptz_presetDELETE /api/v1/cameras/{camera_id}/ptz/presets/{preset_token}Delete a PTZ preset
delete_recording_cardsPOST /api/v1/recordings/cards/actions/deleteDelete whole cards
delete_reference_frameDELETE /api/v1/cameras/{camera_id}/reference-frameDelete a reference frame
delete_robot_nav_mapDELETE /api/v1/cameras/{camera_id}/robot/nav/mapForget everything the robot learned
delete_robot_placeDELETE /api/v1/cameras/{camera_id}/robot/places/{place_id}Delete a robot place
delete_roomDELETE /api/v1/rooms/{room_id}Delete a room
delete_room_alert_ruleDELETE /api/v1/rooms/{room_id}/alert-rules/{alert_rule_id}Delete a room Guardian alert rule
delete_room_inventoryDELETE /api/v1/rooms/{room_id}/inventoryClear a room's stock list
delete_siteDELETE /api/v1/sites/{site_id}Delete a site
delete_userDELETE /api/v1/users/{user_id}Delete a user
delete_viewDELETE /api/v1/views/{view_id}Delete an AI view
delete_webhookDELETE /api/v1/webhooks/{webhook_id}Delete a webhook
detect_cameraPOST /api/v1/cameras/actions/detectDetect a camera's streams
detect_camera_batchPOST /api/v1/cameras/actions/detect-batchDetect several cameras with one login
disable_alert_rulePOST /api/v1/alert-rules/{alert_rule_id}/actions/disableDisable a Guardian alert rule
disable_cameraPOST /api/v1/cameras/{camera_id}/actions/disableDisable a camera
disable_camera_aiPOST /api/v1/cameras/{camera_id}/actions/disable-aiSwitch AI off for a camera
disable_camera_ai_servicePOST /api/v1/cameras/{camera_id}/ai-services/{ai_service_id}/actions/disableSwitch an AI service off for a camera
disconnect_home_assistant_bridgePOST /api/v1/integrations/home-assistant/bridge/actions/disconnectDisconnect Home Assistant's devices
disconnect_home_assistant_instancePOST /api/v1/integrations/home-assistant/instances/{instance_id}/actions/disconnectDisconnect a Home Assistant instance
disconnect_loonaPOST /api/v1/loona/actions/disconnectDisconnect from the Loona robot
dismiss_auto_light_actionDELETE /api/v1/iot/auto-actions/{auto_action_id}Dismiss an automatic light action
dismiss_soundPOST /api/v1/sounds/{sound_id}/actions/dismissDismiss a siren that could not be switched off
drive_loonaPOST /api/v1/loona/actions/driveDrive the Loona robot
emote_loonaPOST /api/v1/loona/actions/emoteMake the Loona robot play an expression
enable_alert_rulePOST /api/v1/alert-rules/{alert_rule_id}/actions/enableEnable a Guardian alert rule
enable_cameraPOST /api/v1/cameras/{camera_id}/actions/enableEnable a camera
enable_camera_aiPOST /api/v1/cameras/{camera_id}/actions/enable-aiSwitch AI on for a camera
enable_camera_ai_servicePOST /api/v1/cameras/{camera_id}/ai-services/{ai_service_id}/actions/enableSwitch an AI service on for a camera
expose_home_assistant_zigbee_devicePOST /api/v1/integrations/home-assistant/zigbee/devices/{zigbee_device_id}/actions/exposeShare a Zigbee device with Vigiora
expose_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/exposeShare an IoT device with Vigiora
find_robot_keyboardsPOST /api/v1/cameras/{camera_id}/robot/actions/find-keyboardsFind Bluetooth MIDI keyboards with a robot camera
forget_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/forgetForget an IoT device
goto_ptz_presetPOST /api/v1/cameras/{camera_id}/ptz/presets/{preset_token}/actions/gotoGo to a PTZ preset
goto_robot_placePOST /api/v1/cameras/{camera_id}/robot/places/{place_id}/actions/gotoSend the robot to a place
import_automationPOST /api/v1/automations/actions/importCreate an automation from a blueprint
import_configPOST /api/v1/config/importImport a configuration
install_addonPOST /api/v1/addons/{addon_id}/installInstall a catalogue add-on
install_home_assistantPOST /api/v1/integrations/home-assistant/actions/installInstall Home Assistant
install_system_updatePOST /api/v1/system/update/actions/installInstall the staged update
list_ai_modelsPOST /api/v1/system/ai-model/actions/list-modelsList the models of a model server
lookup_network_addressGET /api/v1/network/lookupFind the current IP of a MAC (or the MAC of an IP)
move_device_to_dhcpPOST /api/v1/network/devices/actions/move-to-dhcpMove a camera from a conflicting static address to DHCP
move_ptzPOST /api/v1/cameras/{camera_id}/ptz/actions/moveMove the camera
move_ptz_in_roomPOST /api/v1/rooms/{room_id}/actions/move-ptzMove a room camera
patch_motion_zone_settingsPATCH /api/v1/cameras/{camera_id}/motion-zone-settingsSet a camera's motion zone mode
patch_perception_coach_settingsPATCH /api/v1/agents/perception-coach/settingsChange the Perception Coach settings
permit_home_assistant_zigbee_joinPOST /api/v1/integrations/home-assistant/actions/zigbee-permit-joinLet a new Zigbee device join
photo_loonaPOST /api/v1/loona/actions/photoMake the Loona robot take a photo
play_audio_in_roomPOST /api/v1/rooms/{room_id}/actions/play-audioPlay audio in a room
play_robot_melodyPOST /api/v1/cameras/{camera_id}/robot/actions/play-melodyPlay a melody on a Bluetooth keyboard with a robot camera
purge_guardian_entriesPOST /api/v1/guardian/trash/actions/purgePermanently delete recently deleted entries
recompute_guardian_clipsPOST /api/v1/guardian/entries/actions/recompute-clipsRe-cut the clips of recent Guardian entries
recompute_guardian_framesPOST /api/v1/guardian/entries/actions/recompute-framesRecompute the pictures of recent Guardian entries
reconnect_loonaPOST /api/v1/loona/actions/reconnectReconnect to the Loona robot
refresh_loonaPOST /api/v1/loona/actions/refreshAsk the Loona robot for its state now
relocate_cameraPOST /api/v1/cameras/{camera_id}/actions/relocateMove a camera to its MAC's current address
remove_addonDELETE /api/v1/addons/{addon_id}Remove an add-on
remove_home_assistant_zigbee_devicePOST /api/v1/integrations/home-assistant/zigbee/devices/{zigbee_device_id}/actions/removeRemove a Zigbee device
remove_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/removeRemove a Zigbee device from the network
rename_facePATCH /api/v1/faces/{face_id}Name a face
replace_floor_plan_itemsPOST /api/v1/floor-plans/{floor_plan_id}/items/actions/replaceReplace what is placed on a floor plan
replace_room_inventoryPOST /api/v1/rooms/{room_id}/inventory/actions/replaceReplace a room's stock list
restart_home_assistantPOST /api/v1/integrations/home-assistant/actions/restartRestart Home Assistant
resume_ptz_patrolPOST /api/v1/cameras/{camera_id}/ptz/patrol/actions/resumeResume the patrol
return_robot_homePOST /api/v1/cameras/{camera_id}/robot/nav/actions/return-homeSend the robot home
revert_perception_coachPOST /api/v1/cameras/{camera_id}/actions/revert-perception-coachRestore the human prompt
revert_room_perception_coachPOST /api/v1/rooms/{room_id}/actions/revert-perception-coachRestore the human room rules
revoke_account_sessionDELETE /api/v1/account/sessions/{session_id}Sign a device out
revoke_analytics_displayDELETE /api/v1/analytics/displays/{analytics_display_id}Revoke a door display
rotate_automation_webhookPOST /api/v1/automations/{automation_id}/actions/rotate-webhookReplace an automation's web address
rotate_webhook_secretPOST /api/v1/webhooks/{webhook_id}/actions/rotate-secretRotate the signing secret
run_auto_scanPOST /api/v1/network/auto-scan/actions/runScan the network for new cameras now
run_automationPOST /api/v1/automations/{automation_id}/actions/runRun or test an automation now
run_diagnostic_fixPOST /api/v1/setup/diagnostics/actions/fixRun an automatic fix
save_ptz_presetPOST /api/v1/cameras/{camera_id}/ptz/presetsSave a PTZ preset
scan_bluetoothPOST /api/v1/bluetooth/actions/scanScan for Bluetooth devices now
scan_robot_bluetoothPOST /api/v1/cameras/{camera_id}/robot/actions/bluetooth-scanScan Bluetooth with a robot camera
send_error_reportsPOST /api/v1/system/error-reports/actions/sendSend error reports to Vigiora
sense_robotPOST /api/v1/cameras/{camera_id}/robot/actions/senseScan the room with a robot camera
set_analytics_occupancyPOST /api/v1/analytics/areas/{analytics_area_id}/actions/set-occupancyCorrect an area's occupancy
set_camera_clockPOST /api/v1/cameras/{camera_id}/actions/set-clockSet a camera's clock to the server's
set_detected_camera_clockPOST /api/v1/cameras/actions/set-clockSet the clock of a camera being added
set_home_assistant_entity_accessPOST /api/v1/integrations/home-assistant/entities/{entity_id}/actions/set-accessExpose a Home Assistant entity
set_home_assistant_instance_entity_accessPOST /api/v1/integrations/home-assistant/instances/{instance_id}/entities/{entity_id}/actions/set-accessExpose an instance's entity
set_io_t_device_entityPOST /api/v1/iot/devices/{iot_device_id}/entities/{entity_id}/actions/setChange a device's control or setting
set_robot_cameraPOST /api/v1/cameras/{camera_id}/robot/actions/cameraSwitch a robot camera's picture on or off
setup_home_assistant_zigbeePOST /api/v1/integrations/home-assistant/actions/setup-zigbeeSet up Zigbee in Home Assistant
speak_in_roomPOST /api/v1/rooms/{room_id}/actions/speakSpeak in a room
speak_loonaPOST /api/v1/loona/actions/speakMake the Loona robot speak
speak_on_cameraPOST /api/v1/cameras/{camera_id}/actions/speakSpeak through a camera
start_camera_ai_live_sessionPOST /api/v1/ai-live/sessionsStart AI Live on a camera
start_camera_panoramaPOST /api/v1/cameras/{camera_id}/panoramaCapture a panorama
start_camera_sirenPOST /api/v1/cameras/{camera_id}/actions/sirenSound a camera's siren
start_io_t_light_effectPOST /api/v1/iot/devices/{iot_device_id}/entities/{entity_id}/actions/start-effectRun a light effect (blink, pulse, strobe)
start_network_scanPOST /api/v1/network/actions/scanScan the local network
start_ptz_patrolPOST /api/v1/cameras/{camera_id}/ptz/patrol/actions/startStart a patrol
start_ptz_patrol_scanPOST /api/v1/cameras/{camera_id}/ptz/patrol-scansSet a patrol up automatically
start_robot_nav_learnPOST /api/v1/cameras/{camera_id}/robot/nav/learn/actions/startStart learning the home
start_robot_patrolPOST /api/v1/cameras/{camera_id}/robot/patrol/actions/startStart an AI patrol of a robot camera
start_room_ai_livePOST /api/v1/rooms/{room_id}/ai-live/actions/startStart AI Live in a room
test_ai_modelPOST /api/v1/system/ai-model/actions/testTest the AI model
test_alert_speakerPOST /api/v1/alert-speaker/actions/testTest a camera speaker
test_outputPOST /api/v1/outputs/{output_id}/actions/testTest a speaker
unexpose_home_assistant_zigbee_devicePOST /api/v1/integrations/home-assistant/zigbee/devices/{zigbee_device_id}/actions/unexposeHide a Zigbee device from Vigiora
unexpose_io_t_devicePOST /api/v1/iot/devices/{iot_device_id}/actions/unexposeHide an IoT device from Vigiora
uninstall_home_assistantPOST /api/v1/integrations/home-assistant/actions/uninstallUninstall Home Assistant
unprotect_recordingPOST /api/v1/recordings/{recording_id}/actions/unprotectUnprotect a recording
update_addonPOST /api/v1/addons/{addon_id}/updateUpdate an add-on
update_agent_settingsPATCH /api/v1/settings/agentsChange AI agent settings
update_ai_modelPATCH /api/v1/system/ai-modelChoose the AI model
update_alert_rulePATCH /api/v1/alert-rules/{alert_rule_id}Update a Guardian alert rule
update_alert_speaker_settingsPATCH /api/v1/alert-speaker/settingsChange camera speaker alert settings
update_analytics_alert_rulePATCH /api/v1/analytics/alert-rules/{analytics_alert_rule_id}Update an analytics alert rule
update_analytics_areaPATCH /api/v1/analytics/areas/{analytics_area_id}Update an analytics area
update_analytics_linePATCH /api/v1/analytics/lines/{analytics_line_id}Update a counting line
update_analytics_zonePATCH /api/v1/analytics/zones/{analytics_zone_id}Update an analytics zone
update_auto_scanPATCH /api/v1/network/auto-scanTurn automatic network scanning on or off
update_automationPATCH /api/v1/automations/{automation_id}Change an automation
update_brandingPATCH /api/v1/brandingChange the server's name, accent colour or Powered by line
update_cameraPATCH /api/v1/cameras/{camera_id}Update a camera
update_camera_ai_servicePATCH /api/v1/cameras/{camera_id}/ai-services/{ai_service_id}Change a camera's AI service settings
update_camera_analyticsPATCH /api/v1/cameras/{camera_id}/analyticsUpdate a camera's analytics settings
update_camera_clockPATCH /api/v1/cameras/{camera_id}/clockSet the time zone a camera's clock should be in
update_clientPATCH /api/v1/clients/{client_id}Update a vigiora-client
update_error_report_settingsPATCH /api/v1/system/error-reports/settingsChange whether error reports are sent
update_floor_planPATCH /api/v1/floor-plans/{floor_plan_id}Update a floor plan
update_groupPATCH /api/v1/groups/{group_id}Update a group
update_guardian_clip_settingsPATCH /api/v1/guardian/clips/settingsChange the Guardian clip settings
update_guardian_trash_settingsPATCH /api/v1/guardian/trash/settingsChange the Recently deleted settings
update_health_settingsPATCH /api/v1/system/health/settingsChange the health check settings
update_home_assistantPOST /api/v1/integrations/home-assistant/actions/updateUpdate Home Assistant
update_home_assistant_devicePATCH /api/v1/integrations/home-assistant/devices/{entity_id}Link a device to cameras and rooms
update_home_assistant_instancePATCH /api/v1/integrations/home-assistant/instances/{instance_id}Rename, enable or disable a Home Assistant instance
update_home_assistant_integrationPOST /api/v1/integrations/home-assistant/actions/update-integrationUpdate the Vigiora integration in Home Assistant
update_home_assistant_room_signalsPATCH /api/v1/integrations/home-assistant/room-signals/{room_id}Set a room's devices
update_home_assistant_rule_actionsPATCH /api/v1/integrations/home-assistant/rule-actions/{alert_rule_id}Set an alert rule's device actions
update_home_assistant_triggerPATCH /api/v1/integrations/home-assistant/triggers/{trigger_id}Update a device trigger
update_io_t_devicePATCH /api/v1/iot/devices/{iot_device_id}Change an IoT devices settings
update_label_alert_rulePATCH /api/v1/label-alert-rules/{label_alert_rule_id}Update a label alert rule
update_line_integrationPATCH /api/v1/integrations/lineSet up LINE notifications
update_loona_settingsPATCH /api/v1/loona/settingsChange the Loona settings
update_memory_factPATCH /api/v1/memory/facts/{fact_id}Correct a remembered fact
update_motion_rulePATCH /api/v1/motion-rules/{motion_rule_id}Update a smart-motion rule
update_motion_zonePATCH /api/v1/cameras/{camera_id}/motion-zones/{zone_id}Rename or reshape a motion zone
update_mqtt_integrationPATCH /api/v1/integrations/mqttSet up the MQTT integration
update_outputPATCH /api/v1/outputs/{output_id}Update a speaker
update_privacy_maskPATCH /api/v1/cameras/{camera_id}/privacy-masks/{mask_id}Rename or reshape a privacy mask
update_ptz_presetPATCH /api/v1/cameras/{camera_id}/ptz/presets/{preset_token}Rename or move a PTZ preset
update_robot_nav_settingsPATCH /api/v1/cameras/{camera_id}/robot/nav/settingsChange robot navigation settings
update_roomPATCH /api/v1/rooms/{room_id}Update a room
update_room_alert_rulePATCH /api/v1/rooms/{room_id}/alert-rules/{alert_rule_id}Update a room Guardian alert rule
update_room_outputsPATCH /api/v1/rooms/{room_id}/outputsSet a room's speakers
update_settingsPATCH /api/v1/settingsChange server settings
update_sitePATCH /api/v1/sites/{site_id}Update a site
update_telegram_integrationPATCH /api/v1/integrations/telegramSet up Telegram notifications
update_userPATCH /api/v1/users/{user_id}Change a user
update_webhookPATCH /api/v1/webhooks/{webhook_id}Update a webhook
upload_branding_logoPUT /api/v1/branding/logoUpload the server's logo

GET /api/v1/agent-policy ก็ส่งรายการนี้กลับมาใน confirm_operations เช่นกัน

ทำงานอย่างไร#

เซิร์ฟเวอร์บังคับใช้ให้คนอนุมัติที่ endpoint MCP ในการเรียกเครื่องมือทุกครั้ง

ในแอปที่แสดงหน้าต่างถามได้#

เมื่อแอปรองรับ elicitation ของ MCP ตัว Vigiora จะถามคุณเอง แอปจะแสดงหน้าต่างที่ Vigiora เขียน เช่น

Vigiora asks for your approval: move camera "Entrance" (#5) left for 2.5 s. Requested by an app calling itself "Claude". Allow it?
  • Allow จะทำการกระทำนั้น Deny หรือการปิดหน้าต่างจะยกเลิก และเอเจนต์จะได้รับข้อผิดพลาด user_declined
  • เอเจนต์ตอบแทนคุณหรือข้ามหน้าต่างนี้ไม่ได้ คำตอบของคุณผูกกับการกระทำนี้เท่านั้นและหมดอายุใน 10 นาที
  • ข้อความของ Vigiora มาก่อน ชื่อที่แอปหรือผู้ใช้ตั้ง (ชื่อแอป ชื่อกล้อง และชื่อผู้ใช้) อยู่ในเครื่องหมายคำพูดและถูกตัดให้สั้น จึงปลอมเป็น Vigiora ไม่ได้
  • การเปลี่ยนแปลงจะแสดงฟิลด์พร้อมค่าใหม่ เช่น role → "admin", enabled → off รหัสผ่านและ secret จะแสดงเป็น "(new value hidden)" และที่อยู่เว็บจะไม่แสดงข้อมูลเข้าสู่ระบบ

ต้องใช้แอปที่ใช้โปรโตคอล MCP เวอร์ชัน 2026-07-28 ขึ้นไป

ในแอปอื่น#

แอปที่ไม่มี elicitation แสดงหน้าต่างของ Vigiora ไม่ได้ ในกรณีนี้

  1. เครื่องมือตอบด้วยข้อผิดพลาด confirmation_required โดย details.action อธิบายการกระทำเป็นภาษาง่ายๆ และ details.retry_with คือ {"confirm": true}
  2. เอเจนต์แสดงการกระทำนั้นและถามคุณในแชท
  3. เฉพาะเมื่อคุณตอบตกลง เอเจนต์จึงเรียกเครื่องมือเดิมอีกครั้งด้วยอาร์กิวเมนต์เดิมและ confirm: true
{
  "http_status": 428,
  "error": {
    "code": "confirmation_required",
    "message": "Human in the loop is on: ask the user to approve this action (move camera \"Entrance\" (#5) left for 2.5 s). Only if they approve, call move_ptz again with the same arguments and confirm: true.",
    "details": { "action": "move camera \"Entrance\" (#5) left for 2.5 s", "retry_with": { "confirm": true } }
  }
}

เมื่อแอปรองรับ elicitation การส่ง confirm: true ก็ข้ามหน้าต่างไม่ได้ เมื่อให้คนอนุมัติปิดอยู่ เครื่องมือจะทำงานทันทีและไม่สนใจ confirm

REST ไม่ได้รับผลกระทบ#

การเรียก REST ปกติไปที่ /api/v1 จะไม่ถูกถามและไม่ตอบ confirmation_required เนื้อหา REST ที่มีฟิลด์ confirm จะถูกปฏิเสธ (400 validation_error) ให้คนอนุมัติมีไว้สำหรับเอเจนต์ AI ซึ่งใช้ MCP

ข้อจำกัด#

ให้คนอนุมัติเป็นเครื่องป้องกัน ไม่ใช่ sandbox

  • เซิร์ฟเวอร์เชื่อได้เฉพาะสิ่งที่แอปแจ้ง แอปที่ยอมรับทุกหน้าต่างโดยอัตโนมัติ ไม่แจ้งว่ารองรับ elicitation หรือใช้โปรโตคอลเก่ากว่า 2026-07-28 จะได้รับ confirmation_required แทน แล้วเอเจนต์เองจะเป็นผู้ส่งคำตอบของคุณด้วย confirm: true elicitation จึงเป็นแบบที่ปลอดภัยกว่า เพราะคุณเป็นผู้ตอบ ไม่ใช่โมเดล
  • ตรวจสอบทีละการกระทำ การเรียกเครื่องมือที่มีความเสี่ยงแต่ละครั้งจะถามใหม่ การอนุมัติหนึ่งครั้งใช้กับการเรียกครั้งนั้นเท่านั้น
  • ไม่ได้จำกัดสิทธิ์การเข้าถึง หากต้องการจำกัดสิ่งที่เอเจนต์ทำได้ ให้ใช้คีย์ที่มีเฉพาะ scope ที่จำเป็น หรือ connector แบบ Read only ดู การยืนยันตัวตนและ scope

ตรวจสอบนโยบายจากเอเจนต์#

ข้อมูลรับรองใดก็อ่านนโยบายของตัวเองได้ โดยไม่ต้องมี scope

Terminal
curl -s https://yourname.vigiora.com/api/v1/agent-policy \
  -H "Authorization: Bearer vgk_xxxxxxxx_xxxxxxxxxxxxxxxx"
{
  "human_in_the_loop": true,
  "source": "server",
  "override": "inherit",
  "server_human_in_the_loop": true,
  "confirm_operations": ["addDetectedCameras", "bulkUpdateCameras", "createAlert", "…"],
  "note": "Human in the loop is ON for this credential: AI agents must get the user's approval before the operations in confirm_operations. …"
}
ฟิลด์ความหมาย
human_in_the_loopเอเจนต์ที่ใช้ข้อมูลรับรองนี้ต้องถามก่อนหรือไม่
sourceสิ่งที่กำหนด server (การตั้งค่าของเซิร์ฟเวอร์) api_key หรือ connected_app (ค่าที่ข้อมูลรับรองนี้เลือกเอง)
overrideค่าที่คีย์หรือแอปนี้เลือก inherit on หรือ off
server_human_in_the_loopการตั้งค่าของเซิร์ฟเวอร์
confirm_operationsoperationId ที่ต้องได้รับการอนุมัติขณะที่เปิดอยู่ ชื่อเครื่องมือ MCP เป็นชื่อเดียวกันในรูปแบบ snake_case
noteนโยบายในหนึ่งประโยค ให้เอเจนต์ทำตาม

ใน MCP สิ่งเดียวกันคือเครื่องมือ get_agent_policy และคำแนะนำที่เซิร์ฟเวอร์ส่งเมื่อเอเจนต์เชื่อมต่อก็บอกอยู่แล้วว่าให้คนอนุมัติเปิดอยู่หรือไม่ สกิลของ Vigiora บอกเอเจนต์ให้ตรวจสอบสิ่งนี้ก่อน และถามเฉพาะเมื่อเปิดอยู่

ผู้ดูแลระบบยังอ่านและเปลี่ยนการตั้งค่าของเซิร์ฟเวอร์ผ่าน API ได้ ด้วย GET และ PATCH /api/v1/settings/agents (settings:read settings:write ตัว PATCH เองต้องได้รับการอนุมัติขณะที่ให้คนอนุมัติเปิดอยู่) ผู้ใช้เปลี่ยนค่าของคีย์ตัวเองด้วย PATCH /api/v1/api-keys/{key_id} และ {"human_in_the_loop": "on"} (inherit on หรือ off เฉพาะผู้ใช้ที่ลงชื่อเข้าใช้)

แก้ไขหน้านี้บน GitHub