Update model provider config
model_providers_updateUpdates 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | Organization ID (org_...). | |
| headers | No | 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. | |
| base_url | No | 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. | |
| auth_kind | No | How the credential is sent: bearer_token, api_key_header, or sigv4 (AWS). | |
| auth_options | No | 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. | |
| endpoint_path | No | URL path under base_url. This changes where requests are sent, not which API format Omnara speaks. | |
| secret_headers | No | Extra HTTP headers whose values come from org-owned generic secrets, mapping header names to secret references. Replaces all secret headers when provided. | |
| idle_timeout_ms | No | 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. | |
| request_timeout_ms | No | Total deadline for one provider attempt, including reasoning and response streaming, in milliseconds. Retries have separate deadlines. | |
| credential_secret_id | No | Secret ID (sec_...). | |
| modelProviderConfigID | Yes | Model provider config ID (mpc_...). |