Example
Alert records are read-only entities created automatically by the Fiddler
platform when AlertRules trigger. They cannot be created or modified directly
but provide valuable historical data for analysis and debugging.
Alert records are read-only entities that capture historical alert
trigger events. They are created automatically by the system and
cannot be modified after creation.
classmethod list()
List alert records triggered by a specific alert rule. Retrieves historical alert records for analysis and troubleshooting. This method provides access to all alert trigger events within a specified time range, enabling pattern analysis and threshold tuning.Parameters
The unique identifier of the AlertRule to retrieve records for.
Must be a valid alert rule UUID.
Start time for filtering alert records. If None, defaults to
7 days ago. Used to define the beginning of the query window.
End time for filtering alert records. If None, defaults to
current time. Used to define the end of the query window.
List of field names for result ordering. Prefix with ”-” for
descending order (e.g., [“-created_at”] for newest first).
Yields
AlertRecord – Alert record instances with complete
trigger details and context information.
Returns
Iterator[AlertRecord]
Example
Results are paginated automatically. The default time range is 7 days
to balance performance with useful historical context. Use ordering
parameters to get the most relevant results first.