[BETA] List Subnet routes

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/{subnet-id}/route

Path parameters

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

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • routes array[object]
      Hide routes attributes Show routes attributes object

      Route

      • id string(uuid)

        Route ID

      • kind string

        Route kind

        Values are Subnet or Vpc.

      • description string

        Route description

        Maximum length is 4096.

      • destination string

        Route destination CIDR

      • target string

        Route target

GET /vpc/{vpc-id}/subnet/{subnet-id}/route
curl \
 --request GET 'https://api-ch-gva-2.exoscale.com/v2/vpc/{vpc-id}/subnet/{subnet-id}/route'
Response examples (200)
{
  "routes": [
    {
      "id": "string",
      "kind": "Subnet",
      "description": "string",
      "destination": "string",
      "target": "string"
    }
  ]
}