Settings API for Problem Notifications question

I am trying to use the new settings API to retrieve the details about Problem Notifications.

I am successfully retrieving the list of all problem notifications with:

<span>/api/v2/settings/objects?schemaIds=builtin%3Aproblem.notifications&scopes=environment&fields=objectId%2Cvalue%2Cscope</span>

and then retrieving the details for each with:

<span>/api/v2/settings/objects/' </span>+ notification<span>[</span><span>'objectId'</span><span>]</span>

but I cannot figure out how to get the event filters:

Hi MarciaB,

The settings schema you are using is for problem notifications. Alerting profiles is the schema you need (builtin:alerting.profile). When you pull the alerting profiles, the payload has a section called “eventFilters” which will have the information you want!

Best regards,

Paco