[BETA] Retrieve Subnet details

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi-v2.exoscale.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Exoscale APIv2 MCP server": {
  "url": "https://openapi-v2.exoscale.com/mcp"
}
Close
GET /vpc/{vpc-id}/subnet/{id}

Path parameters

  • vpc-id string(uuid) Required
  • id string(uuid) Required

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      Subnet ID

    • name string

      Subnet name

      Minimum length is 1, maximum length is 255.

    • description string

      Subnet description

      Maximum length is 4096.

    • created-at string(date-time)

      Subnet creation date

    • addressfamily string

      Subnet address family

      Values are inet4 or dual.

    • address-space string

      Subnet address space

      Value is private.

    • ipv4-block string

      Subnet ipv4 CIDR

    • labels object
      Hide labels attribute Show labels attribute object
      • * string Additional properties
GET /vpc/{vpc-id}/subnet/{id}
curl \
 --request GET 'https://api-ch-gva-2.exoscale.com/v2/vpc/{vpc-id}/subnet/{id}'
Response examples (200)
{
  "id": "string",
  "name": "string",
  "description": "string",
  "created-at": "2026-05-04T09:42:00Z",
  "addressfamily": "inet4",
  "address-space": "private",
  "ipv4-block": "string",
  "labels": {
    "additionalProperty1": "string",
    "additionalProperty2": "string"
  }
}