---
title: "Changes to Update Rule"
method: PATCH
path: "/api/v1/runs/rules/{rule_id}"
---

# Changes to Update Rule

`PATCH /api/v1/runs/rules/{rule_id}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 5 of 48 revisions.

- **2026-05-27** `a0acb3a6a101` — 1 breaking, 3 info
- **2026-05-01** `0480571f80d7` — 1 info
- **2026-04-13** `e86be67718ee` — 1 info
- **2026-03-19** `7bbcecd856b2` — 4 warning
- **2026-03-10** `9ca78cc32184` — 4 info

## Changes

- **2026-05-27** `a0acb3a6a101` — 1 breaking, 3 info
  - removed `#/components/schemas/RunRuleSpendLimitSchema` from the `spend_limit` request property `anyOf` list
  - added the new optional request property `group_by`
  - added `#/components/schemas/RunRuleSpendLimitSchema-Input` to the `spend_limit` request property `anyOf` list
  - added the optional property `spend_limit` to the response with the `200` status
- **2026-05-01** `0480571f80d7` — 1 info
  - added the new optional request property `spend_limit`
- **2026-04-13** `e86be67718ee` — 1 info
  - added the optional property `backfill_id` to the response with the `200` status
- **2026-03-19** `7bbcecd856b2` — 4 warning
  - removed the optional property `backfill_completed_at` from the response with the `200` status
  - removed the optional property `backfill_error` from the response with the `200` status
  - removed the optional property `backfill_progress` from the response with the `200` status
  - removed the optional property `backfill_status` from the response with the `200` status
- **2026-03-10** `9ca78cc32184` — 4 info
  - added the optional property `backfill_completed_at` to the response with the `200` status
  - added the optional property `backfill_error` to the response with the `200` status
  - added the optional property `backfill_progress` to the response with the `200` status
  - added the optional property `backfill_status` to the response with the `200` status

---

[Operation](https://skmtc.dev/langchain-ai/apis/langsmith/docs/api/v1/runs/rules/:rule_id/patch.md) · [API](https://skmtc.dev/langchain-ai/apis/langsmith.md) · [Page](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/runs/rules/:rule_id/patch)
