cron
Delete expired registry price history and run records (cron)
Expected schedule: daily. Deletes expired 15-minute history and old unreferenced run records in bounded batches. Daily history and runs still referenced by current prices are retained. An advisory lock prevents overlapping retention runs.
post/cron/asset-registry/prices/retention
Request
- Base URLhttps://api.dre.app (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: X-CRON-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-CRON-API-KEYstring required
Must match CRON_API_KEY
Response
{ history15mRowsDeleted, unreferencedRunRowsDeleted, durationMs }.
Changes
No recorded changes to this operation across all 3 revisions of this API.