---
title: "Set budget"
method: PUT
path: "/v2/billing/budget"
tags: ["billing"]
---

# Set budget

`PUT /v2/billing/budget`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/billing/budget`
- Auth: HTTP bearer

Set or disable the spend budget.

## Request body

- UpdateBudgetRequest
  - `enabled` boolean, required: Turn the budget on or off.
  - `cap` union, required: Spend cap in dollars.
    - number
    - string, decimal

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
