All forms below with a "fillable icon" are documents that you can open "on-line", fill in the appropriate fields and then print on your printer. In your petition, clearly explain why you are being held illegally.We maintain the public record of court proceedings, ensure access to the Court, and provide administrative support to all of the Court's judicial officers. It tests the legality of a detention or a restraint and the goal is to use it really almost i guess it's an emergency basis. No. PETITION FOR WRIT OF HABEAS CORPUS AD TESTIFICANDUM. A habeas petition is used when one is contesting the validity of their sentence or conviction. Though subject to different rules, incarcerated people in both state or federal custody may petition for a federal writ of habeas corpus. What Is Habeas Corpus? If a federal issue has been preserved, a petition for certiorari may be filed in the United States Supreme Court, or a federal habeas corpus petition may be. Before e-filing any "flattened" form, be sure to open the file to make sure that it looks filled out. Forms.