v12

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-1811583196.1 KB
Networking

List VM network interfaces

List all network interfaces (NICs) attached to a virtual machine. Each NIC has a nic_id used when detaching from a VPC, IP, or security group.

Use ?type= to filter by interface type (public, vpc, or ipv6).

get/api/v1/vms/{id}/networks

Path parameters

idstring uuid required

VM ID (UUID)

Query parameters

type'public' | 'vpc' | 'ipv6'

Filter to one interface type. Omit to return all.

Response

List of network interfaces

successboolean

Example response

{
  "data": [
    {
      "network_name": "vpc-prod",
      "ip": "10.0.1.42",
      "mac": "02:00:5e:00:53:0a",
      "gateway": "10.0.1.1"
    }
  ]
}