POST
Fetch available models from a provider

Authorizations

Origin
string
header
required

Same-origin CSRF check. The Origin header must match the request host; enforced for every mutating verb (POST, PUT, PATCH, DELETE).

Body

application/json
provider
enum<string>
required
Available options:
openai,
anthropic,
custom
baseUrl
string<uri>
apiKey
string

Response

200 - application/json

Available models.

models
string[]