N.Y. Comp. Codes R. & Regs. tit. 9, § 180-1.7
(a) Admission to a detention facility shall be limited to:
(c) A youth may be admitted to a detention facility for detention care without a warrant when referred by a peace officer who has taken the child into custody pursuant to section 718, 721 or 723 of The Family Court Act when such officer certifies, in writing, that he has complied with section 724 of The Family Court Act. Such certification shall include the fact that efforts have been made to notify the parent or other person legally responsible for care, and state the reasons such person or persons will not, or cannot, produce the youth before the Family Court as ordered. Said officer shall further certify that he will cause a petition to be filed against the youth on the next day Family Court is in session.
(2) Visitors shall be authorized as follows:
(d) When a youth is brought to a detention facility, pursuant to section 724(b) (iii) of The Family Court Act, the probation service or the administrator responsible for operating the detention facility is authorized, before the filing of a petition, to release the youth to the custody of a parent or other relative, guardian or legal custodian when the events that occasioned the taking into custody:
(3) appear to involve a petition to determine whether the youth is a juvenile delinquent unless:
(e) Youth referred for detention by the division shall be placed in a non-secure detention facility, unless a determination is made by the division that secure detention is needed. Requirements to be met for secure detention are: