[Bug]: Unstable offset pagination in get_daily_activity (order by date only) yields non-deterministic, inflated spend totals
![[Bug]: Unstable offset pagination in get_daily_activity (order by date only) yields non-deterministic, inflated spend totals](https://www.chat-gpts.plus/wp-content/uploads/2026/06/30164-a13afb53-768x403.jpg)
在 LiteLLM 中通过 REST API /user/daily/activity 或 /team/daily/activity 查询用户或团队的日常消费数据时,客户端需要分页遍历所有结果并汇总 metrics.spend 。当某天的行数超过单页大小时(例如一个繁忙的租户每天有数千条请求记录),








