Removes a single optional budget cap
Deletes the cap identified by (origin, environment, period). The mandatory agent-wide daily, weekly, and monthly caps (on Production and Test) cannot be removed — a request targeting one returns 400. Use this to drop a per-environment cap. Historical cost data is unaffected.
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
Query Parameters
Which spend bucket to clear — default PRODUCTION; pass TEST for the developer test bucket.
"PRODUCTION""UNSPECIFIED" | "PRODUCTION" | "TEST"Which environment's cap to clear. Omitted (default) targets the agent-wide cap; a slug targets only that environment's cap.
Which window's cap to clear — default MONTHLY; pass WEEKLY or DAILY.
"MONTHLY""UNSPECIFIED" | "DAILY" | "WEEKLY" | "MONTHLY"Response Body
curl -X DELETE "https://api.fruxon.com/v1/tenants/string/agents/string/budget"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Lists every budget cap for an agent — one per (origin, environment, period).
Returns PRODUCTION and TEST caps for all daily, weekly and monthly windows. Agent-wide entries have environment=null; environment-specific entries name their slug. Includes mandatory agent-wide caps. GET budget returns a single cap.
Creates or updates the budget configuration for an agent
Creates or replaces the cap identified by origin, environment and period. period defaults to MONTHLY; multiple windows can enforce together. New runs are rejected if they would exceed an enforced cap, and alerts fire at the configured thresholds. Mandatory agent-wide daily, weekly and monthly caps for PRODUCTION and TEST cannot be deleted; set enforceLimit=false for notification only. Optional caps can be removed with DELETE budget.