Ezra 5:10 Midrash

וְאַ֧ף שְׁמָהָתְהֹ֛ם שְׁאֵ֥לְנָא לְּהֹ֖ם לְהוֹדָעוּתָ֑ךְ דִּ֛י נִכְתֻּ֥ב שֻׁם־גֻּבְרַיָּ֖א דִּ֥י בְרָאשֵׁיהֹֽם׃ (ס)

We asked them their names also, to announce to thee, that we might write the names of the men that were at the head of them.

Read midrashic interpretation of Ezra 5:10: and classical rabbinic exegesis.