PublicAML
GET

/health

Service status, including label-cache age and backing stores.

Reports whether each backing store answered and how stale the in-process label cache is. The interesting field is labels.age_sec: the service stays up and answers with a cache older than it should be rather than failing closed, so a monitor that only checks HTTP 200 will not notice staleness.

Request

curl https://intelapi.publicaml.org/health

Response

{
  "build": "6a7d4ecc8947",
  "pg": true,
  "redis": true,
  "rocksdb": true,
  "labels": {
    "ok": true,
    "rows": 295840,
    "age_sec": 340,
    "chains": { "0": 79572, "1": 149191, "56": 57163, "195": 9914 }
  }
}

Response fields

FieldTypeMeaning
buildstringHash of the running code.
labels.age_secnumberSeconds since the label cache was last loaded. The freshness signal.
labels.chainsobjectLoaded label rows per chain id.
pg / redis / rocksdbbooleanBacking store reachability.

Things that catch people out

Try it

The interactive console runs this endpoint against live data from the browser, with no key and no signup.

Open the sandbox at intelapi.publicaml.org

Other endpoints