Metropolitan Magistrate Jay Thereja recorded the minor's statement after the police had moved an application seeking the court's permission to record the alleged victim's statement by a magistrate under section 164 CrPC.
The girl's statement recorded under Section 164 of CrPC before the magistrate in his chamber would be considered as a confession made during the probe and would be used by the prosecution to support its case in the trial.
The documents and the file containing the girl's statement recorded during an hour-long in-chamber proceeding was later kept in a sealed envelope.
Source in the Delhi police had said the victim managed to reach the terrace of the Sarojini Nagar apartment in south Delhi by slipping out using a ventilator and sought the help from neighbours. The police roped in an NGO for the rescue.
Neither she nor her family had been paid for the work. The girl and her employer, who works for Air India, are from Manipur, the police added.
The accused has been booked under sections relating to causing hurt, wrongful confinement, child labour and bonded labour, said the official.