Updated Apr 27, 2026
reference

System health & version #

GET /status, /health, and /version. Unauthenticated endpoints for monitoring and client compatibility.

Three unauthenticated endpoints expose the API's runtime state. Use them for synthetic monitoring, deploy gates, and client compatibility checks. None of them count against your wallet or rate limits.

GET /status

Lightweight uptime check. Returns 200 if the API is accepting traffic.

MethodPathAuthReturns
GET/api/v1/statusnone200 OK + StatusResponse
bash
curl https://api.datadistillers.com/api/v1/status
json
{
  "status":    "API is running",
  "timestamp": "2026-05-03T09:12:04Z"
}

The status field is always the literal string "API is running" when the endpoint returns 200; it's intended for grep checks, not for machine-readable state. For dependency status, use /health.

GET /health

Comprehensive health check including downstream dependencies (database, queue, storage, model service).

MethodPathAuthReturns
GET/api/v1/healthnone200 OK + StatusResponse (when healthy)
bash
curl https://api.datadistillers.com/api/v1/health
json
{
  "status":    "API is running",
  "timestamp": "2026-05-03T09:12:04Z"
}

If a dependency is degraded but traffic is still served, you may still get a 200, but with a longer response time. Wire /health into your synthetic monitor with a 2-second timeout to catch latency-shaped degradations.

For partial outage details (which subsystems are slow), check the public status page rather than introspecting this endpoint.

GET /version

Returns the API's current version string and environment label. Use for client-side compatibility checks and to log which version your integration talked to.

MethodPathAuthReturns
GET/api/v1/versionnone200 OK + ApiVersionResponse
bash
curl https://api.datadistillers.com/api/v1/version
json
{
  "version":     "1.0",
  "environment": "production",
  "timestamp":   "2026-05-03T09:12:04Z"
}
FieldNotes
versionSemver. The major version (1.x) is also encoded in the URL prefix /api/v1.
environmentproduction, staging, or development. Matches the deployment, not your API key.
timestampServer clock. Useful for diagnosing client-side clock skew (HMAC verification depends on this).

Wiring it into monitoring

A reasonable synthetic-monitor configuration:

EndpointFrequencyTimeoutAlert on
/status30s1sAny non-200
/health60s2sAny non-200 or > 2s response
/version1h5sUnexpected version change

Don't run /wallet from a synthetic monitor; it counts against authenticated rate limits. Use /status as the unauthenticated equivalent for "is the API reachable?" checks.

Esc
↑↓Navigate↵OpenEscClose