Return VPS backups, quota state, and action gates. Get {id} from GET /api/v2/vps data[].id. Use backups[].id as {backupId} for restore or delete. Backups are offsite, longer-term recovery images and can take longer to create or restore than snapshots. Snapshots are short-lived local block-on-write rollback points for quick changes; use backups when the user needs durable/offsite recovery. actions.canCreateBackup and actions.canRestore already include service status, quota, permission, and in-flight job checks.
read:vm
Use Authorization: Bearer <token> for API keys. Dashboard sessions may also use hostup_session.
id string required
Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3 Public VPS ID from `GET /api/v2/vps` `data[].id`. Do not invent this value; use the exact ID returned by the referenced API response.
Accept Example Content-Type Example backups array<object> required backups[].id string required
· Example: bkp_01hxa3b4c5d6e7f8g9h0j1k2m3 backups[].displayId string required
· Example: 2026-04-27T10:00:00.000Z (vzdump-qemu-101.vma.zst) backups[].storageKey string required
· Example: vzdump-qemu-101.vma.zst backups[].createdAt stringnull required
· Example: 2026-04-27T10:00:00.000Z backups[].sizeGb number required
· Example: 12.4 backups[].backupType string required
· Example: manual backups[].note stringnull required
· Example: Before upgrade quotaInfo object required quotaInfo.used integer required
· Example: 1 quotaInfo.limit integernull required
· Example: 3 quotaInfo.remaining integernull required
· Example: 2 actions object required actions.canCreateBackup object required actions.canCreateBackup.allowed boolean required
· Example: true actions.canCreateBackup.reason stringnull required
· Example: null actions.canCreateBackup.code stringnull
· Example: pending_order Machine-readable reason code when an action is blocked.
actions.canRestore object required actions.canRestore.allowed boolean required
· Example: true actions.canRestore.reason stringnull required
· Example: null actions.canRestore.code stringnull
· Example: pending_order Machine-readable reason code when an action is blocked.
type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/vps/{id}/backups curl -X GET "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/backups" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" {
"backups": [
{
"id": "bkp_01hxa3b4c5d6e7f8g9h0j1k2m3",
"displayId": "2026-04-27T10:00:00.000Z (vzdump-qemu-101.vma.zst)",
"storageKey": "vzdump-qemu-101.vma.zst",
"createdAt": "2026-04-27T10:00:00.000Z",
"sizeGb": 12.4,
"backupType": "manual",
"note": "Before upgrade"
}
],
"quotaInfo": {
"used": 1,
"limit": 3,
"remaining": 2
},
"actions": {
"canCreateBackup": {
"allowed": true,
"reason": null
},
"canRestore": {
"allowed": true,
"reason": null
}
}
}