curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.sandbox.stateset.app/health' \
--header "Authorization: ApiKey $STATESET_SANDBOX_API_KEY"
{
"status": "healthy",
"timestamp": "2026-08-31T14:22:05Z",
"database": "connected",
"redis": "connected",
"redis_required": true
}
Health check
Service is healthy
GET
/
health
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.sandbox.stateset.app/health' \
--header "Authorization: ApiKey $STATESET_SANDBOX_API_KEY"
{
"status": "healthy",
"timestamp": "2026-08-31T14:22:05Z",
"database": "connected",
"redis": "connected",
"redis_required": true
}
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
object
string
required
Allowed values:
'healthy'.string (date-time)
required
string
Present when the database is initialized. Allowed values:
'connected', 'disconnected', 'error'.string
Allowed values:
'connected', 'disconnected', 'error', 'not_configured'.boolean
Present when Redis is configured.
Status codes
| Code | Meaning |
|---|---|
200 | Service is healthy |
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.sandbox.stateset.app/health' \
--header "Authorization: ApiKey $STATESET_SANDBOX_API_KEY"
{
"status": "healthy",
"timestamp": "2026-08-31T14:22:05Z",
"database": "connected",
"redis": "connected",
"redis_required": true
}
Last modified on September 21, 2026