Fetch a Single Cluster
GET/clusters/:cluster_id
Retrieve a specific cluster by its ID. The cluster must belong to the client.
Request
Path Parameters
cluster_id Cluster Idrequired
Header Parameters
X-Nops-Api-Key stringrequired
API key for authentication
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (integer)required
external_id External Id (string)required
name Name (string)required
arn Arn (string)required
region Region (string)required
vpc Vpc (string)required
status Status (string)required
client_id Client Id (string)required
account_id Account Id (string)required
last_agent_status date-time
onboarded Onboarded (boolean)required
onboarded_at date-time
configured Configured (boolean)required
configuration_statuses
object
required
karpenter Karpenter (boolean)
cluster_autoscaler Cluster Autoscaler (boolean)
bc_plus Bc Plus (boolean)
k8s_data_fetcher K8S Data Fetcher (boolean)
installed_agent_version Installed Agent Version (string)
is_ga_karpenter Is Ga Karpenter (boolean)
eks_version Eks Version (string)
savings_daily Savings Daily (number)
savings_for_period Savings For Period (number)
realized_daily Realized Daily (number)
realized_for_period Realized For Period (number)
cost_daily Cost Daily (number)
cost_for_period Cost For Period (number)
autoscaler_type Autoscaler Type (string)required
api_key_id Api Key Id (integer)
{
"id": 0,
"external_id": "string",
"name": "string",
"arn": "string",
"region": "string",
"vpc": "string",
"status": "string",
"client_id": "string",
"account_id": "string",
"last_agent_status": "2024-07-29T15:51:28.071Z",
"onboarded": true,
"onboarded_at": "2024-07-29T15:51:28.071Z",
"configured": true,
"configuration_statuses": {
"karpenter": false,
"cluster_autoscaler": false,
"bc_plus": false,
"k8s_data_fetcher": false
},
"installed_agent_version": "string",
"is_ga_karpenter": false,
"eks_version": "string",
"savings_daily": 0,
"savings_for_period": 0,
"realized_daily": 0,
"realized_for_period": 0,
"cost_daily": 0,
"cost_for_period": 0,
"autoscaler_type": "string",
"api_key_id": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...