Models
List available models. Returns only models that have enabled provider configurations for your platform.
ℹBase URL
Use https://api.assistiv.ai/v1 — the same base URL as all other API endpoints.
GET
/v1/modelsReturns a list of available models, filtered by your platform's enabled provider configurations.
Auth: End-user key or platform key.
The response follows the OpenAI models list format:
id— Model slug used in chat completion requestsowned_by— Provider slug (from the lowest-priority provider config)
Only models with at least one enabled provider configuration and an active API key for your platform are returned. Add provider keys via the LLM Configurations endpoint to enable more models.
bash
curl https://api.assistiv.ai/v1/models \
-H "Authorization: Bearer sk-eu_your_key"json
{
"object": "list",
"data": [
{
"id": "gpt-4o",
"object": "model",
"created": 1711234567,
"owned_by": "openai"},
{
"id": "gpt-4o-mini",
"object": "model",
"created": 1711234567,
"owned_by": "openai"},
{
"id": "claude-3-5-sonnet",
"object": "model",
"created": 1711234567,
"owned_by": "anthropic"},
{
"id": "gemini-pro",
"object": "model",
"created": 1711234567,
"owned_by": "google"}
]
}Using with OpenAI SDK
python
from openai import OpenAI
client = OpenAI(
api_key="sk-eu_your_key",
base_url="https://api.assistiv.ai/v1",
)
models = client.models.list()
for model in models.data:
print(f"{model.id} ({model.owned_by})")typescript
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-eu_your_key",
baseURL: "https://api.assistiv.ai/v1",
});
const models = await client.models.list();
for (const model of models.data) {
console.log(`${model.id} (${model.owned_by})`);
}