curl --request GET \
--url https://api.streamkap.com/cluster/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.streamkap.com/cluster/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.streamkap.com/cluster/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.streamkap.com/cluster/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.streamkap.com/cluster/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.streamkap.com/cluster/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.streamkap.com/cluster/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"current_tier": "<string>",
"kafka_memory": "<string>",
"kafka_connect_memory": "<string>",
"kafka_connect_replicas": 123,
"kafka_connect_statefulsets": [
{
"name": "<string>",
"memory": "<string>",
"replicas": 123
}
],
"tiers": [
{
"name": "<string>",
"order": 123,
"kafka_memory": "<string>",
"kafka_connect_memory": "<string>",
"kafka_connect_replicas": 123,
"node_groups": [
{
"role": "<string>",
"name": "<string>",
"nodes": 123,
"az": "<string>",
"instance_type": "<string>",
"vcpu_per_node": 123,
"memory_gib_per_node": 123,
"status": "<string>",
"ebs_volumes": [
{
"volume_type": "<string>",
"size_gb": 123,
"iops": 123,
"throughput_mbps": 123,
"volumes_per_node": 1
}
]
}
]
}
],
"active_operation_id": "<string>",
"scaling_available": true,
"live_node_groups": [
{
"role": "<string>",
"name": "<string>",
"nodes": 123,
"az": "<string>",
"instance_type": "<string>",
"vcpu_per_node": 123,
"memory_gib_per_node": 123,
"status": "<string>",
"ebs_volumes": [
{
"volume_type": "<string>",
"size_gb": 123,
"iops": 123,
"throughput_mbps": 123,
"volumes_per_node": 1
}
]
}
]
}Get Cluster Status
Get current cluster status by fetching live state from EKS + K8s.
Reads tier definitions from the cluster_configs collection,
then queries the actual cluster to determine current tier, memory, and replicas.
BYOC services without a cluster_configs record get a live-only view
(no tier catalog, scaling_available: false) that degrades to
‘unknown’ values instead of failing.
curl --request GET \
--url https://api.streamkap.com/cluster/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.streamkap.com/cluster/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.streamkap.com/cluster/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.streamkap.com/cluster/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.streamkap.com/cluster/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.streamkap.com/cluster/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.streamkap.com/cluster/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"current_tier": "<string>",
"kafka_memory": "<string>",
"kafka_connect_memory": "<string>",
"kafka_connect_replicas": 123,
"kafka_connect_statefulsets": [
{
"name": "<string>",
"memory": "<string>",
"replicas": 123
}
],
"tiers": [
{
"name": "<string>",
"order": 123,
"kafka_memory": "<string>",
"kafka_connect_memory": "<string>",
"kafka_connect_replicas": 123,
"node_groups": [
{
"role": "<string>",
"name": "<string>",
"nodes": 123,
"az": "<string>",
"instance_type": "<string>",
"vcpu_per_node": 123,
"memory_gib_per_node": 123,
"status": "<string>",
"ebs_volumes": [
{
"volume_type": "<string>",
"size_gb": 123,
"iops": 123,
"throughput_mbps": 123,
"volumes_per_node": 1
}
]
}
]
}
],
"active_operation_id": "<string>",
"scaling_available": true,
"live_node_groups": [
{
"role": "<string>",
"name": "<string>",
"nodes": 123,
"az": "<string>",
"instance_type": "<string>",
"vcpu_per_node": 123,
"memory_gib_per_node": 123,
"status": "<string>",
"ebs_volumes": [
{
"volume_type": "<string>",
"size_gb": 123,
"iops": 123,
"throughput_mbps": 123,
"volumes_per_node": 1
}
]
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
Currently active tier name (matched from K8s StatefulSet specs).
Per-StatefulSet live specs. One entry for single-KC tenants; multiple for KC-0 + KC-1 + ... tenants.
Show child attributes
Show child attributes
Every tier defined in the cluster_config, ordered ascending by 'order'.
Show child attributes
Show child attributes
Operation ID if a scaling operation is in progress
Whether scale operations are possible (a cluster_configs record exists). False for BYOC services rendered from live K8s state only.
Node groups read live from EKS/EC2 (with EBS volumes attached to the Kafka NG). Populated only on the config-less path, where no tier catalog exists.
Show child attributes
Show child attributes
Was this page helpful?