Get the effective metering policy. GET /api/openapi/v1/metering-policy, scope admin.v1.quota.read.
- Scope: admin.v1.quota.read
- Permission: Read quotas and metering (quota)
- Permission type: Read
- Endpoint: GET/api/openapi/v1/metering-policy
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
This endpoint has no additional request parameters.
Request example
cURL
Responses
200 OK
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| cycle_mode | string | Yes | Quota cycle mode | "subscription-cycle" |
| data_as_of | string · date-time | Yes | Data updated at | "2026-08-27T10:00:00Z" |
| data_status | string | Yes | Data status | "fresh" |
| next_reset_at | string · date-time | Yes | - | "2026-08-27T10:00:00Z" |
| updated_at | string · date-time | Yes | Updated at | "2026-08-27T10:00:00Z" |
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>" |