Get Termination Rate
GET/dashboard/:cluster_type/termination-rate/:cluster_id
Retrieve the termination rate for a specified cluster type and ID, filtered by instance types and availability zones, within a defined date range.
Request
Path Parameters
Possible values: [eks
, asg
]
Query Parameters
List of instance types to filter the results.
List of availability zones to filter the results.
Default value: 2024-09-25
Start date for the report (format: YYYY-MM-DD). Defaults to 30 days ago.
Default value: 2024-10-25
End date for the report (format: YYYY-MM-DD). Defaults to today.
Header Parameters
API key for authentication
Responses
- 200
- 422
Successfully retrieved termination rates.
- application/json
- Schema
- Example (from schema)
Schema
The current termination rate as a percentage.
The termination rate from the previous period.
The termination rate before onboarding the current instance.
{
"termination_rate": 0,
"previous_termination_rate": 0,
"termination_rate_before_onboarding": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}