Reports API
Base URL: https://app.kvmfleet.io/v1
Generate NIS2 compliance PDF
curl -X POST "https://app.kvmfleet.io/v1/reports/nis2?from_date=2026-01-01&to_date=2026-03-31" \
-H "Authorization: Bearer $TOKEN" \
--output eurokvm-nis2-q1-2026.pdf
Response: Content-Type: application/pdf
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
from_date |
string | 3 months ago | Start of period (YYYY-MM-DD) |
to_date |
string | today | End of period (YYYY-MM-DD) |
What's in the PDF
- Executive summary: device count, team size, audit events, sessions, failed logins
- Audit hash chain integrity verification (VERIFIED / BROKEN)
- NIS2 Article 21 control mapping (10 measures with evidence)
- Access control table (members, roles, auth providers)
- EU data residency statement
Audit trail
Report generation is logged:
{
"action": "report.nis2",
"result": "success",
"details": {
"from": "2026-01-01T00:00:00+00:00",
"to": "2026-03-31T00:00:00+00:00"
}
}
Required role: any authenticated user.