Skip to content

List the team's snapshots

GET/snapshots

Overview

Lists the snapshots in every snapshot storage the current team holds, newest first, without pagination. Each entry names its storage and, while it exists, the server it was taken of. A snapshot outlives its server.

Permissions

Requires the snapshot.read (View snapshots) permission for the selected team. Resources outside that team return 404.

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/snapshots' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
{
  "items": [
    {
      "uuid": "2305595e-9b2f-4f9e-96d7-47fc7ff45791",
      "uuid_short": "Uuid short",
      "name": "Pre-cascade baseline",
      "status": "available",
      "is_successful": true,
      "is_available": true,
      "size": 85899345920,
      "disk_allocated": 85899345920,
      "disk_used": 33822867456,
      "completed_at": "2026-09-12T22:07:13.000000Z",
      "created_at": "2026-09-12T22:05:47.000000Z",
      "server": {
        "uuid": "ecc6f4f1-c89b-4dce-a20b-a330641c5b0b",
        "uuid_short": "ecc6f4f1",
        "name": "lambda-core",
        "windows": false,
        "template_name": "Ubuntu 24.04",
        "template_icon_url": "/assets/icons/ubuntu.png"
      },
      "server_name": "lambda-core",
      "storage": {
        "uuid": "9e83397b-d88e-43ae-bfb7-a8c2e6eda853",
        "uuid_short": "Uuid short",
        "name": "Storage 1",
        "is_suspended": false
      }
    }
  ]
}

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Response 200

application/json

The record, as a JSON object. There is no envelope.

itemsobject[]required

The snapshots, newest first.

Show child attributes
uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

statusstringrequired

The state as the customer reads it, including a suspension of the storage holding the snapshot.

One of: creating, available, failed, unavailable, suspended, restoring

is_successfulbooleanrequired

Whether the resource is successful.

is_availablebooleanrequired

Whether the resource is available.

sizeinteger | nullrequired

The value of size.

disk_allocatedinteger | nullrequired

What the VM's disk was provisioned at when the snapshot was taken.

disk_usedinteger | nullrequired

How much of that disk is in use on the VM right now.

completed_atstring<date-time> | nullrequired

The date and time for completed at, in UTC.

created_atstring<date-time> | nullrequired

The date and time for created at, in UTC.

serverobject | nullrequired

The machine it was taken of, while that machine exists and is still the same account's. A snapshot outlives its server, and one moved to another account with its storage does not reveal the seller's machine.

Show child attributes
uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

windowsbooleanrequired

The value of windows.

template_namestring | nullrequired

The value of template_name.

template_icon_urlstring | nullrequired

The value of template_icon_url.

server_namestring | nullrequired

What the machine was called when the snapshot was taken.

storageobject | nullrequired

The snapshot storage holding it and paying for it.

Show child attributes
uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

is_suspendedbooleanrequired

Whether the resource is suspended.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.