---
title: "Get Cephfs Quotas of the specified path"
method: GET
path: "/api/cephfs/{fs_id}/quota"
tags: ["Cephfs"]
---

# Get Cephfs Quotas of the specified path

`GET /api/cephfs/{fs_id}/quota`

Get the quotas of the specified path.
        :param fs_id: The filesystem identifier.
        :param path: The path of the directory/file.
        :return: Returns a dictionary containing 'max_bytes'
        and 'max_files'.
        :rtype: dict

## Path parameters

- `fs_id` string, required

## Query parameters

- `path` string, required

## Response `200`

OK

- object
  - `max_bytes` integer, required
  - `max_files` integer, required

## Other responses

- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

---

[API](https://skmtc.net/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.net/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/versions/b03ae23c3806/schema)
