v4

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-13216144508.7 KB
models

Fetch Provider Models

Fetch available models from a specific provider.

Requires the provider's API key. For providers like Azure OpenAI, base_url is also required. When category helps route to the correct fetcher for provider+category combinations (e.g. xinference+rerank).

post/api/models/providers/{provider}/models

Path parameters

providerstring required

Request body

api_keystring required
base_urlstring nullable
categorystring nullable

Response

Successful Response

object required