ThreeAxis in Rules

Hi,

I want to read out the x axis of the threeAxis in a rule using rules api. Which syntax has to be used?
The syntax
“component”: “main”,
“capability”: “threeAxis”,
“attribute”: “threeAxis[0]”

does not work.

Regards