usage_quota_enforcer
Enforce usage quotas on metered resources by setting soft and hard limits, then handle overages by blocking, throttling, or charging access.
Instructions
Implement usage quota enforcement with soft and hard limits and overage handling
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| resource | Yes | Resource being metered | |
| hard_limit | Yes | Hard limit threshold | |
| soft_limit | Yes | Soft limit threshold | |
| overage_action | No | block |