Get the installed use-case configuration of one owned StackKit deployment
curl --request GET \
--url https://api.kombify.io/v1/homelab/api/v1/stacks/{id}/use-cases/configuration \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/homelab/api/v1/stacks/{id}/use-cases/configuration"
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/homelab/api/v1/stacks/{id}/use-cases/configuration', 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/homelab/api/v1/stacks/{id}/use-cases/configuration",
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/homelab/api/v1/stacks/{id}/use-cases/configuration"
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/homelab/api/v1/stacks/{id}/use-cases/configuration")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/homelab/api/v1/stacks/{id}/use-cases/configuration")
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": {
"kit_deployment_id": "<string>",
"release_version": "<string>",
"retained_removal_available": true,
"use_cases": [
{
"id": "<string>",
"name": "<string>",
"workloads": [
{
"workload_ref": "<string>",
"alternative": "<string>",
"module_ref": "<string>",
"profiles": {
"compute": {
"options": [
"<string>"
],
"current": "<string>"
},
"storage": {
"options": [
"<string>"
],
"current": "<string>"
},
"accelerator": {
"options": [
"<string>"
],
"current": "<string>"
}
},
"settings": [
{
"key": "<string>",
"type": "string",
"label": "<string>",
"current": "<string>",
"options": [
"<string>"
]
}
],
"secret_refs": [
{
"key": "<string>",
"options": [
"<string>"
],
"current": "<string>"
}
],
"eligible": true,
"removal_eligible": true,
"reason_code": "<string>"
}
]
}
],
"expected_spec_hash": "<string>"
},
"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>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}Stacks
Get the installed use-case configuration of one owned StackKit deployment
Read this view before configuring or removing an installed use case. Pass the owned stack’s kit_deployment_id as stack_id. Returns the pinned release, installed workloads, their options and eligibility, and the native expected_spec_hash required by both writes when the baseline can be inspected. If the hash is absent, do not write. Only public settings and opaque secret references are shown, never secret values. This call does not change configuration or start a rollout.
GET
/
api
/
v1
/
stacks
/
{id}
/
use-cases
/
configuration
Get the installed use-case configuration of one owned StackKit deployment
curl --request GET \
--url https://api.kombify.io/v1/homelab/api/v1/stacks/{id}/use-cases/configuration \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/homelab/api/v1/stacks/{id}/use-cases/configuration"
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/homelab/api/v1/stacks/{id}/use-cases/configuration', 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/homelab/api/v1/stacks/{id}/use-cases/configuration",
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/homelab/api/v1/stacks/{id}/use-cases/configuration"
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/homelab/api/v1/stacks/{id}/use-cases/configuration")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/homelab/api/v1/stacks/{id}/use-cases/configuration")
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": {
"kit_deployment_id": "<string>",
"release_version": "<string>",
"retained_removal_available": true,
"use_cases": [
{
"id": "<string>",
"name": "<string>",
"workloads": [
{
"workload_ref": "<string>",
"alternative": "<string>",
"module_ref": "<string>",
"profiles": {
"compute": {
"options": [
"<string>"
],
"current": "<string>"
},
"storage": {
"options": [
"<string>"
],
"current": "<string>"
},
"accelerator": {
"options": [
"<string>"
],
"current": "<string>"
}
},
"settings": [
{
"key": "<string>",
"type": "string",
"label": "<string>",
"current": "<string>",
"options": [
"<string>"
]
}
],
"secret_refs": [
{
"key": "<string>",
"options": [
"<string>"
],
"current": "<string>"
}
],
"eligible": true,
"removal_eligible": true,
"reason_code": "<string>"
}
]
}
],
"expected_spec_hash": "<string>"
},
"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>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}