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
Authorizations
string
required
All endpoints require Bearer Token authentication.Add it to the request headers:
Query Parameters
string
Google API Key (for Gemini format)
Response
string
Example:
list