Scan (5e Spell)

From D&D Wiki

You target a creature within range when you cast this spell, the unfathomable knowledge and wisdom of the gods is invoked, and their understanding of the target is gifted to you. Once cast, you can ask the DM one question about any one of the targets statistics or abilities, and the DM answers the question ( e.g. its current AC, its current hit points, an ability score, its CR, it's level, can it cast spells, its highest spell slot, the number of different attacks, does it have multiattack, it's special abilities ) once the spell is cast, the target becomes immune to the effect of this spell for 24 hours.