v65

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0794109383.7 KB
models

List Discoverable Models

List every model the configured provider credentials can reach.

Operator-facing counterpart to GET /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 master-key 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/v1/models/discoverable

Query parameters

refreshboolean

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

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

Response

Successful Response