CronNudge

Assertions, runs, and agents

A normal ping still means the job finished. These signals say whether the result, the run, or the agent budget looked right. Free includes assertions and run tracking on 3 checks. Pro removes that cap. Token and cost alerts are Pro. Check limits are unchanged.

# Output: query string or JSON. count, rows, and bytes are examples.
curl -fsS -m 10 "$CRONNUDGE_URL?count=123"
curl -fsS -m 10 -H 'content-type: application/json' \
  -d '{"rows":123,"bytes":4096}' "$CRONNUDGE_URL"

# Runs: start, then success or fail.
curl -fsS -m 10 "$CRONNUDGE_URL/start"
curl -fsS -m 10 "$CRONNUDGE_URL"
curl -fsS -m 10 "$CRONNUDGE_URL/fail"

# Agent result
curl -fsS -m 10 -H 'content-type: application/json' \
  -d '{"status":"ok","duration_ms":4200,"steps":6,"tokens":1800,"cost_usd":0.04,"summary":"Indexed 120 rows","rows":120}' \
  "$CRONNUDGE_URL"