Get Monitoring Status
GET /api/agents/monitor/status
Get status of all active monitoring operations.
Enumerates active rows from web_monitors and merges with live counters
from Lagan’s web_monitor.get_monitoring_stats(). Returns zero counters
(not silent failure) when the web_monitor tool is unavailable.
Returns: MonitoringStatusResponse with total_monitors, active_monitors list, aggregate changes_detected_today, and last_check_at.
Raises: HTTPException 400: No active project set. HTTPException 503: Lagan agent unavailable.
Responses
Section titled “ Responses ”Successful Response
Status of all active monitoring operations.
object
Total number of active monitors
List of active monitoring operations
A single active web monitor.
object
Unique monitor identifier
URL being monitored
Check interval in minutes
Monitor status (active, paused, error)
Number of changes detected
Number of changes detected today