curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/system/health-detail' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"status": "ok",
"in_flight_jobs": 1,
"failed_last_hour": 1,
"succeeded_last_hour": 1,
"failure_rate_last_hour": 7.5,
"total_last_hour": 1,
"last_used_at": "2026-08-31T14:22:05Z",
"timestamp": "2026-08-31T14:22:05Z"
}
System Health Detail V1
Extended operational health beyond the basic liveness ping. Tenant-scoped: the failure-rate signal reflects this tenant’s jobs only, not the whole platform…
GET
/
api
/
v1
/
system
/
health-detail
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/system/health-detail' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"status": "ok",
"in_flight_jobs": 1,
"failed_last_hour": 1,
"succeeded_last_hour": 1,
"failure_rate_last_hour": 7.5,
"total_last_hour": 1,
"last_used_at": "2026-08-31T14:22:05Z",
"timestamp": "2026-08-31T14:22:05Z"
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Response
HealthDetailResponse
string
required
Aggregate signal:
ok when nothing’s flagged, degraded when in-flight count or failure rate crosses warning thresholds, unhealthy when the DB itself is unreachable. Allowed values: 'ok', 'degraded', 'unhealthy'.integer
required
integer
required
integer
required
number
required
failed / (succeeded + failed) over the last hour. 0.0 when no terminal jobs landed in that window — does not signal health by itself, callers should weigh
total_last_hour first.integer
required
string,null
ISO 8601 of when the calling API key was previously used. Useful for ops dashboards showing key activity timelines.
string
required
Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/system/health-detail' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"status": "ok",
"in_flight_jobs": 1,
"failed_last_hour": 1,
"succeeded_last_hour": 1,
"failure_rate_last_hour": 7.5,
"total_last_hour": 1,
"last_used_at": "2026-08-31T14:22:05Z",
"timestamp": "2026-08-31T14:22:05Z"
}
Last modified on August 31, 2026