today
Soft limits for Usage Governance
You can now set soft limits on Usage Governance entitlements. A soft limit lets an entity keep using past its limit while Stigg keeps counting the usage and flags the overage.
🆕 What's new?
- Hard or soft, per entitlement: Each entity entitlement is now either a hard limit, which blocks usage beyond the limit, or a soft limit, which allows usage beyond the limit. New limits are hard by default.
- Set it in the app: Pick the limit type from the entitlement cell or the entity drawer. Usage past a soft limit shows in orange, so overages stand out from blocked entities.
- Set it in the API and SDK: A new
hasSoftLimitfield on entity entitlements, returned in the governance tree and on every node in a check'schains. - Overage alerts: Crossing a soft limit still fires the
entity.entitlement.usage_exceededwebhook, withisSoftLimit: true.
💡 Why it matters
- Share a pool without hard walls: Let a team, user or agent go past its own budget and keep drawing from the shared pool above it, instead of blocking it while credits sit unused.
- Keep the guardrails that matter: A soft limit only lifts the block at its own level. Hard limits higher in the hierarchy, and the customer's own entitlement, still apply.
- Enforce with data, not guesses: Run a limit as soft first to see how far entities go past it, then switch to hard when you're ready to enforce.
⚒️ Get started
- Choose the limit type: In the Stigg app, click the limit type on an entitlement and choose Soft limit, or set
hasSoftLimit: truewhen you upsert entity entitlements. - Check access as usual: No change to your enforcement code. Governance checks keep granting past a soft limit and still count the usage.
- Watch overages: Track usage past the limit in the governance tree, where
utilizationgoes above 1, or listen for theentity.entitlement.usage_exceededwebhook.
Learn more:
- Hard and soft limits
- Set a hard or soft limit in the Stigg app
- Set up governance via the SDK and REST API
📦 Availability
Soft limits are available now in the Stigg app and API for all environments with Usage Governance. Existing limits stay hard, so nothing changes until you opt in.
REST-based SDKs
- TypeScript: v0.1.0-beta.68
Services
- Sidecar service: v10.11.0
- Persistent cache service: v4.10.0
Upgrade the Sidecar and the persistent cache service together. With older cache versions, soft limits are read as hard limits.