Merkl Developer Portal logo
get

/v4/fetch-job/health

Check the engine fetch job keeps ingesting campaigns on every chain

Returns HTTP 200 with OK or STALE; a read error returns 5xx. status is STALE when the engine fetch job has reported a problem on a chain for at least 15 minutes (a failed step, a campaign that failed to ingest, or a campaign still missing from the API after reconcile), or when a chain's last clean run is over 45 minutes old. Chains that never reported aren't counted. OK otherwise. Configure a keyword monitor to alert when STALE is present, and on a non-2xx answer.

Responses

200
Response for status 200
Schema
object
statusenum
required
OKSTALE
successboolean
required
chainsCheckednumber
required
staleChainsnumber
required
detailstring
runbookobject
impactstring
required
remediationstring
required
escalationstring
Example
{
  "status": "OK",
  "success": false,
  "chainsChecked": 0,
  "staleChains": 0,
  "detail": "string",
  "runbook": {
    "impact": "string",
    "remediation": "string",
    "escalation": "string"
  }
}