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

# Get model catalog

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

## Request

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

Fetches the provider's live model catalog by validating the configured credential and probing the provider's /models endpoint. The call waits on the upstream provider, so it is slower than the other model provider config routes and can report failure as data.

## Path parameters

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

## Response `200`

Route response.

- ModelCatalog: The provider's model catalog, obtained by validating the configured credential and probing the provider's /models endpoint. A failed probe does not affect the stored config; treat it as a warning that the base URL or API key may be invalid.
  - `status` 'ok' | 'failed', required
  - `models` DiscoveredProviderModel[]: Models advertised by the provider, newest first, filtered to text-output tool-calling models where the provider exposes enough metadata to tell. Present when status is ok.
    - `slug` string, required: Provider model slug usable as a configured model's provider_model_slug.
    - `display_name` string
    - `context_window_tokens` integer: Provider-advertised context window limit in tokens, when available.
    - `max_output_tokens` integer: Provider-advertised maximum output limit in tokens, when available.
    - `supports_reasoning` boolean: Whether Omnara can send this model a reasoning effort, when the provider or the public model catalog reports it.
    - `supported_reasoning_efforts` string[]: Reasoning effort values the model accepts, when reported.
    - `pricing` DiscoveredModelPricing: Provider-advertised list prices, present only when the provider publishes pricing in its model catalog (OpenRouter).
      - `input_usd_per_million` string, required
      - `cache_read_input_usd_per_million` string
      - `cache_write_input_usd_per_million` string
      - `output_usd_per_million` string, required
  - `error` string: Why the probe failed. Present when status is failed.

## 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-09** `482d7443803b`: 2 info
  - added the optional property `models/items/supported_reasoning_efforts` to the response with the `200` status
  - added the optional property `models/items/supports_reasoning` to the response with the `200` status
- **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-15** `31562becae05`: 1 info
  - added the optional property `models/items/pricing` to the response with the `200` status
- **2026-09-01** `e4978b047d7a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/model-provider-configs/:modelProviderConfigID/model-catalog/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)
