Skip to main content
POST
Identify the key with body field proxy_key. Legacy GET /v1/auth/proxy/ still works but is discouraged.

Authorizations

Authorization
string
header
required

Enter your API key (starts with 'ek-')

Body

application/json
proxy_key
string
required

The proxy key to look up / toggle / delete (must be one you own)

Required string length: 1 - 256
Example:

"ek-proxy-1234567890abcdef"

Response

Success

name
string
required

Name of the proxy key

Maximum string length: 25
expires_at
integer
required

Expiration timestamp (-1 for no expiration)

allocated_ammount
number
required

Allocated credit amount

Required range: x >= 0
model_whitelist
string[]

List of allowed models

ip_whitelist
string[]

List of allowed IP addresses or CIDR blocks

used_ammount
number
read-only

Amount of credits used

is_active
boolean
read-only

Whether the proxy key is active

key
string
read-only

The proxy key value

created_at
integer
read-only

Creation timestamp

last_used
integer
read-only

Last usage timestamp