How to get FaceSet information from a python addon?


I would like to improve my addon (QuadRemesher) by using the FaceSets created by the user.
I don’t find a way to get access to the FaceSets (tags assigned to each face).
How can I access FaceSet information from my python script ?


I am looking for information on this as well. Is it possible to access the Sculpt facesets?