Snapshot text
get_snapshotThe text of a monitor's page as it was at a snapshot, by default the latest; one monitor ('watch') or several ('watches' or a 'tag', paged). By default only what its filters select. unfiltered=true gives the whole page instead, for questions its filters don't cover, e.g. 'the fried cheese prices on all my restaurant menus' when the filter only picks out the beer prices (kept for the newest two snapshots).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | A tag/group, by name or uuid | |
| html | No | The page's HTML source as fetched instead of text, e.g. to write a CSS selector for include_filters (kept for the newest two snapshots) | |
| limit | No | Several monitors: how many in this call | |
| watch | No | The monitor: its uuid, or part of its title or URL if that matches only one | |
| offset | No | ||
| watches | No | Monitors, each a uuid or part of its title/URL | |
| max_chars | No | Per monitor: default 20000 for one, 5000 (at most 50000) each for several | |
| timestamp | No | Which snapshot: 'latest', 'previous', unix seconds, or an ISO date/datetime (uses the snapshot at or before it) | latest |
| unfiltered | No | The whole page, before the include/exclude filters and triggers |