> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wistx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Infrastructure Budget

> Manage infrastructure budgets, track spending, and set alerts

Manage infrastructure budgets, track spending across cloud providers and environments, and set up alerts for budget thresholds.

## 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

<CardGroup cols={2}>
  <Card title="Create Budget" icon="plus" href="/api-reference/budget/create-budget">
    Create a new infrastructure budget for tracking spending
  </Card>

  <Card title="List Budgets" icon="list" href="/api-reference/budget/list-budgets">
    List all infrastructure budgets for the user/organization
  </Card>

  <Card title="Get Budget" icon="eye" href="/api-reference/budget/get-budget">
    Get budget details by ID
  </Card>

  <Card title="Update Budget" icon="edit" href="/api-reference/budget/update-budget">
    Update budget details
  </Card>

  <Card title="Delete Budget" icon="trash" href="/api-reference/budget/delete-budget">
    Delete infrastructure budget
  </Card>

  <Card title="Get Budget Status" icon="chart-line" href="/api-reference/budget/budget-status">
    Get current budget status and spending
  </Card>

  <Card title="Get Budget Spending" icon="dollar-sign" href="/api-reference/budget/budget-spending">
    Get detailed spending breakdown for budget
  </Card>

  <Card title="Get Spending Summary" icon="chart-bar" href="/api-reference/budget/spending-summary">
    Get spending summary for user/organization
  </Card>

  <Card title="Record Manual Spending" icon="upload" href="/api-reference/budget/manual-spending">
    Record spending for manually created infrastructure
  </Card>
</CardGroup>

## 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](/api-reference/cost-search) - Search infrastructure pricing data
* [Alerts](/api-reference/alerts) - Manage budget alerts and preferences


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.