---
title: "PATCH /orgs/{org_id}/billing/budgets"
method: PATCH
path: "/orgs/{org_id}/billing/budgets"
tags: ["billing"]
---

# PATCH /orgs/{org_id}/billing/budgets

`PATCH /orgs/{org_id}/billing/budgets`

Merge partial credit budget changes for the organization.

## Path parameters

- `org_id` string, required

## Request body

- BudgetPatchBody — Partial budget update — merge rows without touching other configured targets.
  - `budgets` BudgetPatchInput[]
    - `budget_type` string, required — `project` or `role`.
    - `limit_credits` string, nullable — When null, removes the budget for this target. When set, must be > 0.
    - `project_id` string, nullable
    - `role_id` string, nullable

## Response `200`

Budgets saved

- BudgetListBody
  - `budgets` Budget[], required
    - `budget_type` string, required
    - `created_at` string, date-time, nullable
    - `current_credits` number, double, nullable
    - `id` string, nullable
    - `limit_credits` string, required
    - `period_end` string, date-time, nullable
    - `period_start` string, date-time, nullable
    - `project_id` string, nullable
    - `project_name` string, nullable
    - `role_id` string, nullable
    - `role_name` string, nullable
    - `updated_at` string, date-time, nullable

## Other responses

- `400` — Invalid request
- `403` — Forbidden
- `404` — Project or role not found

## Changes

- **2026-07-03** `e1c81d0f4235` — 7 breaking
  - the `budgets/items/limit_credits` request property type/format changed from `integer, null`/`int64` to `string, null`/``
  - the `budgets/items/project_id` request property type/format changed from `integer, null`/`int64` to `string, null`/``
  - the `budgets/items/role_id` request property type/format changed from `integer, null`/`int64` to `string, null`/``
  - the `budgets/items/id` response's property type/format changed from `integer, null`/`int64` to `string, null`/`` for status `200`
  - …3 more
- **2026-06-05** `45de91fcec33` — 1 info
  - endpoint added
- **2026-03-16** `eb2c08128881` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/timbal-ai/apis/timbal-platform-api/changes/orgs/:org_id/billing/budgets/patch.md)

---

[API](https://skmtc.dev/timbal-ai/apis/timbal-platform-api.md) · [All operations](https://skmtc.dev/timbal-ai/apis/timbal-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/timbal-ai/timbal-platform-api/revisions/dd7e398ce0d3/schema)
