You may be looking for court record.
A court recorder was someone who took statements from those who wished to give evidence in a criminal matter.
In 2293, an announcement was broadcast across the USS Enterprise-A ordering the court recorder to come to sickbay and take statements from Yeoman Burke and Samno. In reality, it was a(n ultimately successful) ruse to draw out Chancellor Gorkon's murderer. (Star Trek VI: The Undiscovered Country)