Read a Watchdog's alerts
settled_watch_alertsFree. Everything a Watchdog has recorded for its endpoint since a given alert id: each change to status, payability, price or payTo, the endpoint's state now, and next_since to pass on the next call. Poll it whenever your agent runs; the endpoint is probed about every 15 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most alerts to return, 1-100 (default 50) | |
| since | No | Return alerts with an id above this; pass next_since from your last call, or 0 for all | |
| watch_id | Yes | The watch_id returned when the Watchdog was bought |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | How to poll | |
| url | No | The watched endpoint | |
| more | No | true when more alerts are waiting | |
| error | No | Present only when the call failed or needs another step: an error code such as pass_required, next to the fields that explain it | |
| alerts | No | Alerts since the given id, oldest first: each change to status, payability, price or payTo | |
| status | No | active or expired | |
| delivery | No | webhook or poll | |
| watch_id | No | The watch | |
| expires_at | No | When the watch ends unless renewed | |
| next_since | No | Pass this as since on your next call | |
| attestation | No | EIP-191 signature over the answer; verify it with settled_verify or any EVM library | |
| attested_at | No | When Settled signed this answer (ISO 8601) | |
| endpoint_now | No | The endpoint's state now: status, payability, price, payTo, last probe |