> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List

> Lists routes in a specified route table.



## OpenAPI

````yaml https://api.nebius.cloud/openapi.json get /vpc/v1/routes
openapi: 3.0.3
info:
  title: Nebius API
  version: version not set
servers:
  - url: https://api.nebius.cloud
security:
  - bearerAuth: []
tags:
  - name: nebius.ai.v1.DevlabService
  - name: nebius.ai.v1.EndpointService
  - name: nebius.ai.v1.HardwareService
  - name: nebius.ai.v1.JobService
  - name: nebius.applications.v1alpha1.K8sReleaseService
  - name: nebius.applications.v1alpha1.VmAppTemplateService
  - name: nebius.audit.v2.AuditEventExportService
  - name: nebius.audit.v2.AuditEventService
  - name: nebius.billing.v1.CalculatorService
  - name: nebius.billing.v1.PricingPolicyService
  - name: nebius.billing.v1alpha1.CalculatorService
  - name: nebius.billing.v1alpha1.OneTimeExportService
  - name: nebius.billing.v1alpha1.SpotPriceService
  - name: nebius.capacity.v1.CapacityAllowanceService
  - name: nebius.capacity.v1.CapacityBlockGroupService
  - name: nebius.capacity.v1.CapacityIntervalService
  - name: nebius.capacity.v1.ResourceAdviceService
  - name: nebius.compute.v1.DiskService
  - name: nebius.compute.v1.DiskSnapshotService
  - name: nebius.compute.v1.FilesystemService
  - name: nebius.compute.v1.GpuClusterService
  - name: nebius.compute.v1.ImageService
  - name: nebius.compute.v1.InstanceService
  - name: nebius.compute.v1.MaintenanceService
  - name: nebius.compute.v1.NVLInstanceGroupService
  - name: nebius.compute.v1.NodeService
  - name: nebius.compute.v1.PlatformService
  - name: nebius.dns.v1.RecordService
  - name: nebius.dns.v1.ZoneService
  - name: nebius.iam.v1.AccessKeyService
  - name: nebius.iam.v1.AccessPermitService
  - name: nebius.iam.v1.AuthPublicKeyService
  - name: nebius.iam.v1.FederatedCredentialsService
  - name: nebius.iam.v1.FederationCertificateService
  - name: nebius.iam.v1.FederationService
  - name: nebius.iam.v1.GroupMembershipService
  - name: nebius.iam.v1.GroupService
  - name: nebius.iam.v1.InvitationService
  - name: nebius.iam.v1.ProfileService
  - name: nebius.iam.v1.ProjectService
  - name: nebius.iam.v1.ServiceAccountService
  - name: nebius.iam.v1.SessionManagementService
  - name: nebius.iam.v1.StaticKeyService
  - name: nebius.iam.v1.TenantService
  - name: nebius.iam.v1.TenantUserAccountService
  - name: nebius.iam.v1.TenantUserAccountWithAttributesService
  - name: nebius.iam.v2.AccessKeyService
  - name: nebius.iam.v2.ProjectService
  - name: nebius.iam.v2.TenantService
  - name: nebius.kms.v1.AsymmetricCryptoService
  - name: nebius.kms.v1.AsymmetricKeyService
  - name: nebius.kms.v1.SymmetricCryptoService
  - name: nebius.kms.v1.SymmetricKeyService
  - name: nebius.logging.agentmanager.v1.VersionService
  - name: nebius.logging.v1.LogExportService
  - name: nebius.maintenance.v1alpha1.MaintenanceService
  - name: nebius.mk8s.v1.ClusterService
  - name: nebius.mk8s.v1.NodeGroupService
  - name: nebius.mk8s.v1alpha1.ClusterService
  - name: nebius.mk8s.v1alpha1.NodeGroupService
  - name: nebius.msp.mlflow.v1alpha1.ClusterService
  - name: nebius.msp.postgresql.v1alpha1.BackupService
  - name: nebius.msp.postgresql.v1alpha1.ClusterService
  - name: nebius.mysterybox.v1.PayloadService
  - name: nebius.mysterybox.v1.SecretService
  - name: nebius.mysterybox.v1.SecretVersionService
  - name: nebius.quotas.v1.QuotaAllowanceService
  - name: nebius.registry.v1.ArtifactService
  - name: nebius.registry.v1.RegistryService
  - name: nebius.storage.v1.BucketService
  - name: nebius.storage.v1.InventoryService
  - name: nebius.storage.v1.TransferService
  - name: nebius.storage.v1alpha1.TransferService
  - name: nebius.tunnel.v1.TunnelService
  - name: nebius.vpc.v1.AllocationService
  - name: nebius.vpc.v1.NetworkService
  - name: nebius.vpc.v1.PoolService
  - name: nebius.vpc.v1.RouteService
  - name: nebius.vpc.v1.RouteTableService
  - name: nebius.vpc.v1.SecurityGroupService
  - name: nebius.vpc.v1.SecurityRuleService
  - name: nebius.vpc.v1.SubnetService
  - name: nebius.vpc.v1.TargetGroupService
  - name: nebius.vpc.v1alpha1.AllocationService
  - name: nebius.vpc.v1alpha1.NetworkService
  - name: nebius.vpc.v1alpha1.PoolService
  - name: nebius.vpc.v1alpha1.ScopeService
  - name: nebius.vpc.v1alpha1.SubnetService
paths:
  /vpc/v1/routes:
    get:
      tags:
        - nebius.vpc.v1.RouteService
      summary: List
      description: Lists routes in a specified route table.
      operationId: RouteService_List
      parameters:
        - description: ID of the parent route table.
          in: query
          name: parentId
          required: true
          schema:
            type: string
        - description: Maximum number of routes to return.
          in: query
          name: pageSize
          schema:
            format: int64
            type: string
        - description: Token to retrieve the next page of routes.
          in: query
          name: pageToken
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/nebius.vpc.v1.ListRoutesResponse'
          description: A successful response.
components:
  schemas:
    nebius.vpc.v1.ListRoutesResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/nebius.vpc.v1.Route'
          type: array
        nextPageToken:
          type: string
      type: object
    nebius.vpc.v1.Route:
      description: >-
        Routes determine how network traffic is directed within a VPC network,

        specifying the path that traffic should take based on destination
        addresses.
      properties:
        metadata:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ResourceMetadata'
          description: '`metadata.parent_id` represents the RouteTable.'
        spec:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.RouteSpec'
          description: Specification of the route's configuration.
        status:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.RouteStatus'
          description: Current status of the route.
      type: object
    nebius.common.v1.ResourceMetadata:
      description: Common resource metadata.
      properties:
        createdAt:
          description: Timestamp indicating when the resource was created.
          format: date-time
          readOnly: true
          type: string
        id:
          description: Identifier for the resource, unique for its resource type.
          type: string
        labels:
          additionalProperties:
            type: string
          description: Labels associated with the resource.
          type: object
        name:
          description: Human-readable name for the resource.
          type: string
        parentId:
          description: Identifier of the parent resource to which the resource belongs.
          type: string
        resourceVersion:
          description: >-
            Version of the resource for safe concurrent modifications and
            consistent reads.

            Positive and monotonically increases on each resource spec change
            (but *not* on each change of the

            resource's container(s) or status).

            Service allows zero value or current.
          format: int64
          type: string
        updatedAt:
          description: Timestamp indicating when the resource was last updated.
          format: date-time
          readOnly: true
          type: string
      required:
        - parentId
      type: object
    nebius.vpc.v1.RouteSpec:
      properties:
        description:
          description: Optional description of the route.
          type: string
        destination:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.DestinationMatch'
          description: >-
            Destination for the route.

            Each destination CIDR must be unique within a route table.

            When multiple routes match a destination IP, the route with the
            longest

            matching prefix (most specific match) is selected.
        nextHop:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.NextHop'
          description: Next hop configuration specifying where to send matching traffic.
      required:
        - destination
        - nextHop
      type: object
    nebius.vpc.v1.RouteStatus:
      properties:
        nextHop:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.NextHopState'
          description: Detailed status of the next hop configuration.
        priority:
          description: |-
            Indicates priority of the route.
            That is 0 or a positive number.
            Lower value = higher priority; 0 is the highest priority.
          format: int32
          type: integer
        state:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.RouteStatus.State'
          description: Current state of the route.
        type:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.RouteStatus.Type'
          description: |-
            Indicates the route type.
            REDISTRIBUTED routes cannot be deleted directly.
      type: object
    nebius.vpc.v1.DestinationMatch:
      properties:
        cidr:
          description: >-
            Destination CIDR block in IPv4 format (e.g., "0.0.0.0/0" for default
            route, "192.168.100.0/24" for specific subnet).

            The CIDR notation specifies the range of IP addresses that this
            route will match.

            Must be unique within a route table.
          type: string
      required:
        - cidr
      type: object
    nebius.vpc.v1.NextHop:
      properties:
        allocation:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.AllocationNextHop'
          description: >-
            Forward traffic to a specific IP allocation (/32 address only).

            The allocation must be from the same network as the route table.

            The allocation must be assigned to either a Compute instance or a
            Load Balancer.

            Warning: If the allocation exists but is not assigned to any
            resource,

            traffic will be forwarded to a "black hole" and dropped.
        defaultEgressGateway:
          description: >-
            Use the default egress gateway for outbound traffic.

            Note: For VMs with public addresses (Floating IPs/FIPs), the
            FIP-specific route

            takes precedence over this default egress gateway route.
          type: boolean
      type: object
    nebius.vpc.v1.NextHopState:
      properties:
        allocation:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.AllocationNextHopState'
          description: Status of an allocation-based next hop.
        defaultEgressGateway:
          allOf:
            - $ref: '#/components/schemas/nebius.vpc.v1.DefaultEgressGatewayState'
          description: Status of the default egress gateway configuration.
      type: object
    nebius.vpc.v1.RouteStatus.State:
      default: STATE_UNSPECIFIED
      description: |2-
         - STATE_UNSPECIFIED: The state is unknown or not yet set.
         - READY: The route is configured and operational.
      enum:
        - STATE_UNSPECIFIED
        - READY
      type: string
    nebius.vpc.v1.RouteStatus.Type:
      default: TYPE_UNSPECIFIED
      description: Route type.
      enum:
        - TYPE_UNSPECIFIED
        - STATIC
        - REDISTRIBUTED
      type: string
    nebius.vpc.v1.AllocationNextHop:
      description: AllocationNextHop specifies an IP allocation as the next hop.
      properties:
        id:
          description: ID of the IP allocation to use as the next hop.
          type: string
      required:
        - id
      type: object
    nebius.vpc.v1.AllocationNextHopState:
      properties:
        cidr:
          description: The CIDR of the allocation being used as the next hop.
          type: string
      type: object
    nebius.vpc.v1.DefaultEgressGatewayState:
      type: object
  securitySchemes:
    bearerAuth:
      description: The Authorization header expects a Bearer token.
      scheme: bearer
      type: http

````