---
title: "Set Budget"
method: PUT
path: "/budget/{workspace_id}"
tags: ["usage"]
---

# Set Budget

`PUT /budget/{workspace_id}`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/budget/{workspace_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Sets the workspace's monthly GPU budget: `hard_cap` in H100-seconds, and the share
`notice_pct` at which a job gets its notice. It caps spend within your plan, never past
it.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- BudgetIn
  - `hard_cap` union, required
    - number
    - string
  - `notice_pct` integer

## Response `200`

Successful Response

- BudgetOut
  - `workspace_id` string, uuid, required
  - `meter` string, required
  - `hard_cap` string, nullable, required
  - `notice_pct` integer, required
  - `committed` string, required
  - `reserved` string, required

## Other responses

- `422`: Validation Error

---

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