Update model provider config
Changed onUpdates a model provider config's connection settings, such as its credential and headers, and returns the updated config; omitted fields keep their values. The credential secret is checked to exist and match auth_kind, but the provider isn't contacted, so a credential the provider rejects isn't caught here.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Model provider config ID (mpc_...).
Request body
Update a provider config. Omitted fields keep their current values.
Provider endpoint base URL.
URL path under base_url. This changes where requests are sent, not which API format Omnara speaks.
Total deadline for one provider attempt, including reasoning and response streaming, in milliseconds. Retries have separate deadlines.
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.
How the credential is sent: as a bearer token, in the header named by auth_options.header_name, or signed with AWS SigV4.
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.
Secret ID (sec_...).
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.
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.
Identifies this provider config.
Organization that owns this provider config.
Whether the organization manages this provider or the Omnara installation provisions and manages it.
Name agent configs use to reference this provider as model.provider_config.
Wire protocol Omnara speaks to this provider.
Provider-specific flavor of the API format.
Provider endpoint base URL.
Path under base_url that model requests are sent to.
Total deadline for one provider attempt, including reasoning and response streaming.
Longest wait for response headers or more response data; heartbeats count as activity.
How Omnara sends the credential to the provider.
Non-secret authentication settings for this provider config.
Secret holding the credential Omnara sends to the provider.
Extra HTTP headers sent with every request to this provider.
Extra HTTP headers whose values come from the referenced secrets.
When the provider config was created.
When the provider config was last changed.
Changes
- info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status
156 more changes in this revision
- info