/models endpoint that returns all models your API key has access to. This is useful for building dynamic model selectors, validating model IDs before making requests, and integrating with tools that auto-discover available models.
List All Models
Send aGET request to the /models endpoint:
Response Format
The endpoint returns an OpenAI-compatible response:The response only includes models that your API key (PAT or VAT) has been granted access to. If a model is missing, check that the relevant provider account has been shared with your user or virtual account. See Access Control for details.
Use Cases
- Dynamic model selectors: Build UIs that automatically populate model dropdowns from the API instead of hardcoding model IDs.
- Validation: Verify that a model ID exists and is accessible before sending a request.
- Tool integrations: Applications like n8n use the
/modelsendpoint to auto-discover available models. - Inventory auditing: Programmatically audit which models are available across your organization.