Luca Sacchi Ricciardi 16f740f023 feat(stats): T32-T33 implement dashboard and usage endpoints
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.
2026-04-07 15:22:31 +02:00
2026-04-07 08:53:55 +02:00
2026-04-07 08:53:55 +02:00

openrouter-watcher

Applicazione per monitorare l'uso delle api keys di attive in openrouter

Description
Applicazione per monitorare l'uso delle api keys di attive in openrouter
Readme MIT 296 KiB
Languages
Python 94.3%
HTML 4.7%
Dockerfile 0.3%
JavaScript 0.3%
CSS 0.3%
Other 0.1%