List quota policies. GET /api/openapi/v1/quota-policies, scope admin.v1.quota.read.
- Scope: admin.v1.quota.read
- Permission: Read quotas and metering (quota)
- Permission type: Read
- Endpoint: GET/api/openapi/v1/quota-policies
Authentication and request headers
Call with an application API key. This endpoint checks only the scope above; read, manage and execute permissions do not imply one another.
| Name | Location | Type | Required | Description | Example |
|---|---|---|---|---|---|
| Authorization | header | string | Yes | Application API key, passed as a Bearer token. | Bearer qwk_*** |
| X-Request-Id | header | string | No | Optional request tracing identifier; generated by the server if omitted. | req-20260831-001 |
Request parameters
| Name | Location | Type | Required | Description | Example |
|---|---|---|---|---|---|
| keyword | query | string | No | Search keyword | "<string>" |
| page | query | integer · int64 | No | Page number | 1 |
| page_size | query | integer · int64 | No | Page size | 20 |
Request example
cURL
Responses
200 OK
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| items | array | null | Yes | Records | [{"created_at":"2026-08-27T10:00:00Z","description":"<string>","id":0,"is_default":false,"name":"<string>","per_user_limit":0,"priority":0,"scopes":[{"id":"<string>","type":"user"}],"status":"enabled","updated_at":"2026-08-27T10:00:00Z"}] |
| page | integer · int64 | Yes | Page number | 0 |
| page_size | integer · int64 | Yes | Page size | 0 |
| total_items | integer · int64 | Yes | Total count | 0 |
default Flat business error
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| code | string | No | Stable business error code | "<string>" |
| detail | string | Yes | Human-readable error description | "<string>" |
| details | OpenapiErrorDetails | No | Error details | {"field":"<string>","reason":"<string>","suggestion":"<string>"} |
| details.field | string | No | Request field that failed validation | "<string>" |
| details.reason | string | No | Stable validation failure reason | "<string>" |
| details.suggestion | string | No | Suggested normalized value | "<string>" |
| error | string | Yes | Stable HTTP error type | "<string>" |