#49 [Admin Panel] API Key Management - List API Keys

closed high Created 2025-11-27 07:13 · Updated 2025-11-27 08:57

Description

Edit
Implement GET /api/v1/admin/api-keys endpoint to list all API keys. **API Specification:** - Endpoint: GET /api/v1/admin/api-keys - Permission Required: manage_users - Query Parameters: is_active, page, per_page - Response: {data: api_keys[], pagination: {...}} **Response Fields:** - api_key_id, name, description - key_prefix (first 8 chars for identification) - permissions[], ip_whitelist[] - created_at, expires_at, last_used_at - created_by_email, is_active - usage_count (API calls made) **Requirements:** - NEVER expose full API key - Show key_prefix for identification - Include usage statistics - Filter by active/inactive status **IMPORTANT:** Implement with ultra attention to details and correctness. **BEFORE CLOSING:** Take screenshot showing API keys list. Add comment summarizing implementation.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...