---
title: "Get Cluster Costs"
method: GET
path: "/mcs/ecs/cluster/{clusterName}/costs"
tags: ["Ocean ECS"]
---

# Get Cluster Costs

`GET /mcs/ecs/cluster/{clusterName}/costs`

Describes ECS cluster costs in a time range.\
The response will provide the distribution of the costs per cluster.

<span><strong>Deprecated API:</strong></span></span>
This API is no longer supported. As an alternative you may use the "Get Ecs Cluster Aggregated Detailed Costs" API.

## Path parameters

- `clusterName` string, required

## Query parameters

- `toDate` string, required
- `fromDate` string, required
- `region` string, required

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
