---
title: "Changes to Update credit spend policy"
method: PUT
path: "/billing/credits/spend-policies/{spend_policy_id}"
---

# Changes to Update credit spend policy

`PUT /billing/credits/spend-policies/{spend_policy_id}`

> Every recorded change to this operation, newest first.
> 230 revisions in range; 1 not diffed.

## Timeline

Changed in 3 of 230 revisions.

- **2026-10-19** `a021f209a793`: 2 warning, 2 info
- **2026-10-05** `bd39f70605e4`: 8 info
- **2026-09-02** `3d18f4ee08ee`: 1 info

## Changes

- **2026-10-19** `a021f209a793`: 2 warning, 2 info
  - added the new `month` enum value to the `data/window_unit/allOf[#/components/schemas/CreditSpendWindowUnit]/` response property for the response status `200`
  - added the new `week` enum value to the `data/window_unit/allOf[#/components/schemas/CreditSpendWindowUnit]/` response property for the response status `200`
  - added the new `month` enum value to the request property `window_unit/allOf[#/components/schemas/CreditSpendWindowUnit]/`
  - added the new `week` enum value to the request property `window_unit/allOf[#/components/schemas/CreditSpendWindowUnit]/`
- **2026-10-05** `bd39f70605e4`: 8 info
  - added the new optional request property `window_amount`
  - added the new optional request property `window_unit`
  - added the optional property `data/consumed` to the response with the `200` status
  - added the optional property `data/headroom` to the response with the `200` status
  - added the optional property `data/resets_at` to the response with the `200` status
  - added the optional property `data/window_amount` to the response with the `200` status
  - added the optional property `data/window_unit` to the response with the `200` status
  - added the required property `data/window_count` to the response with the `200` status
- **2026-09-02** `3d18f4ee08ee`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/schematichq/apis/schematic-api/docs/billing/credits/spend-policies/:spend_policy_id/put.md) - [API](https://skmtc.dev/schematichq/apis/schematic-api.md) - [Page](https://skmtc.dev/schematichq/apis/schematic-api/changes/billing/credits/spend-policies/:spend_policy_id/put)
