Get the status of a wireless interface

Hi friends,

How can I get the status of an interface (of a external CAP unit) from CAPsMAN (running, not running or cac)?

For example, I have tried this way but it is not possible:

:put [/interface/wifi/get [find name=5G-Salon] value-name=state]
input does not match any value of value-name

Thanks.