vigil_set_watchdog
Arm a dead-man switch. Register an interval and an https webhook; then call vigil_heartbeat before each interval elapses. Miss one and Vigil attempts a signed 'absence' payload to your webhook, retrying failed delivery. Free tier: 1 watchdog. Overwrites an existing watchdog and resets its timer and delivery state. A missed heartbeat sends the supplied message to an external HTTPS recipient; failed delivery is capped at five attempts per armed interval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for this watchdog, 1-64 chars. | |
| message | No | Optional note included in the absence payload, <=2000 chars. | |
| vigil_key | No | DEPRECATED legacy account-wide credential, including deletion and permission issuance. Prefer the client-injected HTTP Authorization: Bearer header; omit this argument when that header authenticates the request. This is not a scoped agent token. | |
| interval_s | Yes | Seconds allowed between heartbeats, 60..604800. | |
| webhook_url | Yes | An https URL resolving to a public address; fired once on a missed heartbeat. |