A city of the first class may require from any officer of the city at any time a report in detail of the transactions in his or her office or of any matters connected therewith.