California
Code of Civil Procedure CCP § 1281.5
(1) Includes an allegation in the complaint that the claimant does not intend to waive any right of arbitration, and intends to move the court, within 30 days after service of the summons and complaint, for an order to stay further proceedings in the action.
(2) At the same time that the complaint is filed, the claimant files an application that the action be stayed pending the arbitration of any issue, question, or dispute that is claimed to be arbitrable under the agreement and that is relevant to the action to enforce the claim of lien.
(b) Within 30 days after service of the summons and complaint, the claimant shall file and serve a motion and notice of motion pursuant to Section 1281.4 to stay the action pending the arbitration of any issue, question, or dispute that is claimed to be arbitrable under the agreement and that is relevant to the action to enforce the claim of lien. The failure of a claimant to comply with this subdivision is a waiver of the claimant’s right to compel arbitration.
(c) The failure of a defendant to file a petition pursuant to Section 1281.2 at or before the time the defendant answers the complaint filed pursuant to subdivision (a) is a waiver of the defendant’s right to compel arbitration.