Getting a details of Instance Swap properties based on it's value

I would like to get the details of Instance Swap based on the values.
For Example,

Do you want to get the node object itself? Use the getNodeById method.