---
title: "Get whole cluster's resource usage"
method: GET
path: "/kapis/resources.kubesphere.io/v1alpha2/quotas"
tags: ["Cluster Resources"]
deprecated: true
---

# Get whole cluster's resource usage

`GET /kapis/resources.kubesphere.io/v1alpha2/quotas`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`

> **Deprecated.**

## Response `200`

ok

- ApiResourceQuota
  - `data` V1ResourceQuotaStatus, required: ResourceQuotaStatus defines the enforced hard limits and observed use.
    - `hard` object: Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
    - `used` object: Used is the current observed total usage of the resource in the namespace.
  - `namespace` string, required: namespace

## Changes

- **2026-07-17** `0451c8cec9b1`: 2 info
  - api operation id `handleGetClusterQuotas` removed and replaced with `GetClusterQuotas`
  - endpoint deprecated
- **2020-04-16** `fd6c3de5ef07`: 1 info
  - api operation id `GetClusterQuotas` removed and replaced with `handleGetClusterQuotas`
- **2019-09-02** `6d6e730a2d14`: 1 info
  - endpoint reactivated

[Operation history](https://skmtc.dev/kubesphere/apis/ks-api/changes/kapis/resources.kubesphere.io/v1alpha2/quotas/get.md)

---

[API](https://skmtc.dev/kubesphere/apis/ks-api.md) - [All operations](https://skmtc.dev/kubesphere/apis/ks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubesphere/apis/ks-api/revisions/0451c8cec9b1?raw)
