Merge "Add new getHistoricalSessions API to PMInternal" into main