Skip to main content

Interface: ResourceOverageResponse

Defined in: packages/sdk/src/types/generated/usage.ts:163

Resource overage details for one workspace and one resource.

The allowance is the organization's; only used is the workspace's.

Properties

organizationIncluded

organizationIncluded: number

Defined in: packages/sdk/src/types/generated/usage.ts:165

The allowance the workspace's ORGANIZATION is granted for this resource, once per billing period. This is not a per-workspace budget — every workspace in the organization is measured against this same number, so it repeats across workspace rows.


overageAmount

overageAmount: number

Defined in: packages/sdk/src/types/generated/usage.ts:169

used minus organizationIncluded, floored at zero: this workspace's usage measured against the whole organization's allowance.


overageCostCents

overageCostCents: number

Defined in: packages/sdk/src/types/generated/usage.ts:171

overageAmount priced at the plan's overage rate. Not additive across workspaces sharing an organization.


used

used: number

Defined in: packages/sdk/src/types/generated/usage.ts:167

This workspace's usage of the resource in the period.