Skip to main content

Get Cost Breakdown

GET 

/dashboard/:cluster_type/cost-breakdown/:cluster_id

Retrieve a detailed cost breakdown for a specified cluster type and ID within a defined date range.

Request

Path Parameters

    cluster_id Cluster Idrequired
    cluster_type anyrequired

    Type of the cluster (eks, asg)

Query Parameters

    date_start Date Start

    Default value: 2024-09-25

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

    date_end Date End

    Default value: 2024-10-25

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

Header Parameters

    X-Nops-Api-Key stringrequired

    API key for authentication

Responses

Successfully retrieved the cost breakdown.

Schema

    cpu numberrequired

    Total cost associated with CPU usage.

    gpu numberrequired

    Total cost associated with GPU usage.

    memory numberrequired

    Total cost associated with memory usage.

    storage numberrequired

    Total cost associated with storage.

    network numberrequired

    Total cost associated with network usage.

    control_plane numberrequired

    Total cost associated with control plane resources.

    extended_support numberrequired

    Total cost associated with extended support options.

Loading...