---
title: "List storage classes"
method: GET
path: "/storageclasses"
tags: ["storageclasses"]
---

# List storage classes

`GET /storageclasses`

Returns a list of all storage classes in the cluster. When namespace is provided, authorization checks whether the user can create PersistentVolumeClaims in that namespace instead of requiring a cluster-wide permission to list storage classes.

## Query parameters

- `namespace` string

## Response `200`

Successful storage classes response

- ApiStorageClassListEnvelope
  - `data` StorageclassesStorageClassListItem[], required
    - `canUse` boolean, required
    - `description` string, required
    - `displayName` string, required
    - `name` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity. Validation error.
- `500` — Internal server error

## Changes

- **2026-06-24** `257ea068094f` — 2 info
  - added the new optional `query` request parameter `namespace`
  - added the non-success response with the status `422`
- **2026-04-09** `e9c6319e31be` — 1 info
  - endpoint added
- **2026-01-30** `e4dc5b696346` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/changes/storageclasses/get.md)

---

[API](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api.md) · [All operations](https://skmtc.dev/opendatahub-io/apis/kubeflow-notebooks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opendatahub-io/kubeflow-notebooks-api/revisions/97fe86faf733/schema)
