跳转到主要内容
GET
GET /portal/api/quota

授权

gproxy_session
string
cookie
必填

响应

Success

limit
string
必填
modelPattern
string | null
必填

The glob this budget covers, absent when it covers everything.

ownerId
string
必填
ownerKind
string
必填

api_key, user, team or org.

period
string
必填

5h, 1d, 7d, 1m, total, …

resetsAtMs
integer<int64> | null
必填

None for a permanent (total) window.

startsAtMs
integer<int64>
必填
unit
string
必填

USD for a cost budget.

used
string
必填
usedPercent
string | null
必填

On the 0..100 scale, to two decimals. None when the limit is zero, which is a switched-off subject rather than a ratio.

windowKey
string
必填

The budget's stable key within its owner, e.g. primary.