I’m working on a tool with a workflow that would retrieve a list of incidents by the service-id, then iterate through those to resolve or acknowledge them with the Events V2 Api.
https://api.pagerduty.com/incidents?statuses=acknowledged&statuses=triggered (as well as the serviceId query param)
As I’m looking through the results of these, I don’t see a field that would line up with the value of the dedup_key. I understand from reading through the documents that the incident_key should be sufficient. When looking at that field, it’s null or has a value that looks different than a UUID.
Is there another field/value that can be used for the events api v2 dedup_key? or am I looking in the wrong place for it?