Skip to main content

Query user quota amounts and sources

Query user quota amounts and sources. POST /api/openapi/v1/resolved-user-quota-queries, scope admin.v1.quota.read.

  • Scope: admin.v1.quota.read
  • Permission: Read quotas and metering (quota)
  • Permission type: Read
  • Endpoint: POST/api/openapi/v1/resolved-user-quota-queries

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.
NameLocationTypeRequiredDescriptionExample
AuthorizationheaderstringYesApplication API key, passed as a Bearer token.Bearer qwk_***
X-Request-IdheaderstringNoOptional request tracing identifier; generated by the server if omitted.req-20260831-001

Request parameters

NameLocationTypeRequiredDescriptionExample
user_idsbodyarray | nullRequiredUser IDs["<string>"]

Request example

cURL

Responses

200 OK
NameTypeRequiredDescriptionExample
itemsarray | nullYesRecords[{"configured_quota":{"per_user_limit":0,"source":{"expires_at":"2026-08-27T10:00:00Z","id":"<string>","name":"<string>","type":"individual","validity":"permanent"}},"error_code":"<string>","user_id":"<string>"}]
Response example
default Flat business error
NameTypeRequiredDescriptionExample
codestringNoStable business error code"<string>"
detailstringYesHuman-readable error description"<string>"
detailsOpenapiErrorDetailsNoError details{"field":"<string>","reason":"<string>","suggestion":"<string>"}
details.fieldstringNoRequest field that failed validation"<string>"
details.reasonstringNoStable validation failure reason"<string>"
details.suggestionstringNoSuggested normalized value"<string>"
errorstringYesStable HTTP error type"<string>"
Response example