Home / Technology / API Reference
v3.18.5

Multi-Sensor Drone Detection Command Console

The Varta Max API provides RESTful endpoints for managing sensors, retrieving detections, and controlling the drone detection network. Real-time updates are available via WebSocket.

Base URL: https://<your-varta-max>:8081
πŸ“‘

Sensors

GET /api/sensors List all connected sensors
🎯

Detections

GET /api/detections Get recent raw detections
GET /api/fused Get multi-sensor fused detections
GET /api/targets Get active tracked targets
⚑

Commands

POST /api/command/{sensor_id} Send command to a sensor
πŸ—ΊοΈ

Map

GET /api/map/config Get map configuration
GET /api/map/markers Get all map markers (sensors + detections)
GET /api/map/html Get generated Leaflet map HTML
🎯

MGRS & Protected Zones

GET /api/zones List all MGRS protected zones
POST /api/zones Add a protected zone (MGRS, name, priority 1-4)
DELETE /api/zones/{mgrs} Remove a protected zone
POST /api/zones/check Check if lat/lon is in or approaching a zone
POST /api/mgrs/convert Convert between lat/lon and MGRS
POST /api/mgrs/grid Get MGRS cell boundaries for viewport
🧭

Direction Finding

GET /api/sensors/{id}/df DF station status and configuration
POST /api/sensors/{id}/df/calibrate Trigger remote DF calibration
GET /api/bearings/recent Recent DF bearing measurements
GET /api/bearings/intersections Recent DF bearing intersection positions
πŸ“€

Export & Intelligence

GET /api/export/stix Export all detections as STIX 2.1 bundle
GET /api/export/stix/indicators Export drone signatures as STIX indicators
GET /api/fused/history Historical fused detections with time-range query
GET /api/swarms Active swarm events
πŸ“¦

Registry & Fleet

GET /api/registry/compliance Fleet registry compliance status
GET /api/registry/mirror Local registry mirror status
POST /api/registry/update Push registry update command to sensor(s)
GET /api/sensors/pending List sensors awaiting pairing approval
POST /api/sensors/{id}/pair Approve sensor pairing
GET /api/status System status overview
⚑

gRPC Streaming

STREAM StreamDetections Server-streaming RPC for real-time detections
STREAM StreamHealth Periodic health snapshots with per-sensor state
STREAM StreamAlerts Real-time alert streaming
πŸ’š

Health & Metrics

GET /health Full health check with component status
GET /health/live Kubernetes liveness probe
GET /health/ready Kubernetes readiness probe
GET /metrics Prometheus metrics endpoint
πŸ”Œ

WebSocket

WS /ws/detections Real-time detection stream
⚠️

Threat Level Reference

Level 0 - CLEAR

No anomalies detected

Level 1 - SUSPICIOUS

Signal 10+ dB above baseline

Level 2 - THREAT

Signal 20+ dB above baseline

Level 3 - CRITICAL

Pattern matches drone signature

Level 4 - EMERGENCY

Multiple confirmed threats

Level 5 - SENSOR_FAULT

Hardware failure - cannot trust readings