What spells or magic items are available to detect lies?


I’m playing through Storm King’s Thunder, and came across an unusual magic item:

Gavel of the Venn Rune

The Gift of Truth feature for this item says:

Whenever a creature utters a lie while within the 30-foot-radius sphere, that creature takes 5 psychic damage and flinches visibly.

This is pretty cool, but it makes me wonder:

What spells or magic items are available to detect lies?