API Method to Fetch Segment Name

Does this help?