runs
Repair legacy run counters from the vault
For every TERMINAL run in this workspace whose fetch_attempts is NULL — the marker of a row written before the counters were unified — rewrites sources_fetched and notes_written to what the run actually kept, which only the workspace vault knows. Dry run unless apply=1. Idempotent: a row already correct is skipped. fetch_attempts is deliberately not invented; unknown stays NULL.
post/v1/admin/backfills/run-counters
Request
- Base URL: https://api.hyperresearch.ai
- URL: https://api.hyperresearch.ai/v1/admin/backfills/run-counters
- Auth: API key in cookie hr_session
Query parameters
apply'0' | '1'
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 changed, or would change
Changes
No recorded changes to this operation across all 1 revision of this API.