For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get scan metrics

Retrieve scan metrics for the [Monarx](https://www.monarx.com/) malware scanner installed on a specified virtual machine.

Get scan metrics

get

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.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
virtualMachineIdintegerRequired

Virtual Machine ID

Example: 1268054
Responses
200

Success response

application/json
recordsintegerOptional

Records found during last scan

Example: 1
maliciousintegerOptional

Malicious files found during last scan

Example: 2
compromisedintegerOptional

Compromised files found during last scan

Example: 3
scanned_filesintegerOptional

Total number of files scanned during last scan

Example: 193218
scan_started_atstring · date-timeOptionalExample: 2025-02-27T11:54:22Z
scan_ended_atstring · date-time · nullableOptionalExample: 2025-03-27T11:54:22Z
get/api/vps/v1/virtual-machines/{virtualMachineId}/monarx
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?