16f740f023467fa370da3ae25261f4c0dcf33641
Add statistics router with two endpoints: - GET /api/stats/dashboard: Aggregated dashboard statistics - Query param: days (1-365, default 30) - Auth required - Returns DashboardResponse - GET /api/usage: Detailed usage statistics with filtering - Required params: start_date, end_date - Optional filters: api_key_id, model - Pagination: skip, limit (max 1000) - Auth required - Returns List[UsageStatsResponse] Also add get_usage_stats() service function for querying individual usage records with filtering and pagination.
openrouter-watcher
Applicazione per monitorare l'uso delle api keys di attive in openrouter
Languages
Python
94.3%
HTML
4.7%
Dockerfile
0.3%
JavaScript
0.3%
CSS
0.3%
Other
0.1%