---
title: "Get model provider config"
method: GET
path: "/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}"
tags: ["Models"]
---

# Get model provider config

`GET /orgs/{orgID}/model-provider-configs/{modelProviderConfigID}`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

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.

## Path parameters

- `orgID` string, required
- `modelProviderConfigID` string, required

## Response `200`

Route response.

- ModelProviderConfig
  - `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.
    - `header_name` string: Header that carries the API key when auth_kind is api_key_header.
    - `service` string: AWS service to sign for when auth_kind is sigv4.
    - `region` string: AWS region to sign for when auth_kind is sigv4.
  - `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.

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-05** `3d9e2cf46e07`: 159 info
  - added the optional property `current_digest` to the response with the `400` status
  - added the optional property `current_digest` to the response with the `401` status
  - added the optional property `current_digest` to the response with the `403` status
  - added the optional property `current_digest` to the response with the `404` status
  - …155 more
  - …this revision’s changelog is incomplete
- **2026-09-28** `acddeb8fc6a5`: 7 warning, 7 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `404`
  - …10 more
- **2026-09-24** `810d15e0dd80`: 2 info
  - added the required property `headers` to the response with the `200` status
  - added the required property `secret_headers` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/model-provider-configs/:modelProviderConfigID/get.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
