Get API consumer allowance
Changed onReturns the live read model for the current UTC usage period and lazily rolls an expired period forward.
post/get_api_consumer_allowance
Request
- Base URLhttps://api-integration-v2-qd6wo466iq-uc.a.run.app
- URLhttps://api-integration-v2-qd6wo466iq-uc.a.run.app/get_api_consumer_allowance
- AuthHTTP bearer
Request body
Response
Current allowance returned.
Example response
{
"period": {
"id": "2026-09-23",
"limitMicros": 20000000,
"spentMicros": 4250000,
"remainingMicros": 15750000,
"inputTokens": 1200,
"outputTokens": 300,
"usageItemCount": 2
}
}Changes
- info
endpoint added
- info