Service health
curl --request GET \
--url https://scienter-intelligence-production.up.railway.app/healthimport requests
url = "https://scienter-intelligence-production.up.railway.app/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://scienter-intelligence-production.up.railway.app/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://scienter-intelligence-production.up.railway.app/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://scienter-intelligence-production.up.railway.app/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://scienter-intelligence-production.up.railway.app/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://scienter-intelligence-production.up.railway.app/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": "ok",
"service": "scienter-intelligence",
"auth": "bearer",
"model": {
"published": true,
"version": "<string>",
"reason": "<string>"
},
"routes": {},
"streaming": {
"paths": {},
"heartbeat_s": 123,
"bus": {},
"connections": {},
"source": {}
}
}Service
Service health
Open, unauthenticated, and about US rather than about our dependencies. Also the authoritative route table for this service.
GET
/
health
Service health
curl --request GET \
--url https://scienter-intelligence-production.up.railway.app/healthimport requests
url = "https://scienter-intelligence-production.up.railway.app/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://scienter-intelligence-production.up.railway.app/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://scienter-intelligence-production.up.railway.app/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://scienter-intelligence-production.up.railway.app/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://scienter-intelligence-production.up.railway.app/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://scienter-intelligence-production.up.railway.app/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": "ok",
"service": "scienter-intelligence",
"auth": "bearer",
"model": {
"published": true,
"version": "<string>",
"reason": "<string>"
},
"routes": {},
"streaming": {
"paths": {},
"heartbeat_s": 123,
"bus": {},
"connections": {},
"source": {}
}
}Response
200 - application/json
The service is running.
Example:
"ok"
Example:
"scienter-intelligence"
anonymous means SCIENTER_API_TOKEN is unset and the service was started with --allow-anonymous.
Available options:
bearer, anonymous Show child attributes
Show child attributes
Show child attributes
Show child attributes
Present on builds with the streaming package. Bus stats, connection counts by tier, and poller state. Never carries a credential.
Show child attributes
Show child attributes