✨ Feature Release — Dedicated API Key Manager with Model Permissions
Community-contributed API Key Manager page with model-level access control, enhanced with usage statistics, key status indicators, and improved UX.
✨ New Features
- Dedicated API Key Manager — New
/dashboard/api-managerpage for managing API keys, extracted from the Endpoint page. Includes create, delete, and permissions management with a clean table UI (PR #118 by @nyatoru) - Model-Level API Key Permissions — Restrict API keys to specific models using
allowed_modelswith wildcard pattern support (e.g.,openai/*) - API Key Validation Cache — 3-tier caching layer reduces database hits
- Usage Statistics Per Key — Total requests + last used timestamp per key
- Stats Summary Dashboard — 4 metric cards (total keys, restricted, requests, models)
- Key Status Indicators — Color-coded lock/unlock icons and copy buttons
🔧 Improvements
- Endpoint Page — Simplified with link to API Manager
- Sidebar — New "API Manager" navigation entry
- Prepared Statements — Better DB performance for API key operations
- Input Validation — XSS-safe sanitization and regex validation
Full Changelog
See CHANGELOG.md