curl
curl -u 'admin@system:admin' \
'https://my_sql_node.com/v1/info'import requests
url = "https://{sql_node}/v1/info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{sql_node}/v1/info', 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://{sql_node}/v1/info",
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://{sql_node}/v1/info"
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://{sql_node}/v1/info")
.asString();require 'uri'
require 'net/http'
url = URI("https://{sql_node}/v1/info")
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{
"default_database": "system",
"openapi_version": "1.1.0",
"status": {
"vendor_code": 0,
"sql_state": "00000",
"reason": "The operation completed successfully"
}
}Ocient HTTP Query API
info
Returns basic system version information about the Ocient System and the HTTP Query API server.
You can use this endpoint to verify connectivity and to check compatible versions.
GET
/
v1
/
info
curl
curl -u 'admin@system:admin' \
'https://my_sql_node.com/v1/info'import requests
url = "https://{sql_node}/v1/info"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{sql_node}/v1/info', 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://{sql_node}/v1/info",
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://{sql_node}/v1/info"
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://{sql_node}/v1/info")
.asString();require 'uri'
require 'net/http'
url = URI("https://{sql_node}/v1/info")
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{
"default_database": "system",
"openapi_version": "1.1.0",
"status": {
"vendor_code": 0,
"sql_state": "00000",
"reason": "The operation completed successfully"
}
}Last modified on July 8, 2026
Was this page helpful?
⌘I

