Skip to content

Get a server

GET/servers/{server}

Overview

Returns a server's name, plan, usage, limits, location and last known power state. These saved details may be a few seconds old. Add ?include=user to include the account that owns it. The include is omitted unless the key may view the team roster.

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}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
{
  "id": "ecc6f4f1",
  "uuid": "ecc6f4f1-c89b-4dce-a20b-a330641c5b0b",
  "hostname": "lambda-core.blackmesa.example.com",
  "name": "lambda-core",
  "description": "Lambda Complex test chamber telemetry",
  "status": null,
  "suspension_reason": null,
  "power_state": "running",
  "windows": false,
  "template_name": "Ubuntu 24.04",
  "template_icon_url": "/assets/icons/ubuntu.png",
  "custom_icon_url": null,
  "default_icon_url": "/assets/icons/ubuntu.png",
  "created_at": "2026-03-02T19:14:36.000000Z",
  "usages": {
    "bandwidth": 500000000000,
    "actual_bandwidth": 500000000000,
    "rx": 200000000000,
    "tx": 300000000000
  },
  "limits": {
    "cpu": 4,
    "memory": 4294967296,
    "disk": 85899345920,
    "hdd_disk": null,
    "snapshots": 2,
    "backups": 2,
    "bandwidth": 5497558138880,
    "addresses": {
      "ipv4": [
        {
          "id": 58213,
          "address_pool_id": 4,
          "server_id": 4821,
          "user_id": null,
          "type": "ipv4",
          "is_primary": true,
          "address": "203.0.113.24",
          "cidr": 24,
          "gateway": "203.0.113.1",
          "mac_address": "52:54:00:3a:7c:91",
          "onlink": null,
          "floating_ip_uuid": null
        },
        {
          "id": 58391,
          "address_pool_id": 4,
          "server_id": 4821,
          "user_id": null,
          "type": "ipv4",
          "is_primary": false,
          "address": "203.0.113.88",
          "cidr": 24,
          "gateway": "203.0.113.1",
          "mac_address": "52:54:00:3a:7c:91",
          "onlink": null,
          "floating_ip_uuid": null
        }
      ],
      "ipv6": [
        {
          "id": 58214,
          "address_pool_id": 5,
          "server_id": 4821,
          "user_id": null,
          "type": "ipv6",
          "is_primary": false,
          "address": "2001:db8:4b2:18::1",
          "cidr": 64,
          "gateway": "2001:db8:4b2::1",
          "mac_address": "52:54:00:3a:7c:91",
          "onlink": "2001:db8:4b2::18",
          "floating_ip_uuid": null
        }
      ]
    },
    "mac_address": "52:54:00:3a:7c:91",
    "effective_bandwidth": 5497558138880,
    "bandwidth_blocks": 0,
    "plan_bandwidth": 5497558138880
  },
  "internal_id": 4821,
  "restoration_progress": null,
  "installation_progress": null,
  "install_failed_at": null,
  "restore_failed_at": null,
  "cpu_throttle": null,
  "bandwidth": null,
  "provisioning_scripts_supported": true,
  "snapshots_supported": true,
  "maintenance": null,
  "maintenance_events": [],
  "location": "Kansas City, MO",
  "product_group_name": "Standard VPS",
  "host": "5e0c2a91"
}

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

Query parameters

includestring

Related records to include, with multiple values separated by commas.

Response 200

application/json

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

idstringrequired

The short uuid. This is what every customer-facing URL is keyed by.

uuidstringrequired

The uuid UUID.

hostnamestringrequired

The fully qualified hostname.

namestringrequired

The name shown to customers.

descriptionstring | nullrequired

An optional description shown to customers.

statusstring | nullrequired

A pending server operation, or null when there is none. starting and stopping clear when the power command finishes.

One of: installing, install_failed, suspended, restoring_backup, restoring_snapshot, snapshotting, deleting, deletion_failed, upgrading, migrating, starting, stopping, null

suspension_reasonstring | nullrequired

Why the hold above is on, in the words of whoever put it on, or null where no reason was given. Only ever set alongside suspended: it is cleared when the suspension is lifted. Show it to the customer - it is written for them, and it is the difference between a machine that says it is suspended and one that says what to do about it.

power_statestring | nullrequired

The value of power_state.

One of: running, stopped, paused, null

windowsbooleanrequired

The value of windows.

template_namestring | nullrequired

The value of template_name.

template_icon_urlstring | nullrequired

The icon actually in force: the customer's own pick where they have made one, otherwise the artwork snapshotted from the template.

custom_icon_urlstring | nullrequired

The raw override, so a form can tell a pick from a default.

default_icon_urlstring | nullrequired

What the icon falls back to if that override is cleared.

created_atstringrequired

The date and time for created at, in UTC.

usagesobjectrequired

The value of usages.

Show child attributes
bandwidthintegerrequired

The billed figure, clamped to whatever allowance was in force when it was accrued.

actual_bandwidthinteger | nullrequired

The unclamped counter, which is what the pool is shared against. Null on a server that has never been metered.

rxintegerrequired

Inbound and outbound halves of the accrued usage, accounted on the public NIC only. Servers that last accrued before the split was recorded carry zeroes here while bandwidth is non-zero, so a consumer has to read 0/0 as "not broken down" rather than as "no traffic".

txintegerrequired

The value of tx.

limitsobjectrequired

The value of limits.

Show child attributes
cpuintegerrequired

The value of cpu.

memoryintegerrequired

Memory and disk are in bytes; their columns are kept in mebibytes.

diskintegerrequired

The value of disk.

hdd_diskinteger | nullrequired

Secondary spinning disk, in bytes. Null on a server sold without one.

snapshotsinteger | nullrequired

The value of snapshots.

backupsinteger | nullrequired

The value of backups.

bandwidthinteger | nullrequired

The PLAN's own allowance, in bytes, not the ceiling in force. Null on an unmetered server.

addressesobjectrequired

The value of addresses.

Show child attributes
ipv4object[]required

The value of ipv4.

Show child attributes
idintegerrequired

The id ID.

address_pool_idintegerrequired

The address pool id ID.

server_idinteger | nullrequired

The server id ID.

user_idinteger | nullrequired

The account holding this address out of its own allowance, or null when an administrator handed it out. On a customer payload a non-null value can only ever be the viewer's own account - an address reserved by somebody else cannot be attached to their server.

typestringrequired

The type of operation or resource.

One of: ipv4, ipv6

is_primarybooleanrequired

Whether the resource is primary.

addressstringrequired

The IP address assigned to the resource.

cidrintegerrequired

The network prefix length.

gatewaystringrequired

The gateway address for the network.

mac_addressstring | nullrequired

The value of mac_address.

onlinkstring | nullrequired

The value of onlink.

floating_ip_uuidstring | nullrequired

The floating address purchase holding this row, when there is one.

ipv6object[]required

The value of ipv6.

Show child attributes
idintegerrequired

The id ID.

address_pool_idintegerrequired

The address pool id ID.

server_idinteger | nullrequired

The server id ID.

user_idinteger | nullrequired

The account holding this address out of its own allowance, or null when an administrator handed it out. On a customer payload a non-null value can only ever be the viewer's own account - an address reserved by somebody else cannot be attached to their server.

typestringrequired

The type of operation or resource.

One of: ipv4, ipv6

is_primarybooleanrequired

Whether the resource is primary.

addressstringrequired

The IP address assigned to the resource.

cidrintegerrequired

The network prefix length.

gatewaystringrequired

The gateway address for the network.

mac_addressstring | nullrequired

The value of mac_address.

onlinkstring | nullrequired

The value of onlink.

floating_ip_uuidstring | nullrequired

The floating address purchase holding this row, when there is one.

mac_addressstring | nullrequired

The value of mac_address.

effective_bandwidthinteger | nullrequired

The transfer ceiling actually enforced: the plan's allowance plus whatever the customer has bought, or their share of the city's pool. Null when the server is unmetered.

bandwidth_blocksintegerrequired

Transfer granted on top of the plan, in bytes. Zero, never negative, for a pooled server whose share of the city has been eaten by a heavier neighbour.

plan_bandwidthinteger | nullrequired

The plan's allowance again, published beside the effective one so that neither has to be guessed from the other. A customer holding a block is not living on the figure their plan sold them, and the meter on the server says so in both numbers.

internal_idintegerrequired

The primary key. See the note on id above.

restoration_progressinteger | nullrequired

The value of restoration_progress.

installation_progressinteger | nullrequired

The value of installation_progress.

install_failed_atstring | nullrequired

Set only while the last install or rebuild is still an unread failure: cleared by the next attempt, and by the customer dismissing the notice it draws.

restore_failed_atstring | nullrequired

Set only while the last backup or snapshot restore is still an unread failure: cleared by the next restore or reinstall, and by the customer dismissing the notice it draws.

cpu_throttleobject | nullrequired

The value of cpu_throttle.

Show child attributes
cap_percentinteger | nullrequired

The ceiling being enforced, as a percentage of one core.

average_cpunumber | nullrequired

What the server averaged over the window that earned it the cap.

threshold_percentintegerrequired

The figure the average was judged against, and the length of the window it was measured over.

window_minutesintegerrequired

The value of window_minutes.

capped_atstring | nullrequired

The date and time for capped at, in UTC.

release_atstring | nullrequired

When the cap lifts on its own. Null on a cap set by hand.

manualbooleanrequired

Whether an administrator applied this rather than the sweep.

bandwidthobject | nullrequired

What the server's transfer really looks like once purchased blocks and pooling exist. Null, like cpu_throttle above it, whenever the plan's own allowance is the whole story.

Show child attributes
limitintegerrequired

The ceiling in force, in bytes.

plan_limitintegerrequired

The plan's own allowance, for the half of the meter it accounts for.

block_bytesintegerrequired

Everything this server has been granted beyond its own plan. In a pool that is not the same as what its owner bought: a quiet neighbour's unused share is lent out too, and the city's own purchased balance is reported on pool instead.

shapedbooleanrequired

Whether the server is being rate limited right now.

pooledbooleanrequired

The value of pooled.

poolobject | nullrequired

Null when the server is not pooled, or its location is unknown.

Show child attributes
locationstringrequired

The city display name, such as Nuremberg, DE.

limitintegerrequired

The sum of the member servers' own plan allowances.

usageintegerrequired

What the members have accrued between them.

block_bytesintegerrequired

What the team's blocks add to the pool on top of limit.

exhaustedbooleanrequired

The whole city is shaped together the moment its shared budget runs out, which is what sharing one costs.

provisioning_scripts_supportedbooleanrequired

The value of provisioning_scripts_supported.

snapshots_supportedbooleanrequired

Whether snapshot storage is available in this server's location.

maintenanceobject | nullrequired

Null unless maintenance that affects this server is planned or under way.

Show child attributes
uuidstringrequired

The uuid UUID.

typestringrequired

A planned window, or unplanned disruption.

One of: maintenance, incident

scopestringrequired

Whether this covers the host the server runs on (node) or a whole city (location).

One of: location, node

statusstringrequired

The value of status.

One of: scheduled, in_progress, identified, monitoring, completed, cancelled

is_livebooleanrequired

Whether it is happening now rather than scheduled or finished.

titlestringrequired

The value of title.

bodystring | nullrequired

The message body.

impactstringrequired

How severely the maintenance affects the component, with a readable label.

One of: OPERATIONAL, UNDERMAINTENANCE, DEGRADEDPERFORMANCE, PARTIALOUTAGE, MAJOROUTAGE

impact_labelstringrequired

The value of impact_label.

targetstring | nullrequired

The city the event covers, or null when it covers the host the server runs on rather than the whole city.

starts_atstring | nullrequired

The date and time for starts at, in UTC.

ends_atstring | nullrequired

The date and time for ends at, in UTC.

status_urlstring | nullrequired

Where the event is published on the public status page, if it is.

maintenance_eventsobject[]required

Every maintenance or incident that affects this server, most pressing first. maintenance is the first of these.

Show child attributes
uuidstringrequired

The uuid UUID.

typestringrequired

A planned window, or unplanned disruption.

One of: maintenance, incident

scopestringrequired

Whether this covers the host the server runs on (node) or a whole city (location).

One of: location, node

statusstringrequired

The value of status.

One of: scheduled, in_progress, identified, monitoring, completed, cancelled

is_livebooleanrequired

Whether it is happening now rather than scheduled or finished.

titlestringrequired

The value of title.

bodystring | nullrequired

The message body.

impactstringrequired

How severely the maintenance affects the component, with a readable label.

One of: OPERATIONAL, UNDERMAINTENANCE, DEGRADEDPERFORMANCE, PARTIALOUTAGE, MAJOROUTAGE

impact_labelstringrequired

The value of impact_label.

targetstring | nullrequired

The city the event covers, or null when it covers the host the server runs on rather than the whole city.

starts_atstring | nullrequired

The date and time for starts at, in UTC.

ends_atstring | nullrequired

The date and time for ends at, in UTC.

status_urlstring | nullrequired

Where the event is published on the public status page, if it is.

locationstringrequired

The city the server stands in, e.g. "Nuremberg, DE". A location is a city now; displayName() also reads back the older codes that carried the product alongside it in brackets.

product_group_namestring | nullrequired

The product the server was sold as, such as Standard VPS, or null when no product is linked.

hoststringrequired

The short ID of the physical host the server runs on. Servers that share a host show the same ID, which is how a host group's spread can be checked.

userobject

The account the server belongs to, present only when a caller asked for it by name.

Show child attributes
namestringrequired

The name shown to customers.

emailstringrequired

The email address.

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.