API Reference
Owner readiness
Reports whether this owner accepts new work. Fails closed while draining, while the local authority journal is unavailable, and when the shared Kairos control schema cannot be reached.
GET
/
readyz
Owner readiness
curl --request GET \
--url https://agora.kairos.trade/readyzimport requests
url = "https://agora.kairos.trade/readyz"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agora.kairos.trade/readyz', 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://agora.kairos.trade/readyz",
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://agora.kairos.trade/readyz"
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://agora.kairos.trade/readyz")
.asString();require 'uri'
require 'net/http'
url = URI("https://agora.kairos.trade/readyz")
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": "ready"
}{
"status": "<string>"
}Response
Ready for new work
Was this page helpful?
⌘I
Owner readiness
curl --request GET \
--url https://agora.kairos.trade/readyzimport requests
url = "https://agora.kairos.trade/readyz"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://agora.kairos.trade/readyz', 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://agora.kairos.trade/readyz",
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://agora.kairos.trade/readyz"
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://agora.kairos.trade/readyz")
.asString();require 'uri'
require 'net/http'
url = URI("https://agora.kairos.trade/readyz")
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": "ready"
}{
"status": "<string>"
}
