A segment is a group of users that are labeled as part of a segment by fitting the criteria through the events, user attributes or other segment of a segment. A user joins or leaves a segment based on the defined events, user attributes filters or\and other segments.
This request can help you to get the latest segmentation by different parameters.
The profile filter only accepts a json object, hence you will need to encode that into url format.
The segmentations for provided user will be returned.