---
title: "Compare current and candidate planner configurations across approved benchmarks"
method: POST
path: "/admin/tally/flight-recorder/benchmark-runs"
tags: ["Administration"]
---

# Compare current and candidate planner configurations across approved benchmarks

`POST /admin/tally/flight-recorder/benchmark-runs`

## Request

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

Runs planner-only evaluations and persists a versioned report with safety regressions, wins/losses, latency, and cost. It does not change runtime configuration.

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `currentConfig` object, required
  - `candidateConfig` object, required
  - `caseIds` string[]

## Response `200`

Idempotent existing run

## Other responses

- `201`: Completed benchmark comparison report
- `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)
