Base URL: https://api.monsys.ai/api/v1. Authenticatie:
- Agents:
Authorization: Bearer <agent-token>
- Dashboard / CLI: signed session cookie of API-key
Agent endpoints
| Methode | Pad | Doel |
|---|
| POST | /ingest | Batch metrics/heartbeat/inventory/alerts |
| POST | /agents/register | Idempotent agent-registratie |
| POST | /agents/:id/heartbeat | Live status |
| GET | /ws/agents/:id | WebSocket voor emergency-token push |
Dashboard endpoints
| Methode | Pad |
|---|
| GET | /agents |
| GET | /agents/:id |
| GET | /agents/:id/metrics?from&to&interval |
| GET | /agents/:id/inventory |
| GET | /agents/:id/processes |
| DELETE | /agents/:id |
| GET | /alerts |
| PATCH | /alerts/:id/resolve |
| GET | /playbooks |
| POST | /playbooks |
| POST | /playbooks/:id/approve |
| POST | /agents/:id/emergency |
| GET | /blast-radius/:id |
| GET | /inventory/cves |
| GET | /ai/explain?log=…&agent_id=…&lang=nl |
Health & metrics
GET /api/v1/health → { "status": "ok" }
GET /metrics → Prometheus exposition.
Rate limits
| Endpoint | Limiet |
|---|
/ingest | 60 / minuut / agent |
/agents/:id/emergency | 5 / uur / user |
| Andere | 1000 / minuut / IP |