Public

Health check

Liveness probe. Without authentication it returns status (healthy when the database answers and accepts writes, else degraded) and timestamp. The dependency detail (database, sender, classifier) is returned only to internal callers.

get/api/health

Request

  • Base URL: https://api.mails.ai
  • URL: https://api.mails.ai/api/health
  • Auth: none required

Response

Service health.

status'healthy' | 'degraded' required

healthy when the database answers and accepts writes, degraded otherwise. The HTTP status is 200 either way.

versionstring

The API's version string. Like db, ses, classifier and schemas, it is returned to internal callers only.

schemasinteger

How many definitions the database schema exports.

timestampstring date-time required

When the check ran (UTC).

Changes

No recorded changes to this operation across all 1 revision of this API.