List Models

GET/v1/models

Returns all active models. No authentication required. Models are dynamically seeded from the backend on server startup.

curl https://api.aivorylabs.in/v1/models

Response

[
  {
    "id": "uuid...",
    "provider": "groq",
    "model_id": "llama-3.3-70b-versatile",
    "label": "Llama 3.3 70B",
    "supports_streaming": true,
    "supports_tools": true,
    "supports_image": false,
    "supports_audio": false,
    "max_tokens": 32768,
    "is_active": true
  }
]

Providers

GET/v1/providers

Returns provider metadata including display name and brand color. The frontend fetches this dynamically to color-code model selections and response indicators.

curl https://api.aivorylabs.in/v1/providers

Response

[
  {
    "name": "groq",
    "label": "Groq",
    "color": "#a855f7"
  },
  {
    "name": "openai",
    "label": "OpenAI",
    "color": "#10b981"
  }
]

Model Format

Model IDs follow the pattern provider/model-name. The provider prefix routes requests to the correct backend. Supported providers include Groq, Gemini, OpenRouter, OpenAI, Claude, and HuggingFace.

Models are automatically seeded into the database on server startup. The seed process is additive — existing models are updated with the latest labels and features, and removed models are deactivated. No manual database changes needed.