Skip to main content
Fetch Models
curl --request GET \
  --url https://{api_endpoint}/api/v1/models \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tenant_id": "<string>",
    "tenant_name": "<string>",
    "title": "<string>",
    "description": "<string>",
    "created_on": "2023-11-07T05:31:56Z",
    "created_by": "<string>",
    "created_by_username": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "tags": [
      "<string>"
    ],
    "name": "<string>",
    "display_name": "<string>",
    "model_type": "chat",
    "model_name": "<string>",
    "api_base": "<string>",
    "api_version": "<string>",
    "deployment_id": "<string>",
    "provider": "openai",
    "config": {},
    "provider_config": {},
    "connection_id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string[] | null
display_name
string[] | null
id
string[] | null

Response

Successful Response

model_name
string
required
id
string<uuid> | null
tenant_id
string | null
tenant_name
string | null
title
string | null
description
string | null
created_on
string<date-time> | null
created_by
string | null
created_by_username
string | null
updated_at
string<date-time> | null
tags
string[] | null
name
string | null
display_name
string | null
model_type
enum<string>
Available options:
chat,
chat_vision,
completion,
embedding
api_base
string | null
api_version
string | null
deployment_id
string | null
provider
enum<string> | null
Available options:
openai,
anthropic,
azure-openai,
azure-ai,
anyscale,
cohere,
cerebras,
palm,
google,
together-ai,
mistral-ai,
perplexity-ai,
stability-ai,
nomic,
ollama,
bedrock,
ai21,
groq,
segmind,
vertex-ai,
deepinfra,
novita-ai,
fireworks-ai,
deepseek,
voyage,
vllm,
jina,
reka-ai,
moonshot,
openrouter,
lingyi,
zhipu,
monsterapi,
predibase,
huggingface,
github,
deepbricks,
siliconflow,
workers-ai,
ibm_bam,
watsonx,
mistralai,
specialized_routing_model,
product_rag,
x-ai
config
object | null
provider_config
object | null
connection_id
string | null