GET /v1/models on the application URL returns the OpenAI-shaped list SDKs
probe on startup. GET /v1/models/{id} is 200 for a listed id and 404
otherwise.
What is in it
This is gateway-owned discovery. It is not a passthrough of any provider’s/v1/models, and it is not the catalogue behind the console’s model pickers. It
is the set of native model ids this application can call right now, which is
narrower than either:
- For each registry the application may use — including fallback and pool members — start from the application’s model restriction if there is one, otherwise from the provider catalogue.
- Keep only native ids.
auto,@provider/…and pool references are routing instructions, not models, and are excluded. - Keep an id only if the registry’s provider supports its capability: chat always; embeddings and rerank only where the provider advertises them.
owned_by is the registry’s provider — openai, anthropic — which is what a
client needs to make sense of a mixed list.