Searching for Audiences that use a specific attribute | Community
Skip to main content
DavidRoss91
Community Advisor
Community Advisor
January 11, 2024
Solved

Searching for Audiences that use a specific attribute

  • January 11, 2024
  • 3 replies
  • 1155 views

Hello,

Does anyone know if there is a way to find out all audiences in a sandbox that use a specific attribute? Without having to look at each audience 1 by 1.

 

Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by abhinavbalooni

Hey @davidross91 

 

You can use an API endpoint to grab all the segment definitions in your sandbox.

Here's the link to the postman collection for AEP APIs : https://github.com/adobe/experience-platform-postman-samples/tree/master/apis/experience-platform

 

You are looking for 'List Segment Definitions' endpoint under Segmentation Service --> Segment Definitions.

The endpoint looks like this: https://platform.adobe.io/data/core/ups/segment/definitions

 

Once you make a request using the above endpoint, you would get all the segment definitions as part of the response which you can then search for a specific attribute like in the screenshot below, I am looking at email.

 

 

Hope this would help you with what you are working on.

 

Cheers,

Abhinav

 

 

3 replies

arpan-garg
Community Advisor
Community Advisor
January 11, 2024

Hi @davidross91  - Sorry i am unable to understand it. Do you mean that you want to search for all the profiles that have a specific attribute or you want to know all segments?

DavidRoss91
Community Advisor
Community Advisor
January 11, 2024

Hi @arpan-garg looking for all segments/audiences that have that specific attribute.

abhinavbalooni
Community Advisor
abhinavbalooniCommunity AdvisorAccepted solution
Community Advisor
January 11, 2024

Hey @davidross91 

 

You can use an API endpoint to grab all the segment definitions in your sandbox.

Here's the link to the postman collection for AEP APIs : https://github.com/adobe/experience-platform-postman-samples/tree/master/apis/experience-platform

 

You are looking for 'List Segment Definitions' endpoint under Segmentation Service --> Segment Definitions.

The endpoint looks like this: https://platform.adobe.io/data/core/ups/segment/definitions

 

Once you make a request using the above endpoint, you would get all the segment definitions as part of the response which you can then search for a specific attribute like in the screenshot below, I am looking at email.

 

 

Hope this would help you with what you are working on.

 

Cheers,

Abhinav

 

 

NimashaJain
Adobe Employee
Adobe Employee
January 15, 2024

@davidross91 Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.

DavidRoss91
Community Advisor
Community Advisor
January 15, 2024

Hi, I have marked the above solution correct.