---
title: "GET /v1/quotas/{id}"
method: GET
path: "/v1/quotas/{id}"
tags: ["Quotas"]
---

# GET /v1/quotas/{id}

`GET /v1/quotas/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

Get quota detail by quota ID.

## Path parameters

- `id` string, required

## Response `200`

OK

- QuotaSpec: A quota is discovered and updated by task manager.
  - `id` string, required
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `native_quota_id` string
  - `name` string, required
  - `type` 'filesystem' | 'tree' | 'user' | 'group', required
  - `storage_id` string
  - `native_filesystem_id` string
  - `native_qtree_id` string
  - `capacity_hard_limit` integer
  - `capacity_soft_limit` integer
  - `file_hard_limit` integer
  - `file_soft_limit` integer
  - `used_capacity` integer
  - `file_count` integer
  - `user_group_name` string

## Other responses

- `401`: NotAuthorized
- `403`: Forbidden
- `404`: The resource does not exist
- `500`: An unexpected error occured.

## Changes

- **2021-03-12** `abba65e52027`: 1 info
  - endpoint added
- **2020-06-22** `0fdcb8a77d6a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/changes/v1/quotas/:id/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/revisions/b2017613d719?raw)
