Check active jobs and operations for a specific VM

Check if any active operations or jobs are running for a specific virtual machine (VM). Use this endpoint to see if a VM is busy with an ongoing process, such as a backup or system update. VM ID (vmid) is obtained from endpoints like GET /api/vm/{vmid}/status.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
401
error string
message string
code string
timestamp string
requestId string
403
error string
message string
code string
timestamp string
requestId string
429
error string
message string
retryAfter string
requestId string
GET https://cloud.hostup.se/api/vm/{vmid}/active-jobs
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/17127/active-jobs" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "jobs": [
      "string"
    ],
    "hasActiveBackup": true,
    "hasActiveOperation": true,
    "canPerformActions": true
  }
}