---
title: "Returns details for a single load balancer in the project."
method: GET
path: "/projects/{project_id}/networking/internal-load-balancers/{load_balancer_id}"
tags: ["Internal Load Balancers"]
---

# Returns details for a single load balancer in the project.

`GET /projects/{project_id}/networking/internal-load-balancers/{load_balancer_id}`

## Request

- Base URL: `https://api.cloud.crusoe.ai/v1`
- URL: `https://api.cloud.crusoe.ai/v1/projects/{project_id}/networking/internal-load-balancers/{load_balancer_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/docs/projects/:project_id/networking/internal-load-balancers/:load_balancer_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `project_id` string, required
- `load_balancer_id` string, required

## Response `200`

- LoadBalancer
  - `algorithm` string, required: Load balancing algorithm used to distribute traffic across destinations (for example, random).
  - `destinations` NetworkTarget[], required: Backend targets the load balancer forwards traffic to, given as CIDR blocks or resource IDs.
    - `cidr` string: CIDR block, or an IP address that is converted to a CIDR. Mutually exclusive with resource_id.
    - `resource_id` string: ID of a backend resource. Mutually exclusive with cidr.
  - `health_check` HealthCheckOptions
    - `failure_count` string: Number of allowed failures before considering a backend unhealthy.
    - `interval` string: Interval between health checks, in seconds.
    - `port` string, required: Port on which to perform health checks.
    - `success_count` string: Number of successful checks required to consider a backend healthy.
    - `timeout` string: Timeout for a health check response, in seconds.
  - `id` string, required: ID of the load balancer.
  - `ips` IPAddresses[], required: IP addresses assigned to the load balancer.
    - `private_ipv4` PrivateIPv4Address, required
      - `address` string, required: Private IPv4 address.
    - `public_ipv4` PublicIPv4Address, required
      - `address` string, required: Public IPv4 address.
      - `id` string, required: ID of the public IPv4 address.
      - `type` string, required: Allocation type of the public IPv4 address (for example, dynamic).
  - `location` string, required: Location of the load balancer.
  - `name` string, required: Name of the load balancer.
  - `network_interfaces` LoadBalancerNetworkInterface[], required: Network interfaces the load balancer is attached to.
    - `network` string: ID of the VPC network for the interface.
    - `subnet` string: ID of the subnet for the interface.
  - `protocols` string[], required: Network protocols the load balancer handles. One of: tcp, udp.
  - `type` string: Type of the load balancer (for example, internal_ipv4).

## Other responses

- `401`: Error Authentication Failed
- `403`: Error Permissions
- `500`: Error Internal Server

---

[API](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway.md) - [All operations](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/revisions/a3fd2dedc72b?raw)
