Get scan metrics
Retrieve scan metrics for the [Monarx](https://www.monarx.com/) malware scanner installed on a specified virtual machine.
Retrieve scan metrics for the Monarx malware scanner installed on a specified virtual machine.
The scan metrics provide detailed information about malware scans performed by Monarx, including number of scans, detected threats, and other relevant statistics. This information is useful for monitoring security status of the virtual machine and assessing effectiveness of the malware scanner.
Use this endpoint to monitor VPS security scan results and threat detection.
API Token authentication
Virtual Machine ID
1268054Success response
Records found during last scan
1Malicious files found during last scan
2Compromised files found during last scan
3Total number of files scanned during last scan
1932182025-02-27T11:54:22Z2025-03-27T11:54:22ZUnauthenticated response
Validation error response
Error response
GET /api/vps/v1/virtual-machines/{virtualMachineId}/monarx HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"records": 1,
"malicious": 2,
"compromised": 3,
"scanned_files": 193218,
"scan_started_at": "2025-02-27T11:54:22Z",
"scan_ended_at": "2025-03-27T11:54:22Z"
}Last updated
Was this helpful?