How to use Oculus Vrapi in UE4/ how to change Oculus Quest tracking space

I need to change the tracking space on the Oculus Quest to stage mode. As described in this article:
https://developer.oculus.com/documentation/quest/latest/concepts/mobile-guardian/

This is the code I need to use:

 vrapi_SetTrackingSpace( ovr, VRAPI_TRACKING_SPACE_STAGE );

I can’t figure out how to use the Vrapi in c++. Is it possible?

Can access this with the “set tracking origin” node in the Oculus engine branch.