Skip to main content

Contracts & capacity

Operators use contracts to define each organization's entitlement: its plan, monthly allowance, and capacity. This is the ceiling within which org admins set their own budgets.

Contracts are the commercial source of truth. When a customer upgrades, renews, or enters a trial, operators update the contract in the Console — org admins then allocate that entitlement internally via budget policies.

Contracts

A contract captures an organization's commercial agreement:

FieldDescription
kindtrial, enterprise, or internal
supportTiercommunity, standard, priority, or dedicated
startsAtContract effective date (ISO timestamp)
endsAtOptional expiration
renewalAtOptional renewal reminder date
limitsNumeric caps — see below

The included monthly allowance powers the Included bucket on the org's Usage page.

Limit fields

LimitGoverns
monthlyUsdTop-level spend ceiling for the org
monthlyAgentRunsMaximum monthly cloud agent runs
concurrentAgentRunsMaximum concurrent cloud agent runs
sentinelLicensesSentinel product seats
cloudAgentLicensesCloud agent seats
Additional limitsseats, teams, projects, designLicenses, monthlyTokens

Capacity

Capacity grants control how much an organization can consume. Operators adjust capacity when agreements change — mid-contract upgrades, trial extensions, or enterprise true-ups.

ConceptSet byGoverns
Contract / capacityOperator (Console)What the org is entitled to
Budget policyOrg admin (Dashboard)Internal spend within that entitlement

Provisioning API limit fields

The platform API (PATCH /api/provisioning/contracts on api.4rged.ai) accepts these contract.limits keys:

Limit keyGoverns
monthlyUsdTop-level monthly spend ceiling (powers the Included bucket)
monthlyTokensToken allowance when token caps apply
monthlyAgentRunsMonthly cloud agent run cap
concurrentAgentRunsConcurrent run cap
sentinelLicensesSentinel seats
designLicensesDesign product seats
cloudAgentLicensesCloud agent seats
seats, teams, projectsOrg structure caps

Every update requires organizationId, a full contract object, and a non-empty reason string recorded in the audit log. Optional overrideReason documents break-glass or exceptional changes.

Console UI vs API

Operators can update capacity from Console → Contracts or via the provisioning API. The Console proxies to platform-api — the same validation runs in both paths. After a change, ask the org admin to refresh Usage and confirm the Included bucket reflects the new monthlyUsd limit.

Note

Changing capacity takes effect for the organization immediately and is reflected in their usage view. Always provide a reason when updating — it is recorded in the audit log.

Operator procedure: update contract capacity

  1. Open the client in Console

    Navigate to Clients → select the organization → Contract tab.

  2. Review current usage

    Compare current month consumption on the org's Usage page against existing limits. Note whether the change is an upgrade, downgrade, or correction.

  3. Apply the update

    Set new limit values, contract kind, support tier, and dates. Enter a clear reason (for example, "Q3 enterprise renewal — increased allowance to 500 USD").

  4. Confirm in dashboard

    Ask the org admin to refresh Usage and verify the Included bucket and any license counts updated.

  5. Document externally

    Match the Console change to your CRM or billing record so finance and support stay aligned.

Update via provisioning API

Platform operators can update contract capacity through the platform API:

curl -X PATCH "https://api.4rged.ai/api/provisioning/contracts" \
  -H "Authorization: Bearer <platform-operator-session>" \
  -H "Content-Type: application/json" \
  -d '{
    "organizationId": "org_abc123",
    "reason": "Enterprise renewal — increased monthly allowance",
    "contract": {
      "kind": "enterprise",
      "supportTier": "priority",
      "startsAt": "2026-01-01T00:00:00.000Z",
      "endsAt": "2026-12-31T23:59:59.000Z",
      "limits": {
        "monthlyUsd": 500,
        "sentinelLicenses": 10
      }
    }
  }'

List the contract directory:

curl "https://api.4rged.ai/api/provisioning/contracts" \
  -H "Authorization: Bearer <platform-operator-session>"

Trial to enterprise transition

PhaseOperator actionCustomer action
Trial startSet kind: trial, low allowance, endsAt in 14–30 daysConnect GitHub, run smoke cloud agent
Trial mid-pointReview usage in Console; extend endsAt if neededInternal budget policy optional
ConversionSet kind: enterprise, raise limits, clear or extend endsAtSet team budgets within new ceiling
RenewalUpdate renewalAt, adjust limits for true-upNo action if within new entitlement
Downgrades

Lowering monthlyAllowanceUsd below current month consumption does not retroactively cancel runs in progress. Coordinate with the customer before downgrading mid-cycle.