Resources
Health Check
Check system health — no authentication required.
GET
/
api
/
v1
/
health
Health Check
curl --request GET \
--url https://api.example.com/api/v1/healthimport requests
url = "https://api.example.com/api/v1/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/health', 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/health",
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/health"
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/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/health")
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{
"status": "<string>",
"timestamp": "<string>",
"version": "<string>",
"providers": {}
}Public endpoint that returns the current health status of Theo’s infrastructure and AI engine subsystems. No authentication required.
Health check results are cached for 30 seconds. The
X-Cache header indicates HIT or MISS.Request Example
curl https://www.hitheo.ai/api/v1/health
Response
string
Overall system status:
"healthy", "degraded", or "down".string
ISO 8601 timestamp of the health check.
string
API version identifier (e.g.,
"2026-03-28").object
AI engine subsystem health.
Show Provider health object
Show Provider health object
Each key is a Theo subsystem name (e.g.
theo-core, theo-vision, theo-search). Values contain:
string
"healthy", "degraded", "down", or "unconfigured".Example Response
{
"status": "healthy",
"timestamp": "2026-04-10T12:00:00.000Z",
"version": "2026-03-28",
"providers": {
"theo-core": { "status": "healthy" },
"theo-vision": { "status": "healthy" },
"theo-search": { "status": "healthy" }
}
}
Status Codes
| Status | Meaning |
|---|---|
| 200 | System is healthy or degraded |
| 503 | System is down — Retry-After: 30 header included |
Was this page helpful?
Health Check
curl --request GET \
--url https://api.example.com/api/v1/healthimport requests
url = "https://api.example.com/api/v1/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/health', 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/health",
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/health"
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/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/health")
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{
"status": "<string>",
"timestamp": "<string>",
"version": "<string>",
"providers": {}
}