---
title: "List Load Balancers"
method: GET
path: "/load-balancer"
tags: ["network-load-balancer"]
---

# List Load Balancers

`GET /load-balancer`

## Request

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

## Response `200`

200

- object
  - `load-balancers` LoadBalancer[]
    - `id` string, uuid: Load Balancer ID
    - `description` string: Load Balancer description
    - `name` string: Load Balancer name
    - `state` 'creating' | 'migrated' | 'deleting' | 'running' | 'migrating' | 'error': Load Balancer state
    - `created-at` string, date-time: Load Balancer creation date
    - `ip` string, ipv4: Load Balancer public IP
    - `services` LoadBalancerService[]: Load Balancer Services
      - `description` string: Load Balancer Service description
      - `protocol` 'tcp' | 'udp': Network traffic protocol
      - `name` string: Load Balancer Service name
      - `state` 'creating' | 'deleting' | 'running' | 'updating' | 'error': Load Balancer Service state
      - `target-port` integer: Port on which the network traffic will be forwarded to on the receiving instance
      - `port` integer: Port exposed on the Load Balancer's public IP
      - `instance-pool` InstancePool: Instance Pool
        - `application-consistent-snapshot-enabled` boolean: Enable application consistent snapshots
        - `anti-affinity-groups` AntiAffinityGroupRef[]: Instance Pool Anti-affinity Groups
          - `id` string, uuid: Anti-affinity group ID
        - `description` string: Instance Pool description
        - `public-ip-assignment` 'inet4' | 'dual' | 'none'
        - `labels` Labels
        - `security-groups` SecurityGroupRef[]: Instance Pool Security Groups
          - `id` string, uuid: Security group ID
        - `elastic-ips` ElasticIpRef[]: Instances Elastic IPs
          - `id` string, uuid: Elastic IP ID
        - `name` string: Instance Pool name
        - `instance-type` InstanceTypeRef: Instance type reference
          - `id` string, uuid: Instance type ID
        - `min-available` integer: Minimum number of running instances
        - `private-networks` PrivateNetworkRef[]: Instance Pool Private Networks
          - `id` string, uuid: Private network ID
        - `template` TemplateRef: Template reference
          - `id` string, uuid: Template ID
        - `state` 'scaling-up' | 'scaling-down' | 'destroying' | 'creating' | 'suspended' | 'running' | 'updating': Instance Pool state
        - `size` integer: Number of instances
        - `ssh-key` SshKeyRef: SSH key reference
          - `name` string: SSH key name
        - `instance-prefix` string: The instances created by the Instance Pool will be prefixed with this value (default: pool)
        - `user-data` string: Instances Cloud-init user-data
        - `manager` Manager: Resource manager
          - `id` string, uuid: Manager ID
          - `type` 'sks-nodepool' | 'instance-pool': Manager type
        - `instances` InstanceRef[]: Instances
          - `id` string, uuid: Instance ID
        - `deploy-target` DeployTargetRef: Deploy target reference
          - `id` string, uuid: Deploy target ID
        - `ipv6-enabled` boolean: Enable IPv6 for instances
        - `id` string, uuid: Instance Pool ID
        - `disk-size` integer: Instances disk size in GiB
        - `ssh-keys` SshKeyRef[]: Instances SSH keys
          - `name` string: SSH key name
      - `strategy` 'round-robin' | 'maglev-hash' | 'source-hash': Load balancing strategy
      - `healthcheck` LoadBalancerServiceHealthcheck: Load Balancer Service healthcheck
        - `mode` 'tcp' | 'http' | 'https': Healthcheck mode
        - `interval` integer: Healthcheck interval (default: 10). Must be greater than or equal to Timeout
        - `uri` string: An endpoint to use for the HTTP healthcheck, e.g. '/status'
        - `port` integer: Healthcheck port
        - `timeout` integer: Healthcheck timeout value (default: 2). Must be lower than or equal to Interval
        - `retries` integer: Number of retries before considering a Service failed
        - `tls-sni` string: SNI domain for HTTPS healthchecks
      - `id` string, uuid: Load Balancer Service ID
      - `healthcheck-status` LoadBalancerServerStatus[]: Healthcheck status per backend server
        - `public-ip` string, ipv4: Backend server public IP
        - `status` 'failure' | 'success': Status of the instance's healthcheck
    - `labels` Labels

## Changes

- **2026-03-16** `e05707a7b346`: 1 breaking, 72 warning, 9 info
  - the response property `load-balancers/items/services/items/instance-pool/deploy-target/id` became optional for the status `200`
  - removed the optional property `load-balancers/items/services/items/instance-pool/anti-affinity-groups/items/description` from the response with the `200` status
  - removed the optional property `load-balancers/items/services/items/instance-pool/anti-affinity-groups/items/instances` from the response with the `200` status
  - removed the optional property `load-balancers/items/services/items/instance-pool/anti-affinity-groups/items/name` from the response with the `200` status
  - …78 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/load-balancer/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)
