Skip to main content
GET
/
api
/
v2
/
health
Health
curl --request GET \
  --url https://aquilax.ai/api/v2/health
import requests

url = "https://aquilax.ai/api/v2/health"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://aquilax.ai/api/v2/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://aquilax.ai/api/v2/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://aquilax.ai/api/v2/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://aquilax.ai/api/v2/health")
.asString();
require 'uri'
require 'net/http'

url = URI("https://aquilax.ai/api/v2/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
{
  "ID": "95148e14be674e067be644de814de36c",
  "hostname": "localhost",
  "status": "ok",
  "timestamp": 1741492261,
  "version": 2
}

Response

200 - application/json

Service is healthy

Schema for health check response.

ID
string

random generated request id

Example:

"95148e14be674e067be644de814de36c"

hostname
string

Hostname of the server

Example:

"localhost"

status
string

ok only if the API Services is healthy

Example:

"ok"

timestamp
integer

unix timestamp of the request

Example:

1741492261

version
integer

API Version

Example:

2