The AAM API is specific for interacting with the same capabilities you
could have in the AAM UI. So creating/editing/deleting traits, segments,
data source, profile merge rules, getting data of a particular segment
as examples. It is not the API to do ID syncs or getting a specific
users data, or for sending user data.
https://experienceleague.adobe.com/docs/audience-manager/user-guide/api-and-sdk-code/rest-apis/aam-api-getting-started.html?lang=en#api-urls