---
title: "Run an isolated planner-only replay"
method: POST
path: "/admin/tally/flight-recorder/turns/{id}/replays"
tags: ["Administration"]
---

# Run an isolated planner-only replay

`POST /admin/tally/flight-recorder/turns/{id}/replays`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/admin/tally/flight-recorder/turns/{id}/replays`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Site-admin/admin-agent quality route. Loads the source message only inside the server operation, exposes zero tools and zero goals, and persists only a sanitized candidate plan, deterministic grade, and metric delta. Requires admin:tally-quality:write.

## Path parameters

- `id` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `provider` 'anthropic' | 'openai_codex' | 'openrouter', required
  - `model` string, required

## Response `200`

Idempotent replay record

## Other responses

- `201`: Completed planner replay
- `429`: Admin evaluation rate or cost budget reached
- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
