@KelvidPa
From the AI Assistant within AEP:
To extract the metadata of an audience, including its ID, name, attributes, and condition, you can use the Adobe Experience Platform Query Service. The Query Service allows you to retrieve specific information about audiences by making a GET request ...