Skip to main content
GET
Get model provider config

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required

Organization ID (org_...).

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

Model provider config ID (mpc_...).

Pattern: ^mpc_[a-z2-7]{26}$

Response

Route response.

id
string
required

Identifies this provider config.

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

Organization that owns this provider config.

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

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

Available options:
tenant,
cluster
name
string
required

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

Required string length: 1 - 64
api_format
enum<string>
required

Wire protocol Omnara speaks to this provider.

Available options:
openai-responses,
openai-chat-completions,
anthropic-messages
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.

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

When the provider config was created.

updated_at
string<date-time>
required

When the provider config was last changed.