Docs / Health
Health
Liveness plus the pipeline verdict. No key required.
GET/v1/health
- Auth
- none
- Cache-Control
no-store- Source of truth
clients/openapi.jsonanddocs/API.md§12
statusisokordegraded; a degraded pipeline is still HTTP 200. A run that fetched stories and published none is a content outage, not a dead process, so an uptime probe must keep seeing 200 and readstatusandreasoninstead.degradedmeans either the last three finished runs are all degraded or errored, or no item has become visible for longer thanNEWS_STALE_PUBLISH_HOURShours (default 6). A run is degraded when it had work in hand (fetched > 0with un-deduped documents) and bothextractedandpublishedwere 0.itemscounts clean published items.last_run_atis the newest run'sfinished_at, ornullwhile that run is still running (this is why a poll during a run can readnulleven though earlier runs finished).last_published_atis the newest moment an item became visible (items.updated_at, clean rows), ornullif nothing has ever been published.reasonis a short string on a degraded verdict (semicolon-joined when several rules fired), elsenull.stall_class, when present, describes why publishing stalled. It isnullwhen no publish stall was classified. Earlier releases omit this key.- Only an unreadable database is
503, with the same keys and"status":"degraded". Cache-Control: no-store. No validators.
Description: docs/API.md §12
Parameters
None. This route takes no path or query parameters.
Example request
curl -sS \
'https://vg.tempproject.online/v1/health'import json
import os
import urllib.request
URL = "https://vg.tempproject.online/v1/health"
def call() -> dict:
req = urllib.request.Request(URL, headers={})
with urllib.request.urlopen(req, timeout=15) as res:
print(res.status, res.headers.get("ETag"))
return json.loads(res.read().decode("utf-8"))
if __name__ == "__main__":
body = call()
print(json.dumps(body, indent=2, ensure_ascii=False)[:2000])const res = await fetch(
"https://vg.tempproject.online/v1/health",
{
method: "GET",
headers: {},
},
);
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(res.headers.get("etag"), await res.json());The requests are generated from the path template and the parameters in clients/openapi.json, so a new parameter appears here without an edit to this site.
Example response
{"status":"ok","version":"1.0.0","items":7,"last_run_at":"2026-11-04T21:35:54.830168Z","last_published_at":"2026-11-04T22:03:50.658376Z","reason":null}Response example in docs/API.md §12 (GET /v1/health)
Failures
This operation can answer 200, 400, 429, 503. The full envelope for each status, with its body, is on Errors.