Native OpenAI format

Get the list of currently available models.

Automatically identify the return format based on the request header:

  • Returns Anthropic format when including x-api-key header
  • Returns Gemini format when including x-goog-api-key header or query parameters
  • In other cases, the OpenAI format is returned.
GET /v1/models https://api.covanexus.com
Authorization
Header
Query

Authorization

Authorization BearerAuth

Authorization Bearer <token>

Use Bearer Token authentication. Format: Authorization: Bearer $COVA_NEXUS_API_KEY

in: header

Query Parameters

key? string
Google API Key (for Gemini format)

Header Parameters

x-api-key? string
Anthropic API Key (for Claude format)
anthropic-version? string
Anthropic API version
x-goog-api-key? string
Google API Key (for Gemini format)

Response Body

status codeType
200application/json
401application/json
curl -X GET "https://api.covanexus.com/v1/models" \
  -H "Authorization: Bearer "
200
401
{
  "object": "list",
  "data": [
    {
      "id": "gpt-4",
      "object": "model",
      "created": 0,
      "owned_by": "openai"
    }
  ]
}

BearerAuth