Get detailed status and information for a virtual server

Retrieve the current status and detailed information for a specific virtual server (VM), useful for monitoring server performance, network configuration, and resource allocation. The API returns a 'requestId' for tracking and various IDs needed for subsequent management or information retrieval calls.

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 object
GET https://cloud.hostup.se/api/vm/{vmid}/details-poll
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/14675/details-poll" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "vm": {
      "id": 0,
      "fullid": "string",
      "node": "string",
      "hostname": "string",
      "virt": "string",
      "ha": true,
      "built": true,
      "locked": true,
      "power": true,
      "status": "string",
      "status_lang": "string",
      "password": "string",
      "sshkeys": [
        "string"
      ],
      "username": "string",
      "cpu": 0,
      "memory": "string",
      "disk": 0,
      "swap": "string",
      "additional_storage": [
        "string"
      ],
      "uptime": 0,
      "ipam": [
        {
          "id": 0,
          "vmid": 0,
          "interface": 0,
          "ipaddress": "string",
          "mac": "string",
          "wanip": "string",
          "ip": "string",
          "mask": "string",
          "network": "string",
          "gateway": "string",
          "main": 0,
          "options": {
            "private": true,
            "keep_mac": true
          },
          "server_id": 0,
          "type": "string",
          "vlan": "string",
          "private": "string"
        }
      ],
      "template_id": "string",
      "template_name": "string",
      "template_data": [
        "string"
      ],
      "replication": true,
      "cloudinit": true,
      "pending_reboot": "string",
      "tags": [
        "string"
      ],
      "ipv4": "string",
      "ipv6": "string",
      "org_template_data": [
        "string"
      ],
      "bandwidth": {
        "data_received": 0,
        "data_sent": 0
      },
      "storage": [
        {
          "zone": "string",
          "storage": "string",
          "configline": "string",
          "volid": "string",
          "cdrom": true,
          "cloudinit": true,
          "is_disk": true,
          "size": 0,
          "size_gb": 0,
          "mp": "string",
          "format": "string",
          "bootable": true,
          "boot_order": 0,
          "name": "string",
          "type": "string",
          "locked": true,
          "profile_id": "string"
        }
      ],
      "cores": 0,
      "sockets": 0,
      "interfaces": {
        "net0": {
          "id": 0,
          "name": "string",
          "model": "string",
          "mac": "string",
          "firewall": "string",
          "ip": [
            {
              "id": 0,
              "vmid": 0,
              "interface": 0,
              "ipaddress": "string",
              "mac": "string",
              "wanip": "string",
              "ip": "string",
              "mask": "string",
              "network": "string",
              "gateway": "string",
              "main": 0,
              "options": {
                "private": true,
                "keep_mac": true
              },
              "server_id": 0,
              "type": "string",
              "vlan": "string",
              "private": "string"
            }
          ],
          "bridge": "string",
          "vlan": true,
          "link_down": "string"
        }
      },
      "mac": "string"
    }
  }
}