Get latest telemetry for many machines
curl --request POST \
--url https://api.ornn.com/v1/observability/nodes/telemetry/latest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"node_ids": [
"33333333-3333-4333-8333-333333333333"
],
"virtual_machine_ids": [
"66666666-6666-4666-8666-666666666666"
]
}
'import requests
url = "https://api.ornn.com/v1/observability/nodes/telemetry/latest"
payload = {
"node_ids": ["33333333-3333-4333-8333-333333333333"],
"virtual_machine_ids": ["66666666-6666-4666-8666-666666666666"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
node_ids: ['33333333-3333-4333-8333-333333333333'],
virtual_machine_ids: ['66666666-6666-4666-8666-666666666666']
})
};
fetch('https://api.ornn.com/v1/observability/nodes/telemetry/latest', 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.ornn.com/v1/observability/nodes/telemetry/latest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'node_ids' => [
'33333333-3333-4333-8333-333333333333'
],
'virtual_machine_ids' => [
'66666666-6666-4666-8666-666666666666'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ornn.com/v1/observability/nodes/telemetry/latest"
payload := strings.NewReader("{\n \"node_ids\": [\n \"33333333-3333-4333-8333-333333333333\"\n ],\n \"virtual_machine_ids\": [\n \"66666666-6666-4666-8666-666666666666\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ornn.com/v1/observability/nodes/telemetry/latest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"node_ids\": [\n \"33333333-3333-4333-8333-333333333333\"\n ],\n \"virtual_machine_ids\": [\n \"66666666-6666-4666-8666-666666666666\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ornn.com/v1/observability/nodes/telemetry/latest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"node_ids\": [\n \"33333333-3333-4333-8333-333333333333\"\n ],\n \"virtual_machine_ids\": [\n \"66666666-6666-4666-8666-666666666666\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"nodes": [
{
"node_id": "33333333-3333-4333-8333-333333333333",
"observed_at": "2026-10-14T12:00:00Z",
"samples": 1,
"values": {
"observed_at": "2026-10-14T12:00:00Z",
"gpu_utilization": "87.5",
"gpu_temperature": "64",
"cpu_utilization": "22.1",
"memory_utilization": "41.0"
}
},
{
"virtual_machine_id": "66666666-6666-4666-8666-666666666666",
"observed_at": "2026-10-14T12:00:05Z",
"samples": 1,
"values": {
"observed_at": "2026-10-14T12:00:05Z",
"gpu_utilization": "12.0"
}
}
]
}{
"error": "too_many_node_ids"
}{
"code": "<string>",
"detail": "<string>"
}{
"code": "<string>",
"detail": "<string>"
}{
"error": "not_found"
}{
"code": "<string>",
"detail": "<string>"
}Get latest telemetry for many machines
Returns the most recent telemetry sample for up to 5,000 node and VM IDs combined. A machine with no sample inside your reservation window is omitted. If any ID is not visible to your organization, the whole request returns 404; split requests by reservation to isolate failures. Send large ID sets in parallel chunks rather than one at a time.
POST
/
v1
/
observability
/
nodes
/
telemetry
/
latest
Get latest telemetry for many machines
curl --request POST \
--url https://api.ornn.com/v1/observability/nodes/telemetry/latest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"node_ids": [
"33333333-3333-4333-8333-333333333333"
],
"virtual_machine_ids": [
"66666666-6666-4666-8666-666666666666"
]
}
'import requests
url = "https://api.ornn.com/v1/observability/nodes/telemetry/latest"
payload = {
"node_ids": ["33333333-3333-4333-8333-333333333333"],
"virtual_machine_ids": ["66666666-6666-4666-8666-666666666666"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
node_ids: ['33333333-3333-4333-8333-333333333333'],
virtual_machine_ids: ['66666666-6666-4666-8666-666666666666']
})
};
fetch('https://api.ornn.com/v1/observability/nodes/telemetry/latest', 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.ornn.com/v1/observability/nodes/telemetry/latest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'node_ids' => [
'33333333-3333-4333-8333-333333333333'
],
'virtual_machine_ids' => [
'66666666-6666-4666-8666-666666666666'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ornn.com/v1/observability/nodes/telemetry/latest"
payload := strings.NewReader("{\n \"node_ids\": [\n \"33333333-3333-4333-8333-333333333333\"\n ],\n \"virtual_machine_ids\": [\n \"66666666-6666-4666-8666-666666666666\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ornn.com/v1/observability/nodes/telemetry/latest")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"node_ids\": [\n \"33333333-3333-4333-8333-333333333333\"\n ],\n \"virtual_machine_ids\": [\n \"66666666-6666-4666-8666-666666666666\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ornn.com/v1/observability/nodes/telemetry/latest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"node_ids\": [\n \"33333333-3333-4333-8333-333333333333\"\n ],\n \"virtual_machine_ids\": [\n \"66666666-6666-4666-8666-666666666666\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"nodes": [
{
"node_id": "33333333-3333-4333-8333-333333333333",
"observed_at": "2026-10-14T12:00:00Z",
"samples": 1,
"values": {
"observed_at": "2026-10-14T12:00:00Z",
"gpu_utilization": "87.5",
"gpu_temperature": "64",
"cpu_utilization": "22.1",
"memory_utilization": "41.0"
}
},
{
"virtual_machine_id": "66666666-6666-4666-8666-666666666666",
"observed_at": "2026-10-14T12:00:05Z",
"samples": 1,
"values": {
"observed_at": "2026-10-14T12:00:05Z",
"gpu_utilization": "12.0"
}
}
]
}{
"error": "too_many_node_ids"
}{
"code": "<string>",
"detail": "<string>"
}{
"code": "<string>",
"detail": "<string>"
}{
"error": "not_found"
}{
"code": "<string>",
"detail": "<string>"
}Authorizations
Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.
Response
Latest samples for the visible machines.
Show child attributes
Show child attributes
Was this page helpful?