get_alerts
Retrieve the complete monitoring alert log for your domains, newest first. Filter by type, domain, or timestamp, and page through older entries with a cursor to see even dashboard-only alerts.
Instructions
Read the monitoring alert log for the domains the caller's account monitors, newest first. Requires an API token. Each row carries id, domain, type, check, summary, a deterministic detail map, created_at, email_sent_at, acknowledged_at and delivery_class — a 'dashboard_only' row was deliberately kept out of the digest mail, so an agent watching only the inbox would never see it; this log is the complete picture. PAGE DOWN BEFORE ADVANCING since: next_before is non-null exactly when older rows remain, and a caller that ignores it, takes a full page and moves its watermark to the newest row it saw drops every row it did not receive. since is an INCLUSIVE floor, so rows repeat rather than go missing — de-duplicate on id. READ-ONLY by decision: there is no ack and no delete here, because acknowledging an alert is the human's own triage on their dashboard and an agent that acks on their behalf silences a row they have never seen. Report what the log says and let them clear it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional alert-type filter, e.g. 'record_changed'. An unknown value is rejected rather than silently returning an empty page — omit it unless you know the exact type. | |
| limit | No | Page size, 1..100 (default 50). Page down with `before` before you advance `since`, or you will skip every row you did not receive. | |
| since | No | Optional ISO-8601 timestamp: return alerts created at or after it (INCLUSIVE). Poll by storing the newest created_at you have seen and passing it back — rows repeat rather than go missing, so de-duplicate on id. | |
| before | No | The opaque cursor from a previous page's next_before, relayed verbatim to fetch the next older page. Never construct or edit one. | |
| domain | No | Optional filter to ONE of the account's verified monitored domains. Omit it for every domain the account monitors; an unowned or unknown name is refused as not found. |