alert_history
Retrieve recent trigger-history records for a specific alert to see when it fired. Use the total count and truncated flag to determine if older records were omitted, then increase the limit if needed.
Instructions
[READ] List recent trigger-history records for an alert.
Use this for when an alert fired, not how it's defined. alert_id = the alert id (from alert_list). limit = max records (default 50). target = target name from config. Returns the family list envelope {items, returned, limit, total, truncated, hint}; each item is {timestamp_ms, info}. total is the real history-record count, so truncated answers whether older records were left behind — raise limit when true. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No | ||
| alert_id | Yes |