---
title: "Changes to Preview a spend rule"
method: GET
path: "/spend-rules/{id}/preview"
---

# Changes to Preview a spend rule

`GET /spend-rules/{id}/preview`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 38 revisions.

- **2026-10-30** `56f46b5b6b41`: 1 info
- **2026-10-29** `4d6438af4709`: 3 info
- **2026-10-29** `9b2f62a69f66`: 2 info
- **2026-10-27** `58847d40a023`: 1 info

## Changes

- **2026-10-30** `56f46b5b6b41`: 1 info
  - added the required property `data/spike` to the response with the `200` status
- **2026-10-29** `4d6438af4709`: 3 info
  - added the optional property `data/period/window_hours` to the response with the `200` status
  - added the required property `data/forecast` to the response with the `200` status
  - added the required property `data/previous_period` to the response with the `200` status
- **2026-10-29** `9b2f62a69f66`: 2 info
  - added the optional property `data/state/armed` to the response with the `200` status
  - added the required property `data/balance` to the response with the `200` status
- **2026-10-27** `58847d40a023`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/phaseo/apis/phaseo-gateway-api/docs/spend-rules/:id/preview/get.md) - [API](https://skmtc.dev/phaseo/apis/phaseo-gateway-api.md) - [Page](https://skmtc.dev/phaseo/apis/phaseo-gateway-api/changes/spend-rules/:id/preview/get)
