Native OpenAI Format
List Models (OpenAI)
- Retrieve the currently available model list.
- Automatically detects the response format from request headers:
- Returns Anthropic format when the
x-api-keyandanthropic-versionheaders are present - Returns Gemini format when the
x-goog-api-keyheader orkeyquery parameter is present
GET
Documentation Index
Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
All endpoints require Bearer Token authentication.Add it to the request headers:
Query Parameters
Google API Key (for Gemini format)
Response
Example:
list