models

List Discoverable Models

Changed on

List every model the configured provider credentials can reach.

Operator-facing counterpart to GET /api/v1/models, which serves a curated catalog to API callers. This reports each provider separately and keeps its error, so a provider with a bad key is distinguishable from one with no models. It is operator-gated because a provider error message describes the gateway's own configuration.

Answers from the discovery cache, which a background refresher keeps warm, so the call does not wait on a slow or unreachable provider. Each provider carries the checked_at its result was produced at; a null one has not been dialed yet. Pass refresh=true to force a live re-dial of every provider.

get/api/v1/models/discoverable

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Query parameters

refreshboolean

Re-dial every provider instead of answering from the discovery cache.

Response

Successful Response

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id list_discoverable_models_api_v1_models_discoverable_get removed and replaced with models-list_discoverable_models