Hi @keerthivasanj96 ,
As of now, Audience Lab Test Segments can not be consumed in Adobe campaign. These segments are being returned by APIs that Adobe campaign is not consuming as of today.
I had a discussion on the similar use case with one of our product manager to check for any workarounds and as per him you will need to manually create segment references in other solutions as the creation of test segments in other solutions is not automated and that should be the workaround. We’re at the very beginning of working with other solutions on this.
You can fetch the details of audience lab test segment using below mentioned APIs.
https://api.demdex.com/v1/segment-test-groups -----It will fetch the segment test group Id
https://api.demdex.com/v1/segment-test-groups/{segmentTestGroupId} ----It will fetch specific details for each test group
https://api.demdex.com/v1/segments/?includeTestSegments=true ----It will fetch details of all the segments. You can filter out the legacy id of test segments using test group Id.
Regards,
Shweta