Health endpoints

MethodPathAuthDescription
GET/healthznoneLiveness. Returns 200 ok if the process is up. Used by Cloud Run probes.
GET/readyznoneReadiness. 200 when the portal is reachable; 503 otherwise. Result is cached for ~30s on success / ~5s on failure.

Versioning

The portal exposes GET /api/v1/version (public, CDN-cached) which the desktop app polls on launch:

{
  "portalVersion": "1.0.0-beta.1",
  "latestDesktopVersion": "1.0.0-beta.1",
  "minDesktopVersion": "1.0.0-beta.1",
  "downloadUrls": {
    "win": "https://insightomate.lunamic.co/downloads/Insight-O-Mate-Setup-1.0.0-beta.1.exe",
    "mac": "https://insightomate.lunamic.co/downloads/Insight-O-Mate-1.0.0-beta.1.dmg",
    "linuxAppImage": "https://insightomate.lunamic.co/downloads/Insight-O-Mate-1.0.0-beta.1.AppImage",
    "linuxDeb": "https://insightomate.lunamic.co/downloads/insight-o-mate_1.0.0-beta.1_amd64.deb"
  },
  "releaseNotesUrl": "https://insightomate.lunamic.co/changelog/v1.0.0-beta.1"
}

minDesktopVersion is a soft contract — clients below it must show a hard-block update banner because future server-side changes may break them. The current /api/analyze itself does not yet enforce a minimum client version, but reserves the right to return 426 Upgrade Required in a future release.

Last updated: Jul 30 2026