Several snapshots as diffs
get_historySeveral snapshots of one monitor in one call, compactly: the first in full, then each of the others only as a diff, so text that stays the same is sent once. Use it for 'how did this page/its prices change over time?'. Pick them with 'timestamps', or 'from'/'to', and 'sample' for that many evenly spaced ones (first and last included); more than 50 are sampled down to it. relative_to=previous (default) diffs each against the one before it, relative_to=first against the first. For 'what was added' on a list, line_timeline is smaller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Snapshots at or before this | |
| from | No | Snapshots at or after this: unix seconds or an ISO date | |
| watch | Yes | The monitor: its uuid, or part of its title or URL if that matches only one | |
| sample | No | Only this many, evenly spaced over the range | |
| context | No | ||
| max_chars | No | The first snapshot is cut at this | |
| max_lines | No | All the diffs together are cut at this | |
| timestamps | No | Which snapshots, each 'latest', 'previous', unix seconds, or an ISO date/datetime (uses the snapshot at or before it) | |
| relative_to | No | previous |