Skip to content

API Reference

Documentazione delle API REST per l’integrazione con Corellix.

https://api.corellix.io/api/v1

Tutte le richieste richiedono un Bearer Token:

Terminal window
Authorization: Bearer YOUR_ACCESS_TOKEN

Recupera l’elenco delle sessioni.

Query Parameters:

ParamTypeDescription
statusstringFilter by status (active, disconnected, all)
deliveryGroupstringFilter by delivery group
fromdatetimeStart date
todatetimeEnd date
pageintPage number
pageSizeintItems 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
}
}

Recupera il catalogo delle applicazioni.

Response:

{
"data": [
{
"id": "app-456",
"name": "Microsoft Word",
"processPath": "C:\\Program Files\\Microsoft Office\\...",
"icon": "base64...",
"usageCount": 1250
}
]
}

Statistiche di utilizzo per un’applicazione specifica.


Elenco delle macchine monitorate.

Query Parameters:

ParamTypeDescription
catalogstringFilter by machine catalog
statusstringFilter by power state

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"
}

Recupera lo stato e il download link di un report.


{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or expired token",
"details": null
}
}
CodeHTTP StatusDescription
UNAUTHORIZED401Token non valido
FORBIDDEN403Permessi insufficienti
NOT_FOUND404Risorsa non trovata
RATE_LIMITED429Troppe richieste
SERVER_ERROR500Errore interno