register_credit_threshold
Configure a credit utilization threshold to send webhook alerts when utilization crosses set levels, supporting warning, at-limit, and recovery notifications.
Instructions
Register a new credit-utilization threshold. When utilizationBps crosses thresholdBps from below, the agent's webhook receives credit.warning (or credit.at_limit if >= 9500). Drops below → credit.recovered. Cap of 20 thresholds per agent. Requires an agent key (floe_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | No | Optional: pin to a specific webhook owned by this developer. Omit for fanout. | |
| threshold_bps | Yes | Utilization threshold in bps (5000 = 50%, 9500 = 95% → at_limit). |