Get the post-configuration operations read model for one owned StackKit deployment
curl --request GET \
--url https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations', 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.kombify.io/v1/techstack/api/v1/stacks/{id}/operations",
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.kombify.io/v1/techstack/api/v1/stacks/{id}/operations"
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.kombify.io/v1/techstack/api/v1/stacks/{id}/operations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations")
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{
"data": {
"stack": {},
"readiness": {
"status": "<string>",
"can_start": true,
"required_servers": 1,
"approved_servers": 1,
"connected_servers": 1,
"pending_servers": 1,
"assigned_servers": 1,
"available_servers": 1,
"unassigned_servers": 1,
"message": "<string>",
"review_required": true
},
"nextSteps": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>",
"status": "<string>",
"action": "<string>"
}
],
"kpis": {
"registered_servers": 1,
"healthy_servers": 1,
"running_services": 1,
"active_alerts": 1
},
"servers": [
{
"id": "<string>",
"hostname": "<string>",
"role": "<string>",
"status": "<string>",
"assignment": "<string>",
"agent_id": "<string>",
"approved": true,
"precheck_state": "<string>",
"assignable": true,
"capabilities": {},
"health": {
"state": "<string>",
"source": "<string>",
"cpu_percent": {},
"memory_percent": {},
"disk_percent": {},
"uptime_seconds": {},
"updated_at": "2023-11-07T05:31:56Z",
"notes": [
"<string>"
]
},
"server_id": "<string>",
"stack_id": "<string>",
"ip": "<string>",
"os": "<string>",
"os_version": "<string>",
"arch": "<string>",
"domains": [
"<string>"
],
"last_seen": "2023-11-07T05:31:56Z",
"approved_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"lease_id": "<string>",
"runtime_lane": "<string>",
"runtime_offering_id": "<string>",
"desired_state": "<string>",
"enrollment_status": "<string>"
}
],
"services": [
{
"name": "<string>",
"display_name": "<string>",
"type": "<string>",
"status": "<string>",
"id": "<string>",
"url": "<string>",
"port": 32767,
"target_server": "<string>",
"target_server_id": "<string>",
"desired_state": "<string>",
"observed_state": "<string>",
"access": {},
"allowed_actions": [
"<string>"
]
}
],
"monitoring": {},
"alerts": [
{}
],
"retiredServers": [
{
"id": "<string>",
"hostname": "<string>",
"role": "<string>",
"status": "<string>",
"assignment": "<string>",
"agent_id": "<string>",
"approved": true,
"precheck_state": "<string>",
"assignable": true,
"capabilities": {},
"health": {
"state": "<string>",
"source": "<string>",
"cpu_percent": {},
"memory_percent": {},
"disk_percent": {},
"uptime_seconds": {},
"updated_at": "2023-11-07T05:31:56Z",
"notes": [
"<string>"
]
},
"server_id": "<string>",
"stack_id": "<string>",
"ip": "<string>",
"os": "<string>",
"os_version": "<string>",
"arch": "<string>",
"domains": [
"<string>"
],
"last_seen": "2023-11-07T05:31:56Z",
"approved_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"lease_id": "<string>",
"runtime_lane": "<string>",
"runtime_offering_id": "<string>",
"desired_state": "<string>",
"enrollment_status": "<string>"
}
],
"currentJob": {},
"runtimeLifecycle": {},
"latestFailure": {}
},
"meta": {
"total": 123,
"page": 123,
"per_page": 123,
"managed_runtime_inventory_complete": true,
"worker_inventory_sha256": "<string>",
"managed_runtime_active_lease_ids": [
"<string>"
],
"managed_runtime_inactive_lease_ids": [
"<string>"
],
"managed_runtime_lease_generation_digests": [
{
"lease_id": "<string>",
"resource_generation_digest": "<string>"
}
],
"managed_runtime_duplicate_lease_ids": [
"<string>"
],
"managed_runtime_attachment_conflict_lease_ids": [
"<string>"
]
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}Stacks
Get the post-configuration operations read model for one owned StackKit deployment
Returns the exact owner- and tenant-scoped read model used by the TechStack operations dashboard. approved_servers records operator approval; connected_servers is stricter and counts only assigned, approved Nodes with freshness-qualified canonical Guard heartbeat, connection, and health evidence. The operation is read-only and never starts rollout, provisioning, or provider work.
GET
/
api
/
v1
/
stacks
/
{id}
/
operations
Get the post-configuration operations read model for one owned StackKit deployment
curl --request GET \
--url https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations', 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.kombify.io/v1/techstack/api/v1/stacks/{id}/operations",
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.kombify.io/v1/techstack/api/v1/stacks/{id}/operations"
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.kombify.io/v1/techstack/api/v1/stacks/{id}/operations")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/techstack/api/v1/stacks/{id}/operations")
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{
"data": {
"stack": {},
"readiness": {
"status": "<string>",
"can_start": true,
"required_servers": 1,
"approved_servers": 1,
"connected_servers": 1,
"pending_servers": 1,
"assigned_servers": 1,
"available_servers": 1,
"unassigned_servers": 1,
"message": "<string>",
"review_required": true
},
"nextSteps": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>",
"status": "<string>",
"action": "<string>"
}
],
"kpis": {
"registered_servers": 1,
"healthy_servers": 1,
"running_services": 1,
"active_alerts": 1
},
"servers": [
{
"id": "<string>",
"hostname": "<string>",
"role": "<string>",
"status": "<string>",
"assignment": "<string>",
"agent_id": "<string>",
"approved": true,
"precheck_state": "<string>",
"assignable": true,
"capabilities": {},
"health": {
"state": "<string>",
"source": "<string>",
"cpu_percent": {},
"memory_percent": {},
"disk_percent": {},
"uptime_seconds": {},
"updated_at": "2023-11-07T05:31:56Z",
"notes": [
"<string>"
]
},
"server_id": "<string>",
"stack_id": "<string>",
"ip": "<string>",
"os": "<string>",
"os_version": "<string>",
"arch": "<string>",
"domains": [
"<string>"
],
"last_seen": "2023-11-07T05:31:56Z",
"approved_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"lease_id": "<string>",
"runtime_lane": "<string>",
"runtime_offering_id": "<string>",
"desired_state": "<string>",
"enrollment_status": "<string>"
}
],
"services": [
{
"name": "<string>",
"display_name": "<string>",
"type": "<string>",
"status": "<string>",
"id": "<string>",
"url": "<string>",
"port": 32767,
"target_server": "<string>",
"target_server_id": "<string>",
"desired_state": "<string>",
"observed_state": "<string>",
"access": {},
"allowed_actions": [
"<string>"
]
}
],
"monitoring": {},
"alerts": [
{}
],
"retiredServers": [
{
"id": "<string>",
"hostname": "<string>",
"role": "<string>",
"status": "<string>",
"assignment": "<string>",
"agent_id": "<string>",
"approved": true,
"precheck_state": "<string>",
"assignable": true,
"capabilities": {},
"health": {
"state": "<string>",
"source": "<string>",
"cpu_percent": {},
"memory_percent": {},
"disk_percent": {},
"uptime_seconds": {},
"updated_at": "2023-11-07T05:31:56Z",
"notes": [
"<string>"
]
},
"server_id": "<string>",
"stack_id": "<string>",
"ip": "<string>",
"os": "<string>",
"os_version": "<string>",
"arch": "<string>",
"domains": [
"<string>"
],
"last_seen": "2023-11-07T05:31:56Z",
"approved_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"lease_id": "<string>",
"runtime_lane": "<string>",
"runtime_offering_id": "<string>",
"desired_state": "<string>",
"enrollment_status": "<string>"
}
],
"currentJob": {},
"runtimeLifecycle": {},
"latestFailure": {}
},
"meta": {
"total": 123,
"page": 123,
"per_page": 123,
"managed_runtime_inventory_complete": true,
"worker_inventory_sha256": "<string>",
"managed_runtime_active_lease_ids": [
"<string>"
],
"managed_runtime_inactive_lease_ids": [
"<string>"
],
"managed_runtime_lease_generation_digests": [
{
"lease_id": "<string>",
"resource_generation_digest": "<string>"
}
],
"managed_runtime_duplicate_lease_ids": [
"<string>"
],
"managed_runtime_attachment_conflict_lease_ids": [
"<string>"
]
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.
Path Parameters
Stack ID
