Skip to main content

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

    cluster_id Cluster Idrequired
    cluster_type ClusterTyperequired

    Possible values: [eks, asg]

Query Parameters

    instance_type string[]

    List of instance types to filter the results.

    availability_zone string[]

    List of availability zones to filter the results.

    date_start Date Start

    Default value: 2024-09-25

    Start date for the report (format: YYYY-MM-DD). Defaults to 30 days ago.

    date_end Date End

    Default value: 2024-10-25

    End date for the report (format: YYYY-MM-DD). Defaults to today.

Header Parameters

    X-Nops-Api-Key stringrequired

    API key for authentication

Responses

Successfully retrieved termination rates.

Schema

    termination_rate numberrequired

    The current termination rate as a percentage.

    previous_termination_rate numberrequired

    The termination rate from the previous period.

    termination_rate_before_onboarding numberrequired

    The termination rate before onboarding the current instance.

Loading...