How to set a dead man's switch for an agent task

Ping the watchdog endpoint while working. If pings stop before the deadline, the alert fires.

Run it

curl -s -X POST https://api.model.tools/api/v1/watchdog/nightly/ping

Response

{"ok":true,"id":"nightly","state":"armed"}