pf2e.fyi
From Pathfinder #173: Doorway to the Red Star, which isn't enabled.

Return To Essence

SPELL 7
Traditions arcane, divine, occult
Cast
Range 120 feet
Targets one magically sealed or warded doorway or chest

You unravel the magic of a spell that affects a container, door, or lock, converting it into energy you can repurpose to power your own spells.

Attempt a counteract check against the target spell or magical effect that wards or seals a doorway or chest, such as Lock, or against a spell or effect that deals damage or delivers secondary effects when it's opened, such as Rune Trap. If you succeed, you recover its energy, restoring one of your expended spell slots of 3rd rank or lower.


Heightened (8th) You can restore an expended spell slot of 4th rank or lower.
Heightened (9th) You can restore an expended spell slot of 5th rank or lower.
Heightened (10th) You can restore an expended spell slot of 6th rank or lower.
Pathfinder #173: Doorway to the Red StarOGL