v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
system

Health check

Returns health status and system information including upgrade count and binary details Also includes last upgrade attempt status with detailed error information if available

get/health

Response

Health status

archstring required
buildTimestring required
gitCommitstring required
goVersionstring required
osstring required
startedAtstring required
statusstring required
upgradeCountinteger required
uptimestring required
uptimeSecondsnumber required
versionstring required

Example response

{
  "arch": "amd64",
  "buildTime": "2026-01-29T17:36:52.000Z",
  "gitCommit": "abc123",
  "goVersion": "go1.25.0",
  "lastUpgrade": {
    "binaryPath": "/tmp/sandbox-api-new",
    "bytesDownloaded": 25034936,
    "downloadUrl": "https://github.com/...",
    "error": "Failed to download binary",
    "step": "download",
    "version": "latest"
  },
  "os": "linux",
  "startedAt": "2026-01-29T18:45:49.000Z",
  "status": "ok",
  "uptime": "1h30m",
  "uptimeSeconds": 5400.5,
  "version": "v0.1.0"
}