---
title: "Test which transactions would be hit by the rule. No changes will be made."
method: GET
path: "/v1/rules/{id}/test"
tags: ["rules"]
---

# Test which transactions would be hit by the rule. No changes will be made.

`GET /v1/rules/{id}/test`

Test which transactions would be hit by the rule. No changes will be made. Limit the result if you want to.

## Path parameters

- `id` string, required

## Query parameters

- `start` string, date
- `end` string, date
- `accounts[]` integer[]

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

A list of transactions that would be changed by the rule. No changes will be made.

## Other responses

- `400` — Bad request
- `401` — Unauthenticated
- `404` — Page not found
- `500` — Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop.md) · [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-develop/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/firefly-iii/firefly-iii-api-develop/revisions/8a1f6472e04b/schema)
