Pleadings
Pleadings are formal written documents that are filed with the court as part of a civil lawsuit. Pleadings become part of the case file, and which means they are a public record unless ordered sealed by the court.
The court's procedural rules tell you what needs to be included in a pleading, how it should look, where it should be filed, whether there are any filing fees, and so on. Usually, no matter the jurisdiction, a pleading must contain the name of the court, the title of the lawsuit (known as the "caption") and the docket number, if one has been assigned.
Complaint - the pleading that marks the beginning of a case; the document that sets forth a jurisdictional basis for the court's power, the plaintiff's cause of action, and a demand for judicial relief.
Answer - the defendant's first pleading in a case; the document that addresses the dispute on the merits and presents any defenses and counterclaims. A typical answer denies most of the plaintiff's allegations and claims complete defenses to allegations that are not denied.
Counterclaim - a claim for relief filed against an opposing party after the original claim is filed. Most commonly, it is a claim by the defendant against the plaintiff.
Crossclaim- a claim brought by one defendant against another in the same proceeding.
Order - the decision of a court or judge.
Pre-Trial Motions - procedural tools in which one party asks the judge to make a ruling or order on a legal issue. Evidentiary motions set the rules for trial in terms of what can or cannot be considered by the jury. Motions to dismiss and motions for summary judgment are two more common pre-trial motions. In a motion to dismiss, the defendant asks the court to throw out the lawsuit because the plaintiff is not entitled to any legal relief. Either party can file a motion for summary judgment, which asks the court to decide the case on the merits prior to trial because there are no disputed facts.
Motions After Trial - The losing party can file a motion for a new trial, claiming there were legal errors that harmed the losing party's position. The losing party can also file a motion for judgment notwithstanding the verdict, arguing that the evidence cannot possibly support the jury's verdict. Motions like these are very rarely granted, because the moving party has a very difficult burden of proof to overcome.
Amended Pleadings - The court can give either party permission to file an amended pleading, which simply changes or expands on information provided in the original version of the document (an amended complaint might contain allegations not included in the original, and an amended answer might include affirmative defense not previously raised, for example).
Writ of Certiorari - an order a higher court issues in order to review the decision and proceedings in a lower court and determine whether there were any irregularities. When a court issues a writ or certiorari it is referred to as "granting certiorari", or 'cert.'
https://www.law.cornell.edu/wex/pleading