curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/{gateway_id}/alerts/?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}/alerts/", 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}/alerts/");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 alerts attached to the Load Balancer, newest first, with no paging. 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 attached alerts
object
object
ID of the attachment. Use it in the paths that take attachment_id.
ID of the Load Balancer.
Name of the Load Balancer.
object
The kind of resource the alert is for.
The measure the alert watches.
The unit of the measure.
How the measure is compared with the threshold.
The value the measure is compared with.
How long the condition must hold before the alert fires.
Who created it.
object
ID of the alert rule that watches the Load Balancer.
object
Example
{ "code": 200, "message": "Success", "data": [ { "id": 63, "gateway": 42, "gateway_name": "example-lb", "alert": { "id": 17, "name": "High error rate", "location": "Delhi", "resource_type": "Load Balancer", "metric_type": "example", "metric_type_unit": "example", "operator": "example", "severity": "example", "created_by": { "id": 101, "name": "A User", "email": "user@example.com", "username": "auser" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:17:29Z" }, "alert_name": "High error rate", "grafana_rule_uid": "a1b2c3d4e5", "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": {}}