Health + sync-freshness probe

Changed on

Liveness probe reporting connectivity and database sync freshness. Returns 503 when the database is unreachable.

get/health

Request

  • Base URL
    https://api.kinetk.ai/graph
  • Auth
    API key in header x-api-key

Response

Successful response

db'connected' | 'unreachable' required
dbErrorstring
dbWriter'connected' | 'unreachable' required
dbWriterErrorstring
durationMsnumber required
stagestring required
status'error' | 'ok' required
timestampstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status