Check if the QEMU Guest Agent is installed and running on your VPS. This is crucial for OS-level communication, enabling features like file system backups and proper shutdowns. The endpoint returns a unique 'requestId' for tracking.
vmid integer · min: 1 required Example Unique vmid identifier
pid string required Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string retryAfter string requestId string https://cloud.hostup.se/api/vm/{vmid}/agent/exec curl -X GET "https://cloud.hostup.se/api/vm/17356/agent/exec?pid=string" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"pid": 0,
"exited": true,
"exitcode": 0,
"stdout": "string",
"stderr": "string"
}
}