curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/target-groups/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Returns the backend groups of one Load Balancer, oldest first, each with its backends. Needs the Read permission for Load Balancers.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Load Balancer ID
Query Parameters
Section titled “Query Parameters”Project ID
Active IAM ID (To access contact person account) Find your Active IAM ID here
Location
Responses
Section titled “Responses”The backend groups
object
object
The group’s name.
What kind of backend the group holds.
How requests are spread across the group. null uses the Load Balancer’s algorithm.
The port the group’s backends listen on.
HTTP, HTTPS or GRPC.
How the group’s backends are checked. An empty object {} uses the Load Balancer’s own health check.
object
TCP, HTTP or GRPC.
Path to request. For HTTP only. Defaults to /.
Status codes that count as healthy. For HTTP only. Defaults to [200].
Seconds between checks. Defaults to 10.
Seconds to wait for an answer. Defaults to 3.
Passed checks in a row before an unhealthy backend gets traffic again. Defaults to 2.
Failed checks in a row before a backend stops getting traffic. Defaults to 3.
Seconds a request to the group may take. null when not set.
Times a failed request is sent again. null when not set.
The backends of the group, in the order they were added.
object
Set for vm, inference and autoscale backends.
object
Example
{ "code": 200, "message": "Success", "data": [ { "id": 7, "name": "api-pool", "backend_type": "vm", "algorithm": "ROUND_ROBIN", "port": 80, "protocol": "HTTP", "health_check_config": { "protocol": "HTTP", "path": "/healthz", "interval_seconds": 10 }, "request_timeout_seconds": 300, "retry_attempts": 0, "targets": [ { "id": 31, "ip_address": "203.0.113.10", "port": 8080, "weight": 1, "name": "web-1", "resource_ref": null } ], "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" } ], "errors": {}}project_id is missing or not a number. errors holds the project’s own text.
object
object
Example
{ "code": 400, "message": "Bad Request", "data": {}}No Load Balancer with that ID in the project and region.
object
object
Example
{ "code": 404, "message": "Bad Request", "data": {}, "errors": "Gateway not found"}