Get a network

Get a private network, with the address range it uses.

GET https://{availability_zone}.betterstackcloud.com/v1/networks/{id}
id string required

The ID of the network to get.

Authorization string required

Bearer $TOKEN

200 OK
{
  "id": "example",
  "name": "Example network",
  "ip_prefix": "10.0.0.0",
  "ip_prefix_length": 16,
  "created_at": "2026-07-01T12:00:00.000Z",
  "updated_at": "2026-07-01T12:00:00.000Z",
  "team_id": "t123"
}

Returns the network.

id string

The network's ID, a UUID.

name string

The network's name.

ip_prefix string

The IPv4 or IPv6 address the network's range starts at, such as 10.0.0.0.

ip_prefix_length integer

The prefix length of the network's range, such as 24 for an IPv4 range of 256 addresses. Accepts 0 to 128, and must fit the address family of ip_prefix.

created_at datetime

When the network was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the network was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

The ID of the team that owns the network. betterstack team list shows it.