GET
/api/v1/kubernetes/
curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/kubernetes/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/kubernetes/", params={"project_id": "<PROJECT_ID>", "apikey": "<API_KEY>", "location": "<LOCATION>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/kubernetes/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", apikey: "<API_KEY>", location: "<LOCATION>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Returns a paginated list of the Kubernetes clusters in the project. Each entry summarises the cluster’s master role, state, Kubernetes version, master plan and pricing, encryption/backup flags, and the committed-pricing options. Use page_no and per_page to page through results.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”page_no
integer
1-based page number to retrieve.
Example
1per_page
integer
Number of clusters to return per page.
Example
5project_id
required
integer
Identifier of the project to scope the request to. Required integer project ID.
Example
<PROJECT_ID>apikey
required
string
API key used to authenticate the request.
Example
<API_KEY>location
required
string
Region to filter clusters by.
Example
<LOCATION>Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
code
integer
data
Clusters in the project.
Array<object>
object
service_id
integer
service_name
string
roles
Array<object>
object
role_name
string
cardinality
integer
state
string
node_id_list
Array<integer>
state
Cluster lifecycle state (Creating, Running, …).
string
auto_scale_enabled
boolean
plan_name
string
version
string
master_node_id
integer
created_at
string
cluster_id
integer
backup_enabled
boolean
price
string
isEncryptionEnabled
boolean
errors
object
message
string
Example
{ "code": 200, "data": [ { "service_id": 12345, "service_name": "my-k8s-cluster", "roles": [ { "role_name": "master", "cardinality": 1, "state": "Running", "node_id_list": [ 320001 ] } ], "state": "Running", "auto_scale_enabled": false, "plan_name": "E2E-K8s-Cluster", "version": "1.32", "master_node_id": 320000, "created_at": "Jun 30, 2026 03:34:34 PM", "cluster_id": 10001, "backup_enabled": false, "price": "Rs. 3.1/Hour or Rs. 2263.0 Monthly", "isEncryptionEnabled": true } ], "message": "Success"}