Health
Endpoints for Health
ReferenceView as Markdown
Endpoints for Health
GET/health
The Health Check is successful
statusstringinfoobject with object valueserrorobject with object valuesdetailsobject with object values{
"status": "ok",
"info": {
"database": {
"status": "up"
}
},
"error": {},
"details": {
"database": {
"status": "up"
}
}
}The Health Check is not successful
statusstringinfoobject with object valueserrorobject with object valuesdetailsobject with object valuescurlcurl https://api.subrite.no/healthGET/health/worker
Returns 503 if no worker is connected to any canary task queue (workflow or activity pollers = 0). Separate from /health so the api-server health probe is not affected by worker outages.
The Health Check is successful
statusstringGET/api/health/redis-memory
Authentication: Bearer token (JWT)
This response has no body.
unauthorized
This response has no body.
curl{
"status": "error",
"info": {
"database": {
"status": "up"
}
},
"error": {
"redis": {
"status": "down",
"message": "Could not connect"
}
},
"details": {
"database": {
"status": "up"
},
"redis": {
"status": "down",
"message": "Could not connect"
}
}
}infoobject with object valueserrorobject with object valuesdetailsobject with object values{
"status": "ok",
"info": {
"database": {
"status": "up"
}
},
"error": {},
"details": {
"database": {
"status": "up"
}
}
}The Health Check is not successful
statusstringinfoobject with object valueserrorobject with object valuesdetailsobject with object values{
"status": "error",
"info": {
"database": {
"status": "up"
}
},
"error": {
"redis": {
"status": "down",
"message": "Could not connect"
}
},
"details": {
"database": {
"status": "up"
},
"redis": {
"status": "down",
"message": "Could not connect"
}
}
}curlcurl https://api.subrite.no/health/workercurl https://api.subrite.no/api/health/redis-memory \
--header 'Authorization: Bearer <token>'