---
title: "Get Ocean Right-Sizing Savings"
method: POST
path: "/ocean/{oceanId}/rightSizing/savings"
tags: ["Ocean Automatic Rightsizing"]
---

# Get Ocean Right-Sizing Savings

`POST /ocean/{oceanId}/rightSizing/savings`

Get right-sizing savings from downsizing operations for an Ocean cluster.

## Parameters

- `#/paths/~1ocean~1%7BoceanId%7D~1rightSizing~1rule/get/parameters/0` — unresolved $ref
- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object — Determines the Ocean right-sizing savings
  - `clusterIdentifier` string, required — Identifier of the Ocean cluster.
  - `startTime` string, required — Start date value using either the date format "yyyy-MM-dd'T'HH:mm:ss'Z'" or ms "1494751821472".
  - `endTime` string, required — End date value using either the date format "yyyy-MM-dd'T'HH:mm:ss'Z'" or ms "1494751821472".
  - `workloads` object, required — Determines the Ocean Savings filtering by the combinations of namespace::workload
    - `namespaceName` object

## 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)
