Get the alerts history items limited by the given filter and the
configId filter is set, then the results contains all events for that alert configuration. In any other case, the results are aggregated by
configId including the following derived values:
durationthe sum of event durations.
triggeredCountthe number of events for that alert in that item.
costthe HumanOps cost in seconds. For more information please check our support docs
When the query is aggregated, the non-derived fields are from the document whose
startDate is the newest. In addition to this, an unique id is generated by concatenating the
itemId and the