Skip to main content
PUT
Update model provider config

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required
Pattern: ^org_[a-z2-7]{26}$
modelProviderConfigID
string
required
Pattern: ^mpc_[a-z2-7]{26}$

Body

application/json

Update a provider config. Omitted fields keep their current values.

base_url
string

Provider endpoint base URL. Normal API mode requires a public HTTPS endpoint; localhost and loopback endpoints are accepted only when the API is running in insecure dev mode.

Minimum string length: 1
endpoint_path
string

URL path under base_url. This changes where requests are sent, not which API format Omnara speaks.

Minimum string length: 1
Pattern: ^/
request_timeout_ms
integer

Total deadline for one provider attempt, including reasoning and response streaming, in milliseconds. Retries have separate deadlines.

Required range: 1 <= x <= 2147483647
idle_timeout_ms
integer

Maximum wait for response headers or the next response bytes, in milliseconds. Heartbeats count as activity. Local response processing does not consume this idle budget.

Required range: 1 <= x <= 2147483647
auth_kind
enum<string>
Available options:
bearer_token,
api_key_header,
sigv4
auth_options
object

Non-secret authentication settings. Use an empty object with bearer_token. With api_key_header, set {"header_name":"..."}. With sigv4, set the AWS signing service and region.

credential_secret_id
string
Pattern: ^sec_[a-z2-7]{26}$
headers
object

Extra HTTP headers sent with every request to this provider. Values are stored and returned as plain text; use secret_headers for keys and tokens. Replaces all headers when provided.

secret_headers
object

Extra HTTP headers whose values come from org-owned generic secrets, mapping header names to secret references. Replaces all secret headers when provided.

Response

Route response.

id
string
required
Pattern: ^mpc_[a-z2-7]{26}$
org_id
string
required
Pattern: ^org_[a-z2-7]{26}$
management_kind
enum<string>
required

Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.

Available options:
tenant,
cluster
name
string
required

Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.

Required string length: 1 - 64
api_format
enum<string>
required
Available options:
openai-responses,
openai-chat-completions,
anthropic-messages
api_variant
string
required
base_url
string
required

Provider endpoint base URL. Normal API mode uses public HTTPS endpoints; localhost and loopback endpoints are only for insecure dev-mode configs.

endpoint_path
string
required
request_timeout_ms
integer
required
idle_timeout_ms
integer
required
auth_kind
string
required
auth_options
object
required

Non-secret authentication settings for this provider config.

credential_secret_id
string
required
Pattern: ^sec_[a-z2-7]{26}$
headers
object
required

Extra HTTP headers sent with every request to this provider.

secret_headers
object
required

Extra HTTP headers whose values come from the referenced secrets.

created_at
string<date-time>
required
updated_at
string<date-time>
required