API usage for custom segmentation

Is there a way to write an API call for a custom segmentation? For instance, we track/report on a list of 39 URLs which have been added as a segment (they are a portal on a wiki & there is no hierarchy as they all fall under /wiki). How can I pull that data with the API? Is there a way to call the name of the segment created?

We are also testing variable usage re tracking these urls, but we can’t list each url with stats that way - is that correct or am I just not looking in the right place? The stats seem to only be shown as the variable you have named it as.