Joint force direction

Hi, when I am using the API for joint force: robot.get_measured_joint_forces(), what is the direction of the six-dimension force, XYZ in world frame or which frame?