Overview
The Infrastructure Budget API allows you to:- Create Budgets - Set up budgets for overall infrastructure, specific cloud providers, or environments
- Track Spending - Monitor spending against budgets with detailed breakdowns
- Set Alerts - Configure alert and critical thresholds for budget notifications
- Manage Budgets - Update, pause, or delete budgets as needed
- Record Manual Spending - Track spending for infrastructure created outside WISTX
Endpoints
Create Budget
Create a new infrastructure budget for tracking spending
List Budgets
List all infrastructure budgets for the user/organization
Get Budget
Get budget details by ID
Update Budget
Update budget details
Delete Budget
Delete infrastructure budget
Get Budget Status
Get current budget status and spending
Get Budget Spending
Get detailed spending breakdown for budget
Get Spending Summary
Get spending summary for user/organization
Record Manual Spending
Record spending for manually created infrastructure
Budget Scope Types
Budgets can be scoped to:- Overall - Track all infrastructure spending
- Cloud Provider - Track spending for a specific cloud provider (AWS, GCP, Azure)
- Environment - Track spending for a specific environment (dev, stage, prod)
Enforcement Modes
- Alert - Send alerts when thresholds are reached (default)
- Warn - Send warnings but allow spending
- Block - Block new infrastructure creation when budget is exceeded
Related Endpoints
- Cost Search - Search infrastructure pricing data
- Alerts - Manage budget alerts and preferences