---
title: "Return disk quota information"
method: GET
path: "/Quota/get_quota_info"
tags: ["Quota", "Disk Quotas"]
---

# Return disk quota information

`GET /Quota/get_quota_info`

This function retrieves the cPanel account's quota.

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object — An object containing the cPanel account's quota.
      - `inode_limit` union — The account's inode quota limit. * `0` — Unlimited or disabled server quotas.
        - 0 — Unlimited or disabled server quotas.
        - integer — A positive integer.
      - `inodes_remain` union — The account's available inode quota. * `0` — Unlimited or disabled server quotas.
        - 0 — Unlimited or disabled server quotas.
        - integer — A positive integer.
      - `inodes_used` union — The account's number of used inodes. * `0` — No usage or disabled server quotas.
        - 0 — No usage or disabled server quotas.
        - integer — A positive integer.
      - `megabyte_limit` union — The account's disk space limit, in megabytes (MB). * `0.00` — Unlimited or disabled server quotas.
        - 0 — Unlimited or disabled server quotas.
        - number — A decimal number.
      - `megabytes_remain` union — The account's available disk space in, megabytes (MB). * `0.00` — Unlimited or disabled server quotas.
        - 0 — Unlimited or disabled server quotas.
        - number — A decimal number.
      - `megabytes_used` union — The account's used disk space, in megabytes (MB). * `0.00` — No usage or disabled server quotas.
        - 0 — Unlimited or disabled server quotas.
        - number — A decimal number.
      - `under_inode_limit` 1 | 0 — Whether the account is under its inode limit. * `1` — Under limit. * `0` — Over limit.
      - `under_megabyte_limit` 1 | 0 — Whether the account is under its disk space limit, in megabytes (MB). * `1` — Under limit. * `0` — Over limit.
      - `under_quota_overall` 1 | 0 — Whether the account is under both its inode and disk megabyte (MB) limit. * `1` — Under limit. * `0` — Over limit.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
    - `status` 1 | 0 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/versions/632e2f8e6d04/schema)
