Update a provider
Patches a provider. To detach a provider from a shared credential and
switch it back to an inline API key, send connection_id: null and
the new api_key (or credentials) in the same request.
Authorizations
JWT obtained through Barndoor's authentication flow. Pass the token
verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's
loginInteractive() helper to obtain a token in scripts and notebooks.
Path Parameters
Provider UUID
Body
All fields optional. connection_id supports an explicit null value
to detach the provider from a shared credential and switch it back to
a direct API key (which must be provided in the same request via
api_key or credentials).
The authentication scheme this credential or provider uses to talk to
the upstream model provider. Valid values depend on model_provider:
for OpenAI/Anthropic-style vendors this is typically api_key; for AWS
Bedrock it is one of aws_role, aws_keys, or bedrock_api_key; for
Google Vertex it is google_adc, google_service_account, or
google_impersonation; Anthropic OAuth passthrough uses oauth_passthrough.
"api_key"
1 <= x <= 36001 <= x <= 1800Response
The updated provider
A named upstream provider backed by a credential and a model family.
"OpenAI Production (US)"
Slug of the upstream model provider this resource speaks to
openai, anthropic, azure_openai, google_ai, bedrock, vertex, groq, together, mistral, cohere, xai, fireworks, perplexity, openrouter, deepseek, custom "openai"
The authentication scheme this credential or provider uses to talk to
the upstream model provider. Valid values depend on model_provider:
for OpenAI/Anthropic-style vendors this is typically api_key; for AWS
Bedrock it is one of aws_role, aws_keys, or bedrock_api_key; for
Google Vertex it is google_adc, google_service_account, or
google_impersonation; Anthropic OAuth passthrough uses oauth_passthrough.
"api_key"
Reference to a built-in provider catalog template, if used
Reference to a shared Credentials record, if any
Provider-tier total-request timeout override. When null (the
default) the gateway inherits the platform default. Affects every
route served by this provider unless a more specific Model Route
value overrides it.
1 <= x <= 3600Maximum allowed idle gap between streamed response chunks. null
inherits the platform default.
1 <= x <= 1800Catalog slug shorthand used in some response listings
