v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Organizations

Set organization spending limit

Sets the monthly spending limit for the specified organization. To remove a previously configured limit, send a DELETE request to this endpoint. When a limit is configured, email notifications are sent at 80% and 100% of the limit. Computes are not suspended when the limit is reached. Available to organization admins on Launch and Scale plans only.

put/organizations/{org_id}/billing/spending_limit

Request body

spending_limit_centsinteger required

Monthly spending cap in cents. Must be positive. To remove a previously configured limit, send a DELETE request to the spending_limit endpoint — 0 and null are rejected here. The cap is alert-only: notifications fire at 80% and 100%, but computes are not suspended. Setting a cap below the period's already-accrued spend is permitted and will trigger the over-limit notification on the next worker run.

Response

The updated spending limit value.

spending_limit_centsinteger nullable required

Monthly spending cap in cents. null indicates that no limit is currently configured.