getOrgUsage
Read the org's usage this month against what its plan includes: the compute runs started since the 1st, UTC, each a sandbox start for a tool call, a workflow run, a webhook's or mailbox's handler, or a custom CI check, and when the count resets. A run past the plan's runs is refused with ComputeLimitReached. Also the AI and browser use, in millionths of a US dollar: each System One answer's input tokens and each browser's running time, at twice what they cost Forge. Once it reaches what the plan includes, System One requests and new browsers are refused with AiBrowserLimitReached. And the bytes the org's repos store, their attachments and databases, as each repo last reported them a few minutes after it changed; storage never resets, and an attachment upload that would pass the plan's storage is refused with StorageLimitReached. Takes readBilling on the org.
/orgs/{org_id}/usagePath parameters
Returns
200
OrgUsage
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
503
SessionUnavailable | RateLimitUnavailable
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded