Take a look at the Get MasteryPages method?