Skip to content

List snapshots available to a server

GET/servers/{server}/snapshots

Overview

Lists every snapshot in the server's account and team, newest first, without pagination. This includes snapshots of other servers, and any of them can be restored onto this server. Each entry names the server the snapshot was taken of, while that server still exists. A snapshot being restored onto this server has the status restoring in this list only. The same snapshot can be restored onto other servers at the same time. The response also lists the team's snapshot storages that can hold a new snapshot.

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/servers/{server}/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
      }
    }
  ],
  "storages": [
    {
      "uuid": "9e83397b-d88e-43ae-bfb7-a8c2e6eda853",
      "uuid_short": "Uuid short",
      "name": "Storage 1",
      "status": "active",
      "status_label": "Active",
      "progress_message": null,
      "needs_funds": false,
      "size_gb": 200,
      "capacity": 214748364800,
      "used": 85899345920,
      "remaining": 128849018880,
      "snapshots_count": 1,
      "is_suspended": false,
      "is_usable": true,
      "billing": {
        "service_id": 7436,
        "invoice_id": 16388,
        "invoice_url": null,
        "checkout_uuid": null,
        "invoice_status": "Paid",
        "amount": "3.00",
        "currency": "USD",
        "billing_cycle": "Monthly",
        "payment_due_at": null,
        "payment_window_minutes": 30,
        "paid_at": "2026-06-03T17:26:52+00:00"
      },
      "cancellation_type": null,
      "cancellation_requested_at": null,
      "autopay": false,
      "can_cancel": false,
      "can_withdraw_cancellation": false,
      "can_resize": true,
      "pending_resize": null,
      "created_at": "2026-06-03T17:26:40+00:00"
    }
  ],
  "storage_available": true
}

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>.

Path parameters

serverstringrequired

The server uuid short

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.

storagesobject[]required

The usable snapshot storages in the team: paid for, not suspended and not ended.

Show child attributes
uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

statusstringrequired

The value of status.

One of: pending_payment, active, pending_cancellation, terminating, terminated, expired, payment_review

status_labelstringrequired

The status in the customer's words, with suspension first.

progress_messagestring | nullrequired

What the purchase is waiting on, when it is waiting on something.

needs_fundsbooleanrequired

Whether the purchase is waiting for the account to hold enough credit.

size_gbintegerrequired

The size bought, in whole GiB.

capacityintegerrequired

The size bought, in bytes.

usedintegerrequired

What the finished snapshots in it occupy, in bytes.

remainingintegerrequired

Capacity less used, never below nought, in bytes.

snapshots_countintegerrequired

The number of snapshots count.

is_suspendedbooleanrequired

Whether billing has suspended it. Its snapshots are frozen while it is.

is_usablebooleanrequired

Whether snapshots may be taken into, restored from, deleted from or moved in or out of it.

billingobjectrequired

The value of billing.

Show child attributes
service_idinteger | nullrequired

The customer's service number, once a recurring service exists.

invoice_idinteger | nullrequired

The customer's invoice number, once an invoice exists.

invoice_urlstring | nullrequired

A complete URL where the invoice can be paid.

checkout_uuidstring | nullrequired

The checkout UUID, or null when no checkout is available.

checkout_uuid_shortstring | nullrequired

The value of checkout_uuid_short.

invoice_statusstring | nullrequired

The current invoice status, or null before an invoice exists.

amountstring | nullrequired

The amount in the currency shown by currency.

currencystring | nullrequired

The three-letter currency code used for amount.

billing_cyclestring | nullrequired

How often the service renews, or null for a one-time charge.

payment_due_atstring | nullrequired

When payment is due before the reservation is released.

payment_window_minutesinteger | nullrequired

How many minutes the original payment window allowed.

paid_atstring | nullrequired

When the charge was paid, or null while payment is outstanding.

cancellation_typestring | nullrequired

The value of cancellation_type.

One of: immediate, end_of_billing, null

cancellation_requested_atstring | nullrequired

The date and time for cancellation requested at, in UTC.

autopaybooleanrequired

The value of autopay.

can_cancelbooleanrequired

Whether the customer can cancel.

can_withdraw_cancellationbooleanrequired

Whether an end-of-period cancellation can still be taken back.

can_resizebooleanrequired

Whether the customer can resize.

pending_resizeobject | nullrequired

A change of size still being paid for or written to billing.

Show child attributes
uuidstringrequired

The uuid UUID.

from_gbintegerrequired

The value of from_gb.

to_gbintegerrequired

The value of to_gb.

statusstringrequired

The value of status.

One of: pending, completed, expired, payment_review

needs_fundsbooleanrequired

Whether the charge is waiting for the account to hold enough credit.

progress_messagestring | nullrequired

The value of progress_message.

amountstringrequired

The prorated charge for a larger size.

refund_amountstringrequired

The prorated credit for a smaller size.

currencystringrequired

The three-letter currency code used for monetary amounts.

created_atstring | nullrequired

The date and time for created at, in UTC.

created_atstring | nullrequired

The date and time for created at, in UTC.

storage_availablebooleanrequired

Whether this location can write a snapshot at all. Taking one is refused where this is false.

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.
404
The resource was not found in the selected team. Resources in another account or team also return 404.
409
The server is suspended, installing or busy with another operation. The message explains why.
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.