Skip to main content
GET
/
api
/
models
List all available models and providers
curl --request GET \
  --url http://localhost:5173/api/models \
  --cookie apiKeys=
{
  "providers": [
    {
      "name": "<string>",
      "staticModels": [
        {
          "name": "<string>",
          "label": "<string>",
          "provider": "<string>",
          "maxTokenAllowed": 123,
          "maxCompletionTokens": 123,
          "icon": "<string>"
        }
      ],
      "getApiKeyLink": "<string>",
      "labelForGetApiKey": "<string>",
      "icon": "<string>"
    }
  ],
  "models": [
    {
      "name": "<string>",
      "label": "<string>",
      "provider": "<string>",
      "maxTokenAllowed": 123,
      "maxCompletionTokens": 123,
      "icon": "<string>"
    }
  ]
}

Authorizations

apiKeys
string
cookie
required

Cookie-based authentication storing API keys and provider settings

Response

200 - application/json

List of models and providers

providers
object[]
models
object[]