Health Check
curl --request GET \
--url https://api.mor.org/healthimport requests
url = "https://api.mor.org/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.mor.org/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.mor.org/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.mor.org/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.mor.org/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mor.org/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>",
"uptime": 123,
"container_id": "<string>",
"version": "<string>"
}Utility
Health Check
Health check endpoint with container diagnostics
GET
/
health
Health Check
curl --request GET \
--url https://api.mor.org/healthimport requests
url = "https://api.mor.org/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.mor.org/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.mor.org/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.mor.org/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.mor.org/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mor.org/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>",
"uptime": 123,
"container_id": "<string>",
"version": "<string>"
}Health check endpoint with container diagnostics for deployment monitoring.
Returns system health, uptime, and unique container identifier for support and log analysis. No sensitive AWS or hostname information is exposed.
Response
string
System status:
healthy or unhealthystring
Current timestamp (ISO 8601)
number
System uptime in seconds
string
Unique container identifier for log correlation
string
API version
Monitoring: This endpoint is designed for load balancers, monitoring systems, and health check tools. It provides essential diagnostic information without exposing sensitive data.
Container ID: The
container_id field is useful for correlating health check results with specific container instances in multi-instance deployments. Include this in support requests for faster issue resolution.This endpoint does not require authentication and should be used by monitoring systems to check API availability. A 200 status code with
"status": "healthy" indicates the system is operational.
