Skip to main content

api_historical_stats

Function api_historical_stats 

Source
pub fn api_historical_stats(
    _caller: Actor,
    pool: &State<DbPool>,
) -> Result<Json<HistoricalStatsDto>, Status>
Expand description

The per-task snapshot retention stats (agent twin of the /admin/retention screen). Token- gated. 503 if the pool is exhausted.