Actions2
List Models
AI-generatedSummary
Retrieve a list of available GitHub Copilot OpenAI models filtered by the specified subset.
Inputs
- Filter — Specify which subset of models to return: all models, enabled models, chat-only models, or embedding models.
Output shape
a JSON object containing a list of models, each with details such as id, name, vendor, version, capabilities, and metadata about the list (total count, filter applied, fetch timestamp).
The output includes only models matching the selected filter. Models data is fetched live from the GitHub Copilot API, requiring valid API credentials. Possible filters: 'all', 'enabled' (default), 'chat', 'embeddings'. The response follows OpenAI-compatible format with pagination metadata.