Skip to main content
GET
/
health
Detailed health check
curl --request GET \
  --url http://aris.local/health \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "version": "1.0.0",
  "uptime_seconds": 86400,
  "timestamp": "2024-01-15T10:30:00Z",
  "checks": {
    "mqtt": {
      "status": "ok",
      "connected": true
    },
    "cloud": {
      "status": "ok",
      "state": "connected",
      "connected": true
    },
    "memory": {
      "heap_used_mb": 45,
      "heap_total_mb": 64,
      "rss_mb": 120
    },
    "state_file": {
      "status": "ok",
      "last_modified": "2024-01-15T10:29:00Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

System is healthy or degraded

status
enum<string>
Available options:
ok,
degraded,
unhealthy
version
string
uptime_seconds
integer
timestamp
string<date-time>
checks
object