As Chris Dobbs said, unless they have an oracle, so long as you succeed they will not know.
You'll get a notification on the bottom right, for a spy report which will be viewable through "Reports" on the left-hand menu under the mini-map. You can also see the 10 most recent spy reports through the cave.