וּבָאתָ֗ אֶל־הַכֹּהֲנִים֙ הַלְוִיִּ֔ם וְאֶ֨ל־הַשֹּׁפֵ֔ט אֲשֶׁ֥ר יִהְיֶ֖ה בַּיָּמִ֣ים הָהֵ֑ם וְדָרַשְׁתָּ֙ וְהִגִּ֣ידוּ לְךָ֔ אֵ֖ת דְּבַ֥ר הַמִּשְׁפָּֽט׃
and appear before the levitical priests, or the magistrate in charge at the time, and present your problem. When they have announced to you the verdict in the case,
Torah Temimah points to Sanhedrin / Sifrei.
דבר המשפט. מלמד ששואלין על דבר המשפט.
English: The matter of the judgment — this teaches that one inquires concerning the matter of the judgment.
The phrase emphasizes that the inquiry is specifically for a legal ruling.
Derash on the verse (Sifrei) — not a formal named middah of the 13.
The parties come to the high court specifically to receive a binding legal decision.