Charge a delivered run that finished without being billed
For a run that is done with billed = 0: settles its ledger row at the price the run was admitted at and puts it back on the billing queue. This is the repair for a run whose finish failed and then succeeded on a later attempt — the failed attempt wrote a $0 ledger row on the id the successful one then collided with (FAULT 79). Cross-workspace and audited. Dry run unless apply=1. Idempotent: the settle never raises a row that already carries a charge, so a second call reports already_billed and writes nothing. A trial-covered run reports included and is left at $0. Nothing here computes or chooses a price.
Request
- Base URL: https://api.hyperresearch.ai
- URL: https://api.hyperresearch.ai/v1/admin/runs/{id}/rebill
- Auth: API key in cookie hr_session
Path parameters
Query parameters
Omit (or 0) for a DRY RUN: the response lists every row that would change and nothing is written. 1 performs the rewrite.
Response
What was settled, or would be
Changes
No recorded changes to this operation across all 1 revision of this API.