Models

Get model catalog

Changed on

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.

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

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.

ModelCatalog required

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.

error, string

Why the probe failed. Present when status is failed.

Changes

    • info

      added the optional property models/items/supported_reasoning_efforts to the response with the status

    • info

      added the optional property models/items/supports_reasoning to the response with the status

    • info

      added the optional property current_digest to the response with the status

    158 more changes in this revision