Get OpenAI-compatible models
GET/api/v1/ai/providers/openai/models
Fetch available models from the configured OpenAI-compatible endpoint (OpenAI API, Ollama, LM Studio, etc.). Results are cached for 1 hour.
Responses
- 200
- 400
- 401
- 502
List of available models
OpenAI-compatible API key not configured
Unauthorized
Failed to fetch from endpoint