---
title: "Retrieve Load Balancer Service details"
method: GET
path: "/load-balancer/{id}/service/{service-id}"
tags: ["network-load-balancer"]
---

# Retrieve Load Balancer Service details

`GET /load-balancer/{id}/service/{service-id}`

## Request

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

## Path parameters

- `id` string, uuid, required
- `service-id` string, uuid, required

## Response `200`

200

- LoadBalancerService: Load Balancer Service
  - `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

## Changes

- **2026-03-16** `e05707a7b346`: 1 breaking, 72 warning, 9 info
  - the response property `instance-pool/deploy-target/id` became optional for the status `200`
  - removed the optional property `instance-pool/anti-affinity-groups/items/description` from the response with the `200` status
  - removed the optional property `instance-pool/anti-affinity-groups/items/instances` from the response with the `200` status
  - removed the optional property `instance-pool/anti-affinity-groups/items/name` from the response with the `200` status
  - …78 more
- **2025-11-14** `352cae63dff6`: 3 warning, 2 info
  - added the new `titan48c` enum value to the `instance-pool/anti-affinity-groups/items/instances/items/instance-type/size` response property for the response status `200`
  - added the new `titan48c` enum value to the `instance-pool/instance-type/size` response property for the response status `200`
  - added the new `titan48c` enum value to the `instance-pool/instances/items/instance-type/size` response property for the response status `200`
  - added the optional property `instance-pool/anti-affinity-groups/items/instances/items/snapshots/items/application-consistent` to the response with the `200` status
  - …1 more
- …earlier changes not shown

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