Get quota info in organization
Gets one of an organization's quotas, with its limit and usage.
Gets one of an organization's quotas, with its limit and usage.
bearerAuthorizationBearer <token>An access token, or an API key.
organization*stringThe organization's ID.
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$quotaInfo*stringThe quota's ID, such as resourcemanager.projects.
^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$OK
application/json- response
adjustment*stringHow the limit changes: FIXED, the same on every plan; UPGRADE, on Hobby or Pro, where a higher plan gives more; REQUEST, on Team and Enterprise, where kosem changes it for the organization when it asks.
"FIXED""UPGRADE""REQUEST"displayName*stringName shown in user interfaces, such as Projects.
enforced*booleanWhether a request past the limit is refused. A new rate quota only counts at first, and keeps the requests it would refuse, until kosem has reviewed whom it would refuse; quotas of what exists are always enforced.
limit*integerHow many the organization may have: its plan's, or one kosem set for it in its place (overridden).
int64name*stringResource name, organizations/{organization_id}/quotaInfos/{quota_id} or projects/{project_id}/quotaInfos/{quota_id}.
overridden*booleanWhether kosem set the organization's limit, in place of its plan's. It applies while the organization stays on its plan.
planLimit*integerHow many the organization's plan allows, which limit replaces when overridden; the same as limit otherwise.
int64quotaId*stringThe quota's ID: the service, then what it counts, such as resourcemanager.projects.
refreshInterval*stringFor a rate quota, how often it counts afresh: minute. Empty for a quota of what exists.
resourceType*stringEmpty for a quota of the organization as a whole. For a limit of each of its resources, their type, such as identity.kosem.ai/ServiceAccount.
usage*integerHow many the organization has, or for a limit of each of its resources, the most that any one of them has. It can be above limit after the limit drops; nothing is then removed, but no more can be created. For a project's rate quota, its busiest minute of the last hour. An organization's rate quotas report 0: see each project's.
int64usageUnavailable*booleanSet on a project's rate quota whose counters cannot be read right now: usage is then 0, and unknown.
curl -X GET 'https://api.kosem.ai/v1/organizations/string/quotaInfos/string'{
"adjustment": "FIXED",
"displayName": "string",
"enforced": true,
"limit": 0,
"name": "string",
"overridden": true,
"planLimit": 0,
"quotaId": "string",
"refreshInterval": "string",
"resourceType": "string",
"usage": 0,
"usageUnavailable": true
}