Resources
List Models
List all available Theo engine models and their capabilities.
GET
/
api
/
v1
/
models
List Models
curl --request GET \
--url https://api.example.com/api/v1/modelsimport requests
url = "https://api.example.com/api/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"models": [
{
"mode": "<string>",
"model_id": "<string>",
"label": "<string>",
"engine": "<string>",
"description": "<string>"
}
]
}Returns the full registry of available Theo engines. Each model maps to a specific execution mode.
Authentication
Requires a Bearer token. See Authentication.Request Examples
curl https://www.hitheo.ai/api/v1/models \
-H "Authorization: Bearer $THEO_API_KEY"
const models = await theo.models();
for (const m of models) {
console.log(`${m.label} (${m.model_id}) — ${m.description}`);
}
Response
Array of available models.
Show Model object
Show Model object
Example Response
{
"models": [
{
"mode": "fast",
"model_id": "theo-1-flash",
"label": "Theo Flash",
"engine": "theo-core",
"description": "Fast, lightweight completions for simple tasks"
},
{
"mode": "think",
"model_id": "theo-1-reason",
"label": "Theo Reason",
"engine": "theo-core",
"description": "Deep reasoning and multi-step analysis"
},
{
"mode": "code",
"model_id": "theo-1-code",
"label": "Theo Code",
"engine": "theo-core",
"description": "Production-quality code generation optimized for long-form output"
},
{
"mode": "image",
"model_id": "theo-1-create",
"label": "Theo Create",
"engine": "theo-vision",
"description": "Photorealistic image generation"
},
{
"mode": "research",
"model_id": "theo-1-research",
"label": "Theo Research",
"engine": "theo-search",
"description": "Multi-step web research with source synthesis"
}
]
}
Use this endpoint to verify your API key is working — a successful response confirms authentication.
Was this page helpful?
⌘I
List Models
curl --request GET \
--url https://api.example.com/api/v1/modelsimport requests
url = "https://api.example.com/api/v1/models"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/models",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/models"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/models")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/models")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"models": [
{
"mode": "<string>",
"model_id": "<string>",
"label": "<string>",
"engine": "<string>",
"description": "<string>"
}
]
}