admin-pricing

Recompute Pricing Calibration

Manually trigger a full recompute of all Track B calibration buckets.

Equivalent to the Phase 5 backfill script. Use cases:

  • Force a refresh after editing the Track A pricing config (the calibration rows reference older config versions)
  • Diagnostics / cache-busting after data fixes
  • Initial seeding on a fresh environment

recompute_bucket itself only flushes — this endpoint owns the transaction boundary and commits at the end so all bucket upserts persist atomically.

Auth: settings:edit.

post/api/v1/admin/pricing-calibration/recompute

Response

Successful Response

total_bucketsinteger required
buckets_with_high_confidenceinteger required
buckets_with_medium_confidenceinteger required
buckets_with_low_confidenceinteger required
buckets_with_no_confidenceinteger required
sample_size_histogramobject required
flagged_outliers_totalinteger required
skipped_countinteger

Line items skipped (no geometry, deleted parts, etc.)

duration_secondsnumber required

Changes

No recorded changes to this endpoint across all 1 revision of this API.