v1

latestOpenAPI 3.0.1MIT2026-07-26236440.2 KB

Lookup Proxy Key

Retrieve metadata for a single proxy key you own. Replaces the legacy GET /auth/proxy/{proxy_key}; uses a static URL so the path can be exact-matched at the edge.

post/auth/proxy/lookup

Request body

proxy_keystring required

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

Example request

{
  "proxy_key": "ek-proxy-1234567890abcdef"
}

Response

Success

namestring required

Name of the proxy key

expires_atinteger required

Expiration timestamp (-1 for no expiration)

allocated_ammountnumber required

Allocated credit amount

model_whiteliststring[]

List of allowed models

ip_whiteliststring[]

List of allowed IP addresses or CIDR blocks

used_ammountnumber

Amount of credits used

is_activeboolean

Whether the proxy key is active

keystring

The proxy key value

created_atinteger

Creation timestamp

last_usedinteger

Last usage timestamp