Catalog

Remove the organization's spend budget

Leave the organization uncapped. Requires organization owner or admin.

The window's spend counter survives: it is a record of spend, not of the budget, and a budget set again later measures against the spend already made this period.

delete/organizations/{organizationId}/spend-budget

Response

The spend budget, now uncapped.

capUsdnumber nullable required

The ceiling in USD. null means uncapped.

capCreditsinteger nullable required

The same ceiling as the ledger stores it.

alertPercentsinteger[] required

Whole percents of the cap that notify owners and admins. Reaching the cap always notifies, whether or not 100 is listed.

spentUsdnumber required

MCPJam-billed spend so far in this window, in USD.

spentCreditsinteger required

The same spend as the ledger counted it.

windowStartAtinteger required

Start of the current billing window (epoch ms). Team and enterprise organizations run on their own subscription cycle; everyone else on the UTC month.

windowEndsAtinteger required

When the window resets and the counter returns to zero (epoch ms).

alertedPercentsinteger[] required

Thresholds already announced this window. Each fires once per window.

capReachedAtinteger nullable required

When the cap was reached this window, or null.

updatedAtinteger nullable required

When the budget was last changed (epoch ms).

minCapUsdnumber required

The smallest budget the platform accepts.

maxCapUsdnumber required

The largest budget the platform accepts.

supportedboolean required

False for a personal organization, which cannot have a budget.

Changes

Changed in 1 of the 122 revisions of this API.1