Skip to content
Start here

Provider Configs

List provider keys
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs
Store a provider key
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs
ModelsExpand Collapse
ProviderConfigListResponse object { id, alias, default_config, 8 more }
id: string
alias: string
default_config: boolean
gateway_id: string

Unique identifier of the AI Gateway within the account.

maxLength64
minLength1
modified_at: string
formatdate-time
provider_slug: string
secret_id: string
secret_preview: string
last_used_at: optional string

UTC date (YYYY-MM-DD) the gateway last selected this key to authenticate a request to the provider, whether or not the request succeeded. Updated at most once a day. Null if the gateway has not used the key since this field was introduced.

formatdate
rate_limit: optional number
rate_limit_period: optional number
ProviderConfigCreateResponse object { id, alias, default_config, 8 more }
id: string
alias: string
default_config: boolean
gateway_id: string

Unique identifier of the AI Gateway within the account.

maxLength64
minLength1
modified_at: string
formatdate-time
provider_slug: string
secret_id: string
secret_preview: string
last_used_at: optional string

UTC date (YYYY-MM-DD) the gateway last selected this key to authenticate a request to the provider, whether or not the request succeeded. Updated at most once a day. Null if the gateway has not used the key since this field was introduced.

formatdate
rate_limit: optional number
rate_limit_period: optional number