---
title: "Get quota"
method: GET
path: "/quotas/{id}"
tags: ["Quota"]
---

# Get quota

`GET /quotas/{id}`

Used to retrieve an quota by ID

## Path parameters

- `id` string, required

## Response `200`

The quota with the given ID

- Quota
  - `id` string — The ID of the quota
  - `created_time` integer — Time at which the quota was created
  - `created_by_id` string — The ID of the user who created this quota
  - `last_updated_time` integer — Time at which the quota was last updated
  - `last_updated_by_id` string — The ID of the user who last updated this quota
  - `workspace_id` string — The ID of the workspace associated with this quota
  - `trial_default_limits` integer
  - `paid_default_limits` integer
  - `limits` Limit[]
    - `resource` 'link' | 'browser' | 'api' | 'performance' | 'permanent_mailbox' | 'mobile' | 'agent_session' — Represents a fixed limit on concurrent use of a resource, e.g. 10 concurrent Safari executions
    - `sub_resource` 'mac' | 'linux' | 'windows' | 'runner' | 'link_runner_per_execution' | 'max_permanent_mailboxes' | 'emails_to_permanent_mailbox_in_last_hour' | 'emails_to_permanent_mailbox_in_last_24_hours' | 'android_cloud_training_session' | 'ios_cloud_training_session' | 'android_cloud_runner' | 'ios_cloud_runner' | 'test_authoring_cloud_session' — The sub resource name the limit restricts. This is nullable.
    - `value` integer — The size of the limit
  - `allocations` Allocation[]
    - `resource` 'performance', required — The resource for this allocation
    - `sub_resource` 'api' | 'browser' — The sub resource for this allocation
    - `value` integer, required — The remaining allocation

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Quota not found
- `default` — Unknown error

---

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