Is it possible to use the API to pull all past alerts for a team? Some of my team’s past alerts have notes on them. I would like to collect data on which past alerts have notes and which don’t.
Thanks for reaching out on our Community space! The list incidents API would be for this, notes would be listed on the Incident itself and not the Alert
Thanks for your response but this doesn’t help me because I am looking to get all the PAST alerts for my team but the
/incidents endpoint only pulls active alerts.
By past I mean
resolved and by active I mean
Hi William, I would strongly encourage (if you’re going to be working with the PD API relatively regularly) to use the PD-CLI command. It makes life much easier when working with most of the PD objects. Here is the link:
It will allow you to get all the resolved incidents including alerts. see the wiki page in the github repo.