Create a new proxy key

Authentication

AuthorizationBearer
Firebase ID token obtained from the frontend SDK

Request

This endpoint expects an object.
namestringRequired
allowed_providerslist of stringsOptional
allowed_modelslist of stringsOptional
allowed_ipslist of stringsOptional
rate_limit_rpmintegerOptional
usage_limit_dollarsdoubleOptional
usage_limit_resetenumOptional
Allowed values:
expires_atdatetimeOptional

Response

Key created (includes the full secret once)

keystring

Full secret key — shown only once

idstringformat: "uuid"
proxy_keyobject