Returns estimated cost of an existing cluster - typical cost represents the cost for the current scale of the clusters node pools
GET/api/v2/costestimates/cluster/:workspace/:cluster
Returns estimated cost of an existing cluster - typical cost represents the cost for the current scale of the clusters node pools
Request
Path Parameters
workspace stringrequired
Workspace of the cluster to estimate current cost for
cluster stringrequired
Name of the cluster to estimate current cost for
Responses
- 200
- 400
- 401
- 403
- 500
An estimate of the costs for the cluster
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
costElements
undefined[]
maxCostint64required
minCostint64required
namestring
typicalCostint64required
maxCostint64required
minCostint64required
preparedAtstring
typicalCostint64required
{
"costElements": [
{
"maxCost": 0,
"minCost": 0,
"name": "string",
"typicalCost": 0
}
],
"maxCost": 0,
"minCost": 0,
"preparedAt": "string",
"typicalCost": 0
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
codeint32required
fieldErrors
undefined[]
required
errCodestringrequired
fieldstringrequired
messagestringrequired
messagestringrequired
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
codeint32required
detailstringrequired
messagestringrequired
uristringrequired
verbstringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}