13 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
7bda6bf767 fix: PostgreSQL cannot use get_chat_ids_by_model_id
Co-Authored-By: EntropyYue <164553692+EntropyYue@users.noreply.github.com>
2026-02-13 11:20:26 -06:00
Timothy Jaeryang Baek
f376d4f378 chore: format 2026-02-11 16:24:11 -06:00
Timothy Jaeryang Baek
e62649f940 enh: analytics 2026-02-05 00:00:49 -06:00
Timothy Jaeryang Baek
68a1e87b66 enh: analytics model modal 2026-02-04 23:42:46 -06:00
Timothy Jaeryang Baek
3c0313f41b refac 2026-02-02 09:31:52 -06:00
Timothy Jaeryang Baek
d938eb0e76 refac 2026-02-02 09:23:46 -06:00
Timothy Jaeryang Baek
b0c5f7b668 refac 2026-02-02 09:02:34 -06:00
Timothy Jaeryang Baek
c22bb4f853 refac 2026-02-02 08:55:13 -06:00
Tim Baek
b2c2f1bd49 refac 2026-02-01 10:24:04 +04:00
Tim Baek
679e56c494 feat: token analytics 2026-02-01 10:19:59 +04:00
Tim Baek
3da4323ef3 refac 2026-02-01 10:11:13 +04:00
Tim Baek
75e5a485d2 refac 2026-02-01 10:06:52 +04:00
Tim Baek
599cd2eeeb feat: analytics backend API with chat_message table
- Add chat_message table for message-level analytics with usage JSON field
- Add migration to backfill from existing chats
- Add /analytics endpoints: summary, models, users, daily
- Support hourly/daily granularity for time-series data
- Fill missing days/hours in date range
2026-02-01 07:04:13 +04:00