The procedure for filing a petition for a writ of habeas corpus is spelled out in the CPLR Article 70. The writ of habeas corpus primarily acts as a writ of inquiry, issued to test the reasons or grounds for restraint and detention.You should use this form if. These are the official forms for use in Family Court proceedings. Define the writ of habeas corpus and its literal translation. Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. This Chapter explains the writ of habeas corpus and lays out the procedures you will need to follow to petition for the writ. This Chapter explains an important right—the writ of habeas corpus. When a prisoner files a petition for a writ of habeas corpus, her custodian must explain why the restraint is lawful. ❖ Read this only if you need to file in a county in Washington State besides.