Skip to content

Get the current plan change

GET/servers/{server}/upgrades/current

Overview

Returns the current plan change, including its status, progress percentage, progress message and any failure reference. Returns 204 with no body if there is no current change. Completed changes remain available for one day. Changes awaiting billing review remain available until the review is recorded.

Permissions

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

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/servers/{server}/upgrades/current' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
{
  "uuid": "2946b7c6-1b8d-4279-880f-629c9dd8f48c",
  "uuid_short": "Uuid short",
  "status": "pending_payment",
  "status_label": "Paying from account credit",
  "stage": "awaiting_billing",
  "progress": 0,
  "progress_message": "Paying for the change from your account credit.",
  "location_change_fee": "0.00",
  "billing": {
    "service_id": null,
    "invoice_id": null,
    "invoice_url": null,
    "checkout_uuid": null,
    "invoice_status": null,
    "amount": "6.00",
    "currency": "USD",
    "billing_cycle": null,
    "payment_due_at": "2026-09-14T17:12:09+00:00",
    "payment_window_minutes": null,
    "paid_at": null
  },
  "source_location": "Kansas City, MO",
  "target_location": "Kansas City, MO",
  "requires_migration": false,
  "crosses_location": false,
  "requires_ip_replacement": false,
  "resize_disk": true,
  "plan_name": "Standard 8 GB",
  "product_group_name": "Standard VPS",
  "source_cpu": 4,
  "source_memory": 4294967296,
  "source_disk": 85899345920,
  "source_bandwidth": 5497558138880,
  "target_cpu": 6,
  "target_memory": 8589934592,
  "target_disk": 171798691840,
  "target_bandwidth": 10995116277760,
  "transferred_bytes": null,
  "total_bytes": null,
  "can_cancel": true,
  "error": null,
  "support_reference": null,
  "created_at": "2026-09-14T16:42:09+00:00",
  "started_at": null,
  "completed_at": null
}

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.

uuidstringrequired

The uuid UUID.

uuid_shortstringrequired

The value of uuid_short.

statusstringrequired

The value of status.

One of: pending_payment, queued, stopping, migrating, resizing, networking, finalizing, completed, failed, expired, payment_review, cancelled

status_labelstringrequired

The value of status_label.

stagestring | nullrequired

The value of stage.

progressintegerrequired

The value of progress.

progress_messagestring | nullrequired

The value of progress_message.

location_change_feestring | nullrequired

The value of location_change_fee.

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.

source_locationstring | nullrequired

The value of source_location.

target_locationstring | nullrequired

The value of target_location.

requires_migrationbooleanrequired

Whether this action requires migration.

crosses_locationbooleanrequired

The value of crosses_location.

requires_ip_replacementbooleanrequired

Whether this action requires ip replacement.

resize_diskbooleanrequired

The value of resize_disk.

plan_namestring | nullrequired

The value of plan_name.

product_group_namestring | nullrequired

The value of product_group_name.

source_cpuinteger | nullrequired

The plan the customer bought, spelled out against what the server has today. These are the snapshot taken at checkout, so they keep describing the change even after the feed moves on.

source_memoryinteger | nullrequired

The value of source_memory.

source_diskinteger | nullrequired

The value of source_disk.

source_bandwidthinteger | nullrequired

The value of source_bandwidth.

target_cpuinteger | nullrequired

The value of target_cpu.

target_memoryinteger | nullrequired

The value of target_memory.

target_diskinteger | nullrequired

The value of target_disk.

target_bandwidthinteger | nullrequired

The value of target_bandwidth.

transferred_bytesinteger | nullrequired

The value of transferred_bytes.

total_bytesinteger | nullrequired

The value of total_bytes.

can_cancelbooleanrequired

Whether the customer can cancel.

errorstring | nullrequired

A customer-safe explanation of the failure. Internal billing diagnostics are never published here.

support_referencestring | nullrequired

The value of support_reference.

created_atstring | nullrequired

The date and time for created at, in UTC.

started_atstring | nullrequired

The date and time for started at, in UTC.

completed_atstring | nullrequired

The date and time for completed at, in UTC.

Response 204

There is no current plan change.

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