curl
curl --location --request GET 'http://oc1-lts0:9090/v1/config' \
--header 'Accept: application/json'import requests
url = "http://oc1-lts0:9090/v1/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://oc1-lts0:9090/v1/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "9090",
CURLOPT_URL => "http://oc1-lts0:9090/v1/config",
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 := "http://oc1-lts0:9090/v1/config"
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("http://oc1-lts0:9090/v1/config")
.asString();require 'uri'
require 'net/http'
url = URI("http://oc1-lts0:9090/v1/config")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"siloType": "xg::runtime::physicalSiloSet_t",
"tlbfsInfo.enabled": "false",
"tlbfsInfo.mountPoint": "/mnt/name/hugepages1G",
"tlbfsInfo.hugePageSize": "1073741824",
"tlbfsInfo.hugePageCount": "512",
"memory.warningHpMemoryUsageRatio": "0.80000000000000004",
"memory.preferredHpMemoryUsageRatio": "0.94999999999999996",
"memory.warningHeapMemoryUsageRatio": "0.90000000000000002",
"silos.numSilos": "2",
"silos.coreSets.computeCoreMask": "0b111111111111000",
"silos.coreSets.ioCoreMask": "0b1000000111100000",
"silos.coreSets.networkCoreMask": "0b10000000000111100",
"silos.coreSets.generalCoreMask": "0b100000000000000111",
"gdsClientParameters_t.batchTimer": "150000000n",
"gdsClientParameters_t.maxBatchCount": "4096",
"ports.adminsecure": "18500",
"ports.data": "16500",
"ports.hsi": "16900",
"ports.ingress": "15300",
"ports.rest": "8000",
"ports.sql": "3070",
"ports.adminopen": "18000"
"operatorvm.vmProtocolParameters.vmClusterRaftFileParameters.fileName": "sql0-vmCluster.raft"
}System Information REST Endpoints
Get Configuration Parameters
Retrieve values of configuration parameters.
GET
/
v1
/
config
curl
curl --location --request GET 'http://oc1-lts0:9090/v1/config' \
--header 'Accept: application/json'import requests
url = "http://oc1-lts0:9090/v1/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://oc1-lts0:9090/v1/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "9090",
CURLOPT_URL => "http://oc1-lts0:9090/v1/config",
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 := "http://oc1-lts0:9090/v1/config"
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("http://oc1-lts0:9090/v1/config")
.asString();require 'uri'
require 'net/http'
url = URI("http://oc1-lts0:9090/v1/config")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"siloType": "xg::runtime::physicalSiloSet_t",
"tlbfsInfo.enabled": "false",
"tlbfsInfo.mountPoint": "/mnt/name/hugepages1G",
"tlbfsInfo.hugePageSize": "1073741824",
"tlbfsInfo.hugePageCount": "512",
"memory.warningHpMemoryUsageRatio": "0.80000000000000004",
"memory.preferredHpMemoryUsageRatio": "0.94999999999999996",
"memory.warningHeapMemoryUsageRatio": "0.90000000000000002",
"silos.numSilos": "2",
"silos.coreSets.computeCoreMask": "0b111111111111000",
"silos.coreSets.ioCoreMask": "0b1000000111100000",
"silos.coreSets.networkCoreMask": "0b10000000000111100",
"silos.coreSets.generalCoreMask": "0b100000000000000111",
"gdsClientParameters_t.batchTimer": "150000000n",
"gdsClientParameters_t.maxBatchCount": "4096",
"ports.adminsecure": "18500",
"ports.data": "16500",
"ports.hsi": "16900",
"ports.ingress": "15300",
"ports.rest": "8000",
"ports.sql": "3070",
"ports.adminopen": "18000"
"operatorvm.vmProtocolParameters.vmClusterRaftFileParameters.fileName": "sql0-vmCluster.raft"
}Response
200 - text/plain
Response
The response is of type string.
Last modified on September 9, 2026
Was this page helpful?

