1. Describe your incident:
Hi, I’m trying to get the active alerts (say for the past hour) through the API and Python, but I’m not able to find the API calls that will get me that.
2. Describe your environment:
- OS Information:
Ubuntu 20.04 - Package Version:
4.3.3
3. What steps have you already taken to try and solve the problem?
I have browsed the API page and tried anythıng related to Event/Alert/Definitions/Notifications and I was able to get information about the definitions I have but not the current alarms, I wonder if I’m missing something or the API doesn’t do that.
There is an API call /streams/{streamId}/alerts/check that looks like what I need, but supplying a stream ID that I know there are alerts for (I can see them in the Alerts page) yields no results (“total_triggered”: 0)
4. How can the community help?
Could you please direct me to the correct API or if there is a known method to get the alarms list.
Thank you.