List available models
List all available models
Request
GET /models
Successful response
Response Schema
| Field | Type | Required | Description |
|---|
| object | string | Yes | - |
| data | Array<Model> | Yes | - |
Response Example
{
"object": "list",
"data": [
{
"id": "gpt-5.6-luna",
"object": "model",
"created": 1626777600,
"owned_by": "openai"
},
{
"id": "qwen-plus",
"object": "model",
"created": 1626777600,
"owned_by": "ali"
},
{
"id": "claude-opus-4.5",
"object": "model",
"created": 1626777600,
"owned_by": "custom"
},
{
"id": "whisper-1",
"object": "model",
"created": 1626777600,
"owned_by": "openai"
},
{
"id": "speech-2.6-hd",
"object": "model",
"created": 1626777600,
"owned_by": "minimax"
}
]
}
Code Examples
JavaScript (Fetch)
const response = await fetch('https://api.uuroute.ai/v1/models', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
Python (requests)
import requests
url = "https://api.uuroute.ai/v1/models"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
cURL
curl -X GET "https://api.uuroute.ai/v1/models" \
-H "Authorization: Bearer YOUR_API_KEY"
Retrieve model details
Retrieve detailed information for a specified model
Request
GET /models/{model}
Path Parameters
| Parameter | Type | Required | Description |
|---|
| model | string | Yes | Model name |
Successful response
Response Schema
| Field | Type | Required | Description |
|---|
| id | string | Yes | Model identifier |
| object | string | Yes | - |
| created | integer | Yes | Creation timestamp |
| owned_by | string | Yes | Model owner |
Response Example
{
"id": "gpt-5.6-luna",
"object": "model",
"created": 1626777600,
"owned_by": "openai"
}
Code Examples
JavaScript (Fetch)
const response = await fetch('https://api.uuroute.ai/v1/models/{model}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
Python (requests)
import requests
url = "https://api.uuroute.ai/v1/models/{model}"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
cURL
curl -X GET "https://api.uuroute.ai/v1/models/{model}" \
-H "Authorization: Bearer YOUR_API_KEY"
Schema Reference
ModelListResponse
| Field | Type | Required | Description |
|---|
| object | string | Yes | - |
| data | Array<Model> | Yes | - |
Model
| Field | Type | Required | Description |
|---|
| id | string | Yes | Model identifier |
| object | string | Yes | - |
| created | integer | Yes | Creation timestamp |
| owned_by | string | Yes | Model owner |
Related APIs