List backups for a specific VM

Display all available backups for a specific virtual server (VM). The information returned, including the backup ID (volid), is necessary to perform follow-up actions such as restoring or deleting a backup. The VMID used to call this endpoint is typically retrieved from the VM's status or details page.

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 array
401
error string
message string
code string
timestamp string
requestId string
GET https://cloud.hostup.se/api/vm/{vmid}/backups
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/10415/backups" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": [
    {
      "volid": "string",
      "vmid": "string",
      "size": 0,
      "ctime": 0,
      "format": "string",
      "content": "string",
      "storage": "string",
      "protected": true,
      "notes": "string",
      "files": [
        {
          "crypt-mode": "string",
          "filename": "string",
          "size": 0
        }
      ],
      "scheduled": true,
      "backupType": "string",
      "scheduleId": "string"
    }
  ]
}