curl --request GET \
--url https://api.kombify.io/v1/techstack/api/v1/monitor/drive-health \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/techstack/api/v1/monitor/drive-health"
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/monitor/drive-health', 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/monitor/drive-health",
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/monitor/drive-health"
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/monitor/drive-health")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/techstack/api/v1/monitor/drive-health")
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": {
"generated_at": "2023-11-07T05:31:56Z",
"servers": [
{
"server_id": "<string>",
"worker_id": "<string>",
"last_attempt_at": "2023-11-07T05:31:56Z",
"collection_status": "available",
"inventory_complete": true,
"drives": [
{
"drive_id": "<string>",
"device_path": "<string>",
"observation_status": "available",
"health": "healthy",
"last_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt": {
"drive_id": "<string>",
"device_path": "<string>",
"protocol": "ATA",
"model": "<string>",
"serial": "<string>",
"wwn": "<string>",
"source": "smartctl",
"observed_at": "2023-11-07T05:31:56Z",
"status": "available",
"missing": [
"identity"
],
"smart_passed": true,
"attribute_failed": true,
"self_test_failed": true,
"temperature_celsius": 363.425,
"temperature_warning_celsius": 363.425,
"temperature_critical_celsius": 363.425,
"critical_warning": 127,
"percentage_used": 127,
"available_spare": 50,
"spare_threshold": 50,
"media_errors": "<string>",
"error_log_entries": "<string>",
"reallocated_sectors": "<string>",
"pending_sectors": "<string>",
"uncorrectable_sectors": "<string>",
"power_on_hours": "<string>",
"wear_attributes": [
{
"id": 128,
"name": "<string>",
"value": 127,
"raw": "<string>",
"interpretation": "vendor_specific"
}
],
"reason": "<string>"
},
"last_success": {
"drive_id": "<string>",
"device_path": "<string>",
"protocol": "ATA",
"model": "<string>",
"serial": "<string>",
"wwn": "<string>",
"source": "smartctl",
"observed_at": "2023-11-07T05:31:56Z",
"status": "available",
"missing": [
"identity"
],
"smart_passed": true,
"attribute_failed": true,
"self_test_failed": true,
"temperature_celsius": 363.425,
"temperature_warning_celsius": 363.425,
"temperature_critical_celsius": 363.425,
"critical_warning": 127,
"percentage_used": 127,
"available_spare": 50,
"spare_threshold": 50,
"media_errors": "<string>",
"error_log_entries": "<string>",
"reallocated_sectors": "<string>",
"pending_sectors": "<string>",
"uncorrectable_sectors": "<string>",
"power_on_hours": "<string>",
"wear_attributes": [
{
"id": 128,
"name": "<string>",
"value": 127,
"raw": "<string>",
"interpretation": "vendor_specific"
}
],
"reason": "<string>"
},
"alerts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"worker_id": "<string>",
"server_id": "<string>",
"category": "collection",
"code": "collection",
"severity": "info",
"message": "<string>",
"evidence": {},
"recommended_step": "<string>",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"condition_key": "<string>",
"drive_id": "<string>",
"resolved_at": "2023-11-07T05:31:56Z"
}
]
}
],
"alerts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"worker_id": "<string>",
"server_id": "<string>",
"category": "collection",
"code": "collection",
"severity": "info",
"message": "<string>",
"evidence": {},
"recommended_step": "<string>",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"condition_key": "<string>",
"drive_id": "<string>",
"resolved_at": "2023-11-07T05:31:56Z"
}
],
"collection_reason": "<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": {
"reason_code": "drive_health_persistence_unavailable",
"retryable": true
}
}
}Read per-drive SMART and NVMe health evidence
Authenticated, tenant-scoped projection of Guard drive observations. Self-hosted installations use their configured installation tenant. Hardware identities retain history independently of mutable device paths; replacements never inherit earlier readings. Anonymous observations have attempt-specific IDs and cannot establish historical continuity. Missing, unsupported, inaccessible, incomplete, stale and disconnected observations stay explicit and cannot imply healthy hardware. A server with no observations returns a missing state when selected explicitly. Last successful readings remain historical evidence when a new attempt fails. Only a complete inventory or an explicit missing observation can establish disconnection, and an unreadable identity at a seen path stays uncertain. Reads age evidence and condition episodes, without initiating collection, self-tests, repairs, provisioning or other device actions. Capacity growth forecasts remain on the separate storage-forecast route.
curl --request GET \
--url https://api.kombify.io/v1/techstack/api/v1/monitor/drive-health \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.kombify.io/v1/techstack/api/v1/monitor/drive-health"
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/monitor/drive-health', 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/monitor/drive-health",
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/monitor/drive-health"
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/monitor/drive-health")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/techstack/api/v1/monitor/drive-health")
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": {
"generated_at": "2023-11-07T05:31:56Z",
"servers": [
{
"server_id": "<string>",
"worker_id": "<string>",
"last_attempt_at": "2023-11-07T05:31:56Z",
"collection_status": "available",
"inventory_complete": true,
"drives": [
{
"drive_id": "<string>",
"device_path": "<string>",
"observation_status": "available",
"health": "healthy",
"last_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt": {
"drive_id": "<string>",
"device_path": "<string>",
"protocol": "ATA",
"model": "<string>",
"serial": "<string>",
"wwn": "<string>",
"source": "smartctl",
"observed_at": "2023-11-07T05:31:56Z",
"status": "available",
"missing": [
"identity"
],
"smart_passed": true,
"attribute_failed": true,
"self_test_failed": true,
"temperature_celsius": 363.425,
"temperature_warning_celsius": 363.425,
"temperature_critical_celsius": 363.425,
"critical_warning": 127,
"percentage_used": 127,
"available_spare": 50,
"spare_threshold": 50,
"media_errors": "<string>",
"error_log_entries": "<string>",
"reallocated_sectors": "<string>",
"pending_sectors": "<string>",
"uncorrectable_sectors": "<string>",
"power_on_hours": "<string>",
"wear_attributes": [
{
"id": 128,
"name": "<string>",
"value": 127,
"raw": "<string>",
"interpretation": "vendor_specific"
}
],
"reason": "<string>"
},
"last_success": {
"drive_id": "<string>",
"device_path": "<string>",
"protocol": "ATA",
"model": "<string>",
"serial": "<string>",
"wwn": "<string>",
"source": "smartctl",
"observed_at": "2023-11-07T05:31:56Z",
"status": "available",
"missing": [
"identity"
],
"smart_passed": true,
"attribute_failed": true,
"self_test_failed": true,
"temperature_celsius": 363.425,
"temperature_warning_celsius": 363.425,
"temperature_critical_celsius": 363.425,
"critical_warning": 127,
"percentage_used": 127,
"available_spare": 50,
"spare_threshold": 50,
"media_errors": "<string>",
"error_log_entries": "<string>",
"reallocated_sectors": "<string>",
"pending_sectors": "<string>",
"uncorrectable_sectors": "<string>",
"power_on_hours": "<string>",
"wear_attributes": [
{
"id": 128,
"name": "<string>",
"value": 127,
"raw": "<string>",
"interpretation": "vendor_specific"
}
],
"reason": "<string>"
},
"alerts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"worker_id": "<string>",
"server_id": "<string>",
"category": "collection",
"code": "collection",
"severity": "info",
"message": "<string>",
"evidence": {},
"recommended_step": "<string>",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"condition_key": "<string>",
"drive_id": "<string>",
"resolved_at": "2023-11-07T05:31:56Z"
}
]
}
],
"alerts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"worker_id": "<string>",
"server_id": "<string>",
"category": "collection",
"code": "collection",
"severity": "info",
"message": "<string>",
"evidence": {},
"recommended_step": "<string>",
"first_seen_at": "2023-11-07T05:31:56Z",
"last_seen_at": "2023-11-07T05:31:56Z",
"condition_key": "<string>",
"drive_id": "<string>",
"resolved_at": "2023-11-07T05:31:56Z"
}
],
"collection_reason": "<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": {
"reason_code": "drive_health_persistence_unavailable",
"retryable": true
}
}
}التفويضات
OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.
معلمات الاستعلام
Restrict evidence to one server within the authenticated tenant; an unobserved server remains explicitly missing.
128