Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Provider credential definition

api_keys
string[]
api_mode
string
api_version
string
auth_type
string
backend
string
base_url
string
billable
boolean

Billable false marks a provider whose cost the caller does not owe the operator, such as a customer's own key. Omitted keeps the stored value (true for a new provider).

enabled
boolean
gcp_scope
string
models
string[]
models_mode
string

ModelsMode overrides the global configured provider models mode for this provider: fallback, allowlist, or merge. Empty uses the global mode.

name
string
proxy_url

ProxyURL is the outbound proxy of the provider, or an array that gives API keys their own: entry i is the proxy of api_keys entry i, and an empty or missing entry leaves that key without one. A proxy may be sent back with the password masked, as the view rendered it, to keep the stored password, also when the rest of the URL is edited; in an array it is kept from the proxy stored for the same key.

service_account_file
string
service_account_json
string
service_account_json_base64
string
session_sticky_keys
boolean
type
string
vertex_location
string
vertex_project
string

Response

OK

api_keys
string[]
api_mode
string
api_version
string
auth_type
string
backend
string
base_url
string
billable
boolean
created_at
string
enabled
boolean
gcp_scope
string
managed
boolean
models
string[]
models_mode
string
name
string
proxy_url

ProxyURL is the provider's outbound proxy, or an array with the proxy of each API key, entry i for api_keys entry i. Passwords are masked.

service_account_file
string
service_account_json
string
service_account_json_base64
string
session_sticky_keys
boolean
type
string
updated_at
string
vertex_location
string
vertex_project
string