x402 watch — create 30-day endpoint monitor (paid)
x402_watch_createCreate a 30-day watch on an x402 endpoint to receive alerts on changes that break autonomous payments, such as payTo changes and liveness issues. Pay-per-call with auto-pay or price quote.
Instructions
Start monitoring ONE x402 endpoint for 30 days. Get alerted on changes that break autonomous payment: payTo changes (possible takeover/rug), price changes, asset/network changes, 402-spec regressions, delisting, and liveness down/recovered. A self-healing endpoint that repeatedly blips is auto-detected as liveness_flapping and its individual down/up alerts are coalesced into a single flapping notice (plus one 'stopped flapping' notice when it stabilizes) so you are not spammed. Returns a one-time bearer secret + poll URL + renew URL + edit URL + cancel URL + machine-readable next_steps. Use x402_watch_events to poll the append-only log, or configure push delivery to one or more signed HTTPS webhooks and/or Slack/Discord incoming webhooks (max 5 each). webhook_url/slack_url accept a single URL string or an array of URLs. All URLs are connection-tested BEFORE payment — unreachable URLs are rejected with no charge (retry with a corrected URL). On success the response reports per-URL delivery in delivery.connection_test. Webhook signature: x-signature = 'sha256=' + HMAC-SHA256(body) keyed by hex(sha256(secret)), NOT the raw secret. Pay-per-call over x402 (~$0.20); auto-pays if a wallet is configured, otherwise returns the price quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | Event types to subscribe to (default all): payto_change, price_change, asset_network_change, spec_regression, delisting, liveness_down, liveness_recovered, liveness_flapping, latency_regression. | |
| endpoint | Yes | Full x402 resource URL to watch. It must already be in our observation set. | |
| slack_url | No | Optional Slack or Discord incoming webhook URL(s). Single string or array; max 5. | |
| webhook_url | No | Optional signed HTTPS webhook URL(s) for push delivery. Single string or array; max 5. | |
| liveness_sensitivity_n | No | Consecutive missed probes before liveness_down surfaces to you (1=paranoid … 10=relaxed; default 2). |