`POST /v1/admin/properties/{id}/reaggregate`
POST/v1/admin/properties/:id/reaggregate
Property.reaggregate .
Delete and rebuild the property's day-granularity metrics rollups over
a raw-events window (stat README §7). v1 reaggregates from stat.events
ONLY - a window reaching past the property's retention horizon is a 400
(the spilled raw data lives in Storage archives; per stat DESIGN §4.3.6
the archive spill is the source-of-truth boundary and the Storage-archive
replay path is out of scope for this endpoint). The recomputation shares the
background rollup's SQL via
crate::worker::rollups::reaggregate_property.
Request
Responses
- 200
- 400
- 403
- 404
Rollups rebuilt over the window
Invalid window, window beyond the retention horizon, or property not in env
Missing stat:admin scope
Property not found