跳转到主要内容
GET
GET /admin/api/quotas/{id}

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

响应

Success

One configured budget or operator limit. owner_kind is a free string: user, api_key, team, org and pool are caller budgets the host names per request, while credential and provider are operator limits on upstream accounts. Both live in one table because both are windows over a metric.

anchorAtMs
integer<int64> | null
必填
enabled
boolean
必填
id
string
必填
limitValue
string
必填
metric
string
必填

cost for a budget; requests or cost for a limit.

modelPattern
string | null
必填

A */? glob over the upstream model name; absent covers everything.

ownerId
string
必填
ownerKind
string
必填
period
string
必填

5h, 1d, 7d, 1m, total, or anything with period_seconds.

periodSeconds
integer<int64> | null
必填
unit
string
必填

USD for cost, count for requests.

windowKey
string
必填

Stable key within the owner, e.g. primary.