v4

latestOpenAPI 3.1.02026-08-012281296.0 MB
Account

Update auto top-up settings

Update the organization's auto top-up configuration. Enabling auto top-up will automatically charge your organization's saved payment method via Stripe when your credit balance falls below the configured threshold. AI agents should confirm with a human operator before enabling this feature.

<span><strong>Rate limit:</strong> 10 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> FREE! No credits are charged for this API. <span title="Pricing shown is default pricing. Actual pricing may vary."></span></span>

post/v1/auto-topup/configure

Request body

apiKeystring required

Your Fiber API key

subscriptionIdstring required

The subscription to configure auto top-up for. An organization can have multiple subscriptions, each with its own auto top-up settings.

isEnabledboolean required

Whether auto top-up is enabled

creditThresholdinteger nullable

Credit balance threshold below which auto top-up triggers. Required when isEnabled is true.

creditsToBuyinteger nullable

Number of credits to purchase when auto top-up triggers. Required when isEnabled is true.

maxPerDayinteger nullable

Maximum number of auto top-ups allowed in a rolling 24-hour window. Set to null to remove the daily limit.

maxPerMonthinteger nullable

Maximum number of auto top-ups allowed per calendar month (UTC). When reached, auto top-up pauses until the next calendar month. Set to null to remove the monthly limit.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.