---
title: "Get Ocean Rightsizing Recommendations"
method: POST
path: "/ocean/{oceanId}/rightSizing/recommendations"
tags: ["Ocean Automatic Rightsizing"]
---

# Get Ocean Rightsizing Recommendations

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

Get right-sizing recommendations 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 Rightsizing recommendations
  - `clusterResources` object — Determines the Ocean Recommendation filtering by the combinations of namespace::workload::containers
    - `namespaceName` object — Determines the namespace to filter by with objects of it's workloads
      - `workloadName` string[] — Determines the workload to filter by with List of it's containers
  - `clusterLabels` object — Determines the Ocean Recommendation filtering by the combinations of namespace::workloadsLabels
    - `namespaceName` unknown[] — Determines the namespace to filter by with List of it's workloads labels
      - unknown

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