List Proxy Keys
Retrieve all proxy keys for the authenticated user
Overview
The List Proxy Keys endpoint allows you to retrieve all proxy keys associated with your account. Proxy keys are sub-keys that allow you to share access to the API with specific limitations and restrictions.
Use Cases
- Team Management: Create separate keys for different team members with specific access controls
- Application Isolation: Use different keys for different applications or environments
- Budget Control: Set spending limits per key to control costs
- Security: Restrict access by IP address and model selection
Response Fields
The human-readable name of the proxy key
The actual proxy key value (starts with ek-proxy-
)
Expiration timestamp in seconds since Unix epoch. -1
means no expiration
Total credit amount allocated to this proxy key
Amount of credits already used by this proxy key
Whether the proxy key is currently active and can be used
List of model IDs this key can access. Empty array means all models are allowed
List of IP addresses or CIDR blocks allowed to use this key. Empty array means all IPs are allowed
Timestamp when the proxy key was created
Timestamp when the proxy key was last used for an API request
Error Handling
Unauthorized - Invalid or missing API key
Forbidden - API key doesn’t have permission to access proxy keys
Rate Limited - Too many requests, please slow down
Authorizations
Enter your API key (starts with 'ek-')
Response
Success
The response is of type object[]
.