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

# Return local disk quota information

`GET /Quota/get_local_quota_info`

This function retrieves the cPanel account's quota for the server where you run the function. For example, a [distributed cPanel account](https://go.cpanel.net/glossaryD) could approach its quota. The servers will balance that cPanel user's quota between the parent and the child node.

**Note:**

  This function runs on **only** the local server. To retrieve the cPanel account's total quota, use the UAPI `Quota::get_quota` function instead.

## 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
      - `byte_limit` integer — The limit for disk space the cPanel account may use on this server, in bytes. * A positive integer. * `0` - Unlimited or disabled server quotas. **Note:** This value does **not** update immediately.
      - `bytes_used` integer — The amount of disk space the cPanel account uses on this server, in bytes. * A positive integer. * `0` - No usage or disabled server quotas.
      - `inode_limit` integer — The limit for inodes that the cPanel account may use on this server. * A positive integer. * `0` - Unlimited or disabled server quotas.
      - `inodes_used` integer — The number of inodes that the cPanel account uses on this server. * A positive integer. * `0` - No usage or disabled server quotas.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
    - `status` 0 | 1 — * `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)
