v2026.4.4: Admin usage analytics now supports short time windows
Added 1h, 5h, Today (IST midnight), and 3-day filters to the admin panel's Top Users page so ops can spot spikes and incidents without scanning the full 7/30/90-day view.

What's new
The admin panel's Usage Analytics → Top Users page now has four additional time-window filters on top of the existing 7d / 30d / 90d / All Time tabs:
- 1h — last 60 minutes
- 5h — last 5 hours
- Today — from IST midnight (Asia/Kolkata, UTC+5:30) to now
- 3 Days — last 72 hours
Sorting, filtering (model, provider, organization, top N), and model-level drill-downs work the same across all windows.
Why
During incidents and capacity issues, 7 days is too wide a lens. The new short windows let admins answer "who's driving load right now?" in one click.
Where
- Admin page:
/usage(unchanged URL) - API:
GET /admin/top-users?period=1h|5h|today|3d(new values added to existing endpoint; old7d|30d|90d|allstill work identically)
Notes for implementers
todayresolves to the current IST day boundary on the server, so a Bangalore admin opening the dashboard at 10:00 AM IST sees everything since 00:00 IST that morning.- No DB schema change — all four windows are covered by the existing
log.created_atindex; queries remain sub-second on current data volume.