GET/api/v1/health

Returns current API status, DB availability, classifier status, and API version. No authentication required — safe to poll from monitoring tools.

Example

curl https://synapse.by-kit.com/api/v1/health

Response — all systems nominal

{
  "api": "ok",
  "db": "ok",
  "classifier": "ok",
  "version": "2026-05-20"
}

Response — classifier degraded

{
  "api": "ok",
  "db": "ok",
  "classifier": "degraded",
  "version": "2026-05-20"
}

Response fields

FieldValuesNotes
apiokAlways ok if you got a response
dbok | degradedSupabase Postgres connectivity
classifierok | degradedNemoClaw Gemma availability. degraded = /v1/classify returns 503
versiondate stringAPI version. Same as Synapse-Api-Version response header.

Notes

  • Classifier degraded does not affect writes or queries — only /v1/classify is impacted.
  • Poll this endpoint at 30-second intervals max. No auth required.
  • All API responses include the Synapse-Api-Version header with the current version date.