Hi @cgweasel unfortunately this is not exposed, Xpresso is no longer developed except for critical issues, it is very likely that this will not be added to the API.
I am very sorry for my lack of reading the Guidelines properly.
But still, very huge thanks to you for the explanation anyway. This already helped me. I will try things out and will probably come back here with some code. 😄