API Reference
API Reference
Section titled āAPI ReferenceāDocumentazione delle API REST per lāintegrazione con Corellix.
Base URL
Section titled āBase URLāhttps://api.corellix.io/api/v1Autenticazione
Section titled āAutenticazioneāTutte le richieste richiedono un Bearer Token:
Authorization: Bearer YOUR_ACCESS_TOKENEndpoints
Section titled āEndpointsāSessions
Section titled āSessionsāGET /sessions
Section titled āGET /sessionsāRecupera lāelenco delle sessioni.
Query Parameters:
| Param | Type | Description |
|---|---|---|
status | string | Filter by status (active, disconnected, all) |
deliveryGroup | string | Filter by delivery group |
from | datetime | Start date |
to | datetime | End date |
page | int | Page number |
pageSize | int | Items per page (max 100) |
Response:
{ "data": [ { "id": "sess-123", "userName": "DOMAIN\\user", "machineName": "VDI-001", "deliveryGroup": "Windows 11", "status": "Active", "startTime": "2025-12-19T08:30:00Z", "clientAddress": "192.168.1.100" } ], "pagination": { "page": 1, "pageSize": 50, "total": 150 }}Applications
Section titled āApplicationsāGET /applications
Section titled āGET /applicationsāRecupera il catalogo delle applicazioni.
Response:
{ "data": [ { "id": "app-456", "name": "Microsoft Word", "processPath": "C:\\Program Files\\Microsoft Office\\...", "icon": "base64...", "usageCount": 1250 } ]}GET /applications/{id}/usage
Section titled āGET /applications/{id}/usageāStatistiche di utilizzo per unāapplicazione specifica.
Machines
Section titled āMachinesāGET /machines
Section titled āGET /machinesāElenco delle macchine monitorate.
Query Parameters:
| Param | Type | Description |
|---|---|---|
catalog | string | Filter by machine catalog |
status | string | Filter by power state |
Reports
Section titled āReportsāPOST /reports
Section titled āPOST /reportsāCrea un nuovo report.
Request Body:
{ "name": "Weekly Usage Report", "type": "session-summary", "dateRange": { "from": "2025-12-12T00:00:00Z", "to": "2025-12-19T23:59:59Z" }, "filters": { "deliveryGroups": ["Windows 11", "Windows 10"] }, "format": "pdf"}GET /reports/{id}
Section titled āGET /reports/{id}āRecupera lo stato e il download link di un report.
Error Responses
Section titled āError Responsesā{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or expired token", "details": null }}| Code | HTTP Status | Description |
|---|---|---|
| UNAUTHORIZED | 401 | Token non valido |
| FORBIDDEN | 403 | Permessi insufficienti |
| NOT_FOUND | 404 | Risorsa non trovata |
| RATE_LIMITED | 429 | Troppe richieste |
| SERVER_ERROR | 500 | Errore interno |
- .NET SDK
- Python SDK (coming soon)
- PowerShell Module (coming soon)