List snapshots for a virtual server.

Use this endpoint to retrieve a list of all saved snapshots for a specific virtual server (VM). This is useful if you want to see the history of saved states for your server or identify a specific snapshot to restore from.

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
GET https://cloud.hostup.se/api/vm/{vmid}/snapshots
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/16018/snapshots" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": [
    {
      "name": "string",
      "running": 0,
      "digest": "string",
      "description": "string"
    }
  ]
}