---
title: "List the organization's quotas, sorted by ID"
description: "Every active quota, with its value and usage. For a quota narrower than the organization, the value is what a scope key without its own override gets, usage is null and usageSummary sums its scope keys up, unless scopeKey picks one scope key. regions lists the platform's regions."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Service Quotas API

`GET /v1/organizations/{orgId}/quotas`

Every active quota, with its value and usage. For a quota narrower than the organization, the value is what a scope key without its own override gets, usage is null and usageSummary sums its scope keys up, unless scopeKey picks one scope key. regions lists the platform's regions.

## Authentication

Requires one of the following:

- `apiKey`, http, header `Authorization`
- `sessionCookie`, apiKey, in cookie
- `oauth`, http, header `Authorization`

## Path parameters

- `ListQuotas.path.orgId` (string, required)
  - format `uuid`

## Query parameters

- `ListQuotas.query.service` (string, optional) — Only this product's quotas: its namespace.
  - pattern `^[a-z]{2,32}$`
- `ListQuotas.query.scope` (unknown, optional) — Only quotas per organization, per project or per resource.
  - one of `"organization"`, `"project"`, `"resource"`
- `ListQuotas.query.scopeKey` (string, optional) — A project's or resource's ID: each quota's value, source and usage are then that scope key's. With scope project or resource, only those quotas; without scope, a project's view: the organization's quotas and that project's.
  - pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
- `ListQuotas.query.region` (string, optional) — The region of perRegion quotas' values and usage.
  - pattern `^([a-z]{2}-[a-z]+-[0-9]+)?$`
- `ListQuotas.query.limit` (integer, optional) — The page size. Out of range is 400, never a clamp.
  - min 1; max 100; default `20`
- `ListQuotas.query.cursor` (string, optional) — The previous page's nextCursor. Bound to the organization and every filter.

## Code samples

### cURL

```curl
curl --request GET \
  --url https://quotas.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/quotas \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://quotas.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/quotas';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://quotas.ezghcloud.com/v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/quotas"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

A page of quotas.

#### Example

```json
{
  "nextCursor": "string",
  "quotas": [
    {
      "adjustable": true,
      "capacity": 0,
      "default": 0,
      "description": "string",
      "displayName": "string",
      "id": "string",
      "kind": "allocation",
      "perRegion": true,
      "region": "string",
      "resourceType": "string",
      "scope": "organization",
      "service": "string",
      "serviceName": "string",
      "source": "override",
      "tier": "string",
      "unit": "string",
      "usage": {},
      "usageSummary": {},
      "value": 0,
      "window": "string"
    }
  ],
  "regions": [
    "string"
  ]
}
```

- `ListQuotas.response.200.nextCursor` (string | null, required)
- `ListQuotas.response.200.quotas` (array<object>, required)
  - `ListQuotas.response.200.quotas.adjustable` (boolean, required)
  - `ListQuotas.response.200.quotas.capacity` (integer | null, required) — rate quotas: the bucket's capacity for value (what usage.used is out of), else null.
    - min 0
  - `ListQuotas.response.200.quotas.default` (integer, required) — The default for the organization's tier.
    - min 0
  - `ListQuotas.response.200.quotas.description` (string, required)
  - `ListQuotas.response.200.quotas.displayName` (string, required)
  - `ListQuotas.response.200.quotas.id` (string, required) — <namespace>.<name> or <namespace>.<group>.<name>.
    - maxLength 96; pattern `^[a-z]{2,32}\.[a-z][A-Za-z0-9]{2,63}(\.[a-z][A-Za-z0-9]{1,63})?$`
  - `ListQuotas.response.200.quotas.kind` (unknown, required)
    - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
  - `ListQuotas.response.200.quotas.perRegion` (boolean, required)
  - `ListQuotas.response.200.quotas.region` (string, required) — A region (us-west-1), or "" for what isn't regional.
    - pattern `^([a-z]{2}-[a-z]+-[0-9]+)?$`
  - `ListQuotas.response.200.quotas.resourceType` (string | null, required)
  - `ListQuotas.response.200.quotas.scope` (unknown, required)
    - one of `"organization"`, `"project"`, `"resource"`
  - `ListQuotas.response.200.quotas.service` (string, required) — The owning product's namespace.
  - `ListQuotas.response.200.quotas.serviceName` (string | null, required) — The owning product's name, from its registration (Widgets), or null.
  - `ListQuotas.response.200.quotas.source` (unknown, required) — Which value applied: an override for the scope key, one for the whole organization, the tier's default, or the quota's default.
    - one of `"override"`, `"organizationOverride"`, `"tier"`, `"default"`
  - `ListQuotas.response.200.quotas.tier` (string | null, required) — The organization's tier when source is tier, else null.
  - `ListQuotas.response.200.quotas.unit` (string, required)
  - `ListQuotas.response.200.quotas.usage` (one of, required) — null for narrower scopes without ?scopeKey= (see usageSummary and the quota's scopes), and for a perRegion quota without ?region=.
    - one of: `null`, [Usage](/quotas-api/schemas/Usage/)
  - `ListQuotas.response.200.quotas.usageSummary` (one of, required) — When usage is null: where the scope keys (and regions) stand. Else null.
    - one of: `null`, [UsageSummary](/quotas-api/schemas/UsageSummary/)
  - `ListQuotas.response.200.quotas.value` (integer, required) — The value that applies: the organization's, a scope key without its own override's, or with ?scopeKey= that scope key's.
    - min 0
  - `ListQuotas.response.200.quotas.window` (string | null, required) — rate quotas: PT1S to PT1H.
- `ListQuotas.response.200.regions` (array<string>, required) — The platform's regions: a perRegion quota's ?region= choices.
  - pattern `^([a-z]{2}-[a-z]+-[0-9]+)?$`

### 400

invalid_request (with issues), invalid_cursor, or the endpoint's own 400 codes.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.400.error` (object, required)
  - `ListQuotas.response.400.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.400.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.400.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.400.error.issues.message` (string, required)
    - `ListQuotas.response.400.error.issues.path` (string, required)
  - `ListQuotas.response.400.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.400.error.quota.id` (string, required)
    - `ListQuotas.response.400.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.400.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.400.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.400.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.400.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.400.error.quota.region` (string, optional)
    - `ListQuotas.response.400.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.400.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.400.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.400.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 401

unauthenticated: no credential, or one that doesn't check out.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.401.error` (object, required)
  - `ListQuotas.response.401.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.401.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.401.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.401.error.issues.message` (string, required)
    - `ListQuotas.response.401.error.issues.path` (string, required)
  - `ListQuotas.response.401.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.401.error.quota.id` (string, required)
    - `ListQuotas.response.401.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.401.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.401.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.401.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.401.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.401.error.quota.region` (string, optional)
    - `ListQuotas.response.401.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.401.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.401.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.401.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 403

access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed; spend_limit_reached.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.403.error` (object, required)
  - `ListQuotas.response.403.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.403.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.403.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.403.error.issues.message` (string, required)
    - `ListQuotas.response.403.error.issues.path` (string, required)
  - `ListQuotas.response.403.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.403.error.quota.id` (string, required)
    - `ListQuotas.response.403.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.403.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.403.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.403.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.403.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.403.error.quota.region` (string, optional)
    - `ListQuotas.response.403.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.403.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.403.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.403.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 404

not_found: unknown, malformed, or in an organization the caller isn't in.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.404.error` (object, required)
  - `ListQuotas.response.404.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.404.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.404.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.404.error.issues.message` (string, required)
    - `ListQuotas.response.404.error.issues.path` (string, required)
  - `ListQuotas.response.404.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.404.error.quota.id` (string, required)
    - `ListQuotas.response.404.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.404.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.404.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.404.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.404.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.404.error.quota.region` (string, optional)
    - `ListQuotas.response.404.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.404.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.404.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.404.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 429

too_many_requests, with Retry-After; or quota_exceeded (a rate, usage or concurrency quota, with quota), never with Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.429.error` (object, required)
  - `ListQuotas.response.429.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.429.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.429.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.429.error.issues.message` (string, required)
    - `ListQuotas.response.429.error.issues.path` (string, required)
  - `ListQuotas.response.429.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.429.error.quota.id` (string, required)
    - `ListQuotas.response.429.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.429.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.429.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.429.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.429.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.429.error.quota.region` (string, optional)
    - `ListQuotas.response.429.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.429.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.429.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.429.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 500

internal_error: a bug; the details are in the logs, under the request ID.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.500.error` (object, required)
  - `ListQuotas.response.500.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.500.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.500.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.500.error.issues.message` (string, required)
    - `ListQuotas.response.500.error.issues.path` (string, required)
  - `ListQuotas.response.500.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.500.error.quota.id` (string, required)
    - `ListQuotas.response.500.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.500.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.500.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.500.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.500.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.500.error.quota.region` (string, optional)
    - `ListQuotas.response.500.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.500.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.500.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.500.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.

### 503

unavailable: a dependency the request needs is down. Retry after Retry-After.

#### Example

```json
{
  "error": {
    "code": "string",
    "issues": [
      {
        "message": "string",
        "path": "string"
      }
    ],
    "message": "string",
    "quota": {
      "id": "string",
      "inFlight": 0,
      "kind": "allocation",
      "limit": 0,
      "periodStart": "2019-08-24T14:15:22Z",
      "region": "string",
      "resetsAt": "2019-08-24T14:15:22Z",
      "scope": "organization",
      "scopeResourceName": "string",
      "used": 0,
      "window": "string"
    }
  }
}
```

- `ListQuotas.response.503.error` (object, required)
  - `ListQuotas.response.503.error.code` (string, required)
    - maxLength 64; pattern `^[a-z][a-z0-9_]*$`
  - `ListQuotas.response.503.error.message` (string, required)
    - maxLength 1024
  - `ListQuotas.response.503.error.issues` (array<object>, optional) — invalid_request: one entry per problem, at a dotted path.
    - `ListQuotas.response.503.error.issues.message` (string, required)
    - `ListQuotas.response.503.error.issues.path` (string, required)
  - `ListQuotas.response.503.error.quota` (object, optional) — quota_exceeded: the quota that refused the request (contracts/quotas.md, "When a quota is exceeded"). Never with Retry-After.
    - `ListQuotas.response.503.error.quota.id` (string, required)
    - `ListQuotas.response.503.error.quota.kind` (unknown, required)
      - one of `"allocation"`, `"rate"`, `"usage"`, `"concurrency"`
    - `ListQuotas.response.503.error.quota.limit` (integer, required)
      - min 0
    - `ListQuotas.response.503.error.quota.scope` (unknown, required)
      - one of `"organization"`, `"project"`, `"resource"`
    - `ListQuotas.response.503.error.quota.inFlight` (integer, optional)
      - min 0
    - `ListQuotas.response.503.error.quota.periodStart` (string, optional)
      - format `date-time`
    - `ListQuotas.response.503.error.quota.region` (string, optional)
    - `ListQuotas.response.503.error.quota.resetsAt` (string, optional)
      - format `date-time`
    - `ListQuotas.response.503.error.quota.scopeResourceName` (string, optional)
    - `ListQuotas.response.503.error.quota.used` (integer, optional)
      - min 0
    - `ListQuotas.response.503.error.quota.window` (string, optional) — rate only: an ISO 8601 duration, PT1S to PT1H.


Source: https://docs.ezghcloud.com/quotas-api/ListQuotas/index.md
