Declaratory relief

Declaratory relief is a judicial determination (called a "declaratory judgment") of the parties' rights under a contract or a statute.