GET /api/overview
Returns a high-level summary of the entire fleet, including agent counts, threat statistics, and the active policy version. Designed for dashboard UIs and monitoring integrations.Response Fields
| Field | Type | Description |
|---|---|---|
totalAgents | number | Total registered agents |
onlineAgents | number | Agents with a recent heartbeat |
staleAgents | number | Agents that missed their heartbeat window but are not yet offline |
offlineAgents | number | Agents that have been unreachable beyond the timeout |
threatSummary | object | Threat counts by severity for the last 24 hours and 7 days |
activePolicyVersion | string | Currently active policy version (e.g., v3) |
topThreats | array | Most frequent threat types across the fleet |
agentsByOs | object | Agent count grouped by operating system |
updatedAt | string | ISO 8601 timestamp of the last data refresh |
Agent Status Definitions
Online
Online
The agent has sent a heartbeat within the configured timeout window (default: 120 seconds). The agent is functioning normally.
Stale
Stale
The agent missed its expected heartbeat but has not exceeded the offline threshold (default: 5 minutes). This may indicate network issues or high load.
Offline
Offline
The agent has not sent a heartbeat beyond the offline threshold. It may be stopped, crashed, or the machine is unreachable.
Integration Example
Here is a minimal dashboard polling script:For real-time updates without polling, use the SSE event stream instead.