Create Proxy Key
Create a new proxy key with specified permissions and limits
post/auth/proxy/create
Request
- Base URLhttps://api.electronhub.ai/v1
- URLhttps://api.electronhub.ai/v1/auth/proxy/create
- AuthHTTP bearer
Request body
Example request
{
"name": "My API Key",
"expires_at": 1735689600,
"allocated_ammount": 10,
"model_whitelist": [
"gpt-4o",
"claude-3-5-sonnet-20241022"
],
"ip_whitelist": [
"192.168.1.0/24",
"203.0.113.42"
]
}Response
Proxy key created successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.