Access device info from an action

Is it possible to access the same info that is returned from the “Reading a device” API directly from an action? For instance, can I get device metadata in an action without making an API call?

Hiello Lachlan,

If you are referring to a cloud action/connector, you will need to use the API. You can get the device name from the cloud action/connector input stream path, Example
path": “/iot_solutions/devices/judkins_fx30s01_debug/:default”
is in the JSON for an event.