Skip to main content

Get the Forge usage quota.

GET/api/v1/company/forge-quotaforge:read

This month's Forge invocations and compute (GB-seconds) against the company's allowance, the enforcement mode and when it resets. Needs View Forge Quota, and is refused to external users.

Scopeforge:read (sensitive)
AsynchronousNo
MCP toolget_company_forge_quota
Portal permissionsview_forge_quota

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json ForgeQuota
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ForgeQuota​

FieldTypeRequiredDescription
enforcementstringRequiredHow the allowance is enforced (open enum).
gb_seconds_limitstring or nullRequiredThe monthly GB-second allowance; null when unlimited.
gb_seconds_usedstringRequired
invocations_limitstring or nullRequiredThe monthly invocation allowance; null when unlimited.
invocations_usedstringRequiredInvocations this month.
period_endstring (date-time) or nullRequiredWhen the allowance resets.