Logo
OpenScaler
API Documentation/Load Balancers

Get Load Balancer Info

Retrieve detailed information about a load balancer by its ID.

GET
/v1/lbs/{lb_id}

Authorization

AuthorizationRequiredBearer <token>

OAuth Authentication

OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.

Use the access_token in the Authorization header for requests:

Authorization: Bearer <token>

Always keep your token secure and do not share it with anyone.

In: header

Path Parameters

lb_idRequiredstring

A unique identifier for a load balancer instance.

curl -X GET "https://api.alpha.openscaler.net/v1/lbs/42" \
  -H "Authorization: Bearer <token>"

Load balancer details.

{
  "id": "42",
  "name": "my-lb",
  "description": "Production load balancer",
  "user_id": "usr_abc123",
  "project_id": "default",
  "size": "small",
  "region": "eu-west-1",
  "visibility": "public",
  "status": "ready",
  "state": "running",
  "network": {},
  "created_at": "2024-06-01T12:00:00Z",
  "updated_at": "2024-06-15T08:30:00Z"
}