curl https://api.electronhub.ai/v1/auth/proxy \ -H "Authorization: Bearer $ELECTRONHUB_API_KEY"
[ { "name": "Production API Key", "key": "ek-proxy-1234567890abcdef", "expires_at": 1735689600, "allocated_ammount": 100.0, "used_ammount": 25.5, "is_active": true, "model_whitelist": ["gpt-4o", "claude-3-5-sonnet-20241022"], "ip_whitelist": ["192.168.1.0/24"], "created_at": 1704067200, "last_used": 1704153600 }, { "name": "Development Key", "key": "ek-proxy-abcdef1234567890", "expires_at": -1, "allocated_ammount": 10.0, "used_ammount": 2.1, "is_active": true, "model_whitelist": [], "ip_whitelist": [], "created_at": 1704067200, "last_used": 1704139200 } ]
Retrieve all proxy keys for the authenticated user
ek-proxy-
-1
Enter your API key (starts with 'ek-')
Success
The response is of type object[].
object[]