Fetch API, database, vault-read, strategy wiring, snapshot, and event-indexer health.
curl --request GET \
--url https://portal.signalite.ai/api/v1/healthimport requests
url = "https://portal.signalite.ai/api/v1/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://portal.signalite.ai/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://portal.signalite.ai/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://portal.signalite.ai/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://portal.signalite.ai/api/v1/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://portal.signalite.ai/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{
"success": true,
"data": {
"api": "ok",
"ready": {
"display": true,
"history": true,
"activity": true,
"operations": true,
"deposits": true,
"reasonCodes": [
"VAULT_READ_UNAVAILABLE"
]
},
"database": {
"configured": true
},
"vault": {
"ok": true,
"data": {},
"error": "<string>"
},
"snapshots": {
"available": true,
"lastSnapshotAt": "2023-11-07T05:31:56Z",
"ageSec": 123,
"stale": true,
"staleSec": 123,
"reason": "<string>"
},
"indexer": {
"available": true,
"source": "<string>",
"chainId": 123,
"vault": "<string>",
"startBlock": "<string>",
"cursorBlock": "<string>",
"latestBlock": "<string>",
"confirmedBlock": "<string>",
"lagBlocks": "<string>",
"stale": true,
"indexedAt": "2023-11-07T05:31:56Z",
"lastEventAt": "2023-11-07T05:31:56Z",
"lastEventBlock": "<string>",
"rpcHealthy": true,
"rpcError": "<string>"
},
"keeper": {
"ok": true,
"heartbeat": {
"available": true,
"service": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"ageSec": 123,
"stale": true,
"staleSec": 123,
"payload": {},
"reason": "<string>"
},
"addresses": {
"vaultStrategy": "<string>",
"vaultNavSource": "<string>",
"strategyVault": "<string>",
"strategyUsdc": "<string>",
"strategyHlpVault": "<string>",
"navStrategyAccount": "<string>",
"navHlpVault": "<string>"
},
"checks": {},
"strategy": {
"withdrawable": true,
"lockedUntil": "<string>"
},
"nav": {
"lastGoodAt": "<string>"
},
"error": "<string>"
}
},
"meta": {
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}Operations
Fetch API, database, vault-read, strategy wiring, snapshot, and event-indexer health.
GET
/
api
/
v1
/
health
Fetch API, database, vault-read, strategy wiring, snapshot, and event-indexer health.
curl --request GET \
--url https://portal.signalite.ai/api/v1/healthimport requests
url = "https://portal.signalite.ai/api/v1/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://portal.signalite.ai/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://portal.signalite.ai/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://portal.signalite.ai/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://portal.signalite.ai/api/v1/health")
.asString();require 'uri'
require 'net/http'
url = URI("https://portal.signalite.ai/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{
"success": true,
"data": {
"api": "ok",
"ready": {
"display": true,
"history": true,
"activity": true,
"operations": true,
"deposits": true,
"reasonCodes": [
"VAULT_READ_UNAVAILABLE"
]
},
"database": {
"configured": true
},
"vault": {
"ok": true,
"data": {},
"error": "<string>"
},
"snapshots": {
"available": true,
"lastSnapshotAt": "2023-11-07T05:31:56Z",
"ageSec": 123,
"stale": true,
"staleSec": 123,
"reason": "<string>"
},
"indexer": {
"available": true,
"source": "<string>",
"chainId": 123,
"vault": "<string>",
"startBlock": "<string>",
"cursorBlock": "<string>",
"latestBlock": "<string>",
"confirmedBlock": "<string>",
"lagBlocks": "<string>",
"stale": true,
"indexedAt": "2023-11-07T05:31:56Z",
"lastEventAt": "2023-11-07T05:31:56Z",
"lastEventBlock": "<string>",
"rpcHealthy": true,
"rpcError": "<string>"
},
"keeper": {
"ok": true,
"heartbeat": {
"available": true,
"service": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"ageSec": 123,
"stale": true,
"staleSec": 123,
"payload": {},
"reason": "<string>"
},
"addresses": {
"vaultStrategy": "<string>",
"vaultNavSource": "<string>",
"strategyVault": "<string>",
"strategyUsdc": "<string>",
"strategyHlpVault": "<string>",
"navStrategyAccount": "<string>",
"navHlpVault": "<string>"
},
"checks": {},
"strategy": {
"withdrawable": true,
"lockedUntil": "<string>"
},
"nav": {
"lastGoodAt": "<string>"
},
"error": "<string>"
}
},
"meta": {
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "ACTION_BUILD_FAILED",
"message": "<string>"
}
}