Models

Get model provider config

Changed on

Returns one model provider config's stored settings; secret values are never returned. The provider isn't contacted, so the response doesn't list its models.

get/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

modelProviderConfigID, string required

Model provider config ID (mpc_...).

Response

Route response.

ModelProviderConfig required
id, string required

Identifies this provider config.

org_id, string required

Organization that owns this provider config.

management_kind, 'tenant' | 'cluster' required

Whether the organization manages this provider or the Omnara installation provisions and manages it.

name, string required

Name agent configs use to reference this provider as model.provider_config.

api_format, 'openai-responses' | 'openai-chat-completions' | 'anthropic-messages' required

Wire protocol Omnara speaks to this provider.

api_variant, string required

Provider-specific flavor of the API format.

base_url, string required

Provider endpoint base URL.

endpoint_path, string required

Path under base_url that model requests are sent to.

request_timeout_ms, integer required

Total deadline for one provider attempt, including reasoning and response streaming.

idle_timeout_ms, integer required

Longest wait for response headers or more response data; heartbeats count as activity.

auth_kind, string required

How Omnara sends the credential to the provider.

auth_options, object required

Non-secret authentication settings for this provider config.

credential_secret_id, string required

Secret holding the credential Omnara sends to the provider.

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

When the provider config was created.

updated_at, string date-time required

When the provider config was last changed.

Changes

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    • info

      added the optional property current_digest to the response with the status

    156 more changes in this revision