Removes the budget configuration for an agent
Drops all spend enforcement and alert thresholds for the agent; subsequent executions run without a cost cap. Historical cost data is unaffected and remains queryable through the revision cost endpoints. Idempotent — returns 204 whether or not a budget was configured beforehand.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The agent ID.
The tenant identifier
Response Body
curl -X DELETE "https://api.fruxon.com/v1/tenants/string/agents/string/budget"Gets the budget configuration for an agent, including current cost and usage data
Returns the budget cap, period, alert thresholds, and the live cost accumulated against the current period (sourced from the same execution-cost stream that powers `GET /v1/tenants/{tenant}/agents/{agent}/revisions/{revision}/cost`). A 404 here means the agent has no budget enforcement and runs are uncapped — it does not mean the agent itself is missing. Use this to drive budget UI and to check headroom before kicking off expensive batches.
Creates or updates the budget configuration for an agent
Upserts the budget in place — the same call creates a budget if none exists or replaces the existing one. Once a cap is set, the execution engine rejects new runs that would push the period's accumulated cost above it, and alert thresholds fire notifications as usage crosses them. Changing the period boundary does not retroactively rebucket prior usage; the new period begins on the next billing window. Remove enforcement entirely with `DELETE /v1/tenants/{tenant}/agents/{agent}/budget`.