Get the list of currently available models.The response format is automatically determined from the request headers:Returns Anthropic format when the x-api-key and anthropic-version headers are present
Returns Gemini format when the x-goog-api-key header or the key query parameter is present
Returns OpenAI format in other cases
Request Code Samples
curl --location 'https://moteapi.com/v1/models?key=undefined' \
--header 'x-api-key;' \
--header 'anthropic-version;' \
--header 'x-goog-api-key;'
Responses
Successfully retrieved model list
{
"object": "list",
"data": [
{
"id": "gpt-4",
"object": "model",
"created": 0,
"owned_by": "openai"
}
]
}
Modified at 2026-07-03 06:28:45