Return topology cache health and metadata
curl --request GET \
--url https://api.example.com/api/internal/graph-diffusion/statusimport requests
url = "https://api.example.com/api/internal/graph-diffusion/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/internal/graph-diffusion/status', 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.example.com/api/internal/graph-diffusion/status",
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.example.com/api/internal/graph-diffusion/status"
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.example.com/api/internal/graph-diffusion/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/internal/graph-diffusion/status")
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{
"healthy": true,
"topology_stale": true,
"symbols_in_topology": 1,
"blas_backend": "<string>",
"memory_mb": 1,
"topology_built_at": "<string>",
"topology_age_seconds": 1,
"last_compute_at": "<string>",
"last_compute_latency_ms": 1
}Internal
Return topology cache health and metadata
Return the current health and metadata of the in-memory topology cache.
GET
/
api
/
internal
/
graph-diffusion
/
status
Return topology cache health and metadata
curl --request GET \
--url https://api.example.com/api/internal/graph-diffusion/statusimport requests
url = "https://api.example.com/api/internal/graph-diffusion/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/internal/graph-diffusion/status', 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.example.com/api/internal/graph-diffusion/status",
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.example.com/api/internal/graph-diffusion/status"
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.example.com/api/internal/graph-diffusion/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/internal/graph-diffusion/status")
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{
"healthy": true,
"topology_stale": true,
"symbols_in_topology": 1,
"blas_backend": "<string>",
"memory_mb": 1,
"topology_built_at": "<string>",
"topology_age_seconds": 1,
"last_compute_at": "<string>",
"last_compute_latency_ms": 1
}Response
200 - application/json
Successful Response
Current health and metadata of the in-memory topology.
True if the topology is loaded and not stale.
True if the topology exceeds the configured staleness threshold.
Number of symbols currently loaded in the topology.
Required range:
x >= 0NumPy/SciPy BLAS backend in use (e.g. OpenBLAS, MKL).
Estimated memory consumed by the topology in megabytes.
Required range:
x >= 0ISO-8601 UTC timestamp of the last successful topology build.
Seconds elapsed since the topology was built.
Required range:
x >= 0ISO-8601 UTC timestamp of the most recent compute run.
Wall-clock latency of the most recent compute run in milliseconds.
Required range:
x >= 0