curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/health' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"status": "ok",
"service": "string",
"timestamp": "2026-08-31T14:22:05Z",
"checks": {}
}
V1 Health
Return 200 with a minimal liveness payload, or 503 on db failure.
GET
/
api
/
v1
/
health
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/health' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"status": "ok",
"service": "string",
"timestamp": "2026-08-31T14:22:05Z",
"checks": {}
}
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
HealthResponse
string
required
Allowed values:
'ok', 'degraded'.string
required
Static service identifier.
string
required
ISO 8601 UTC timestamp of the check.
object
required
Per-component check results. Currently only
database. Additional keys map to values of type string.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/health' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"status": "ok",
"service": "string",
"timestamp": "2026-08-31T14:22:05Z",
"checks": {}
}
Last modified on September 21, 2026