---
title: "Retrieve Private Network details"
method: GET
path: "/private-network/{id}"
tags: ["private-network"]
---

# Retrieve Private Network details

`GET /private-network/{id}`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/private-network/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/private-network/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Response `200`

200

- PrivateNetwork: Private Network
  - `description` string: Private Network description
  - `labels` Labels
  - `name` string: Private Network name
  - `start-ip` string, ipv4: Private Network start IP address
  - `leases` PrivateNetworkLease[]: Private Network leased IP addresses
    - `ip` string, ipv4: Private Network IP address
    - `instance-id` string, uuid: Attached instance ID
  - `id` string, uuid: Private Network ID
  - `vni` integer: Private Network VXLAN ID
  - `netmask` string, ipv4: Private Network netmask
  - `options` PrivateNetworkOptions: Private Network DHCP Options
    - `routers` string[]: Routers
    - `dns-servers` string[]: DNS Servers
    - `ntp-servers` string[]: NTP Servers
    - `domain-search` string[]: Domain search list, limited to 255 octets
  - `end-ip` string, ipv4: Private Network end IP address

## Changes

- **2024-09-18** `eae1143f1c63`: 2 info
  - added the optional property `options` to the response with the `200` status
  - added the optional property `vni` to the response with the `200` status
- **2023-06-06** `cf7b08181585`: 1 breaking
  - the `description` response property's minLength was decreased from `1` to `0` for the response status `200`

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/private-network/:id/get.md)

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
