Lexfill’s litigation case types don’t file anything with USCIS. Each collects the facts a federal court filing is built from, and the outputs are court documents: an analysis, a drafted pleading, and the complete filing package.Both run the same arc — a client-facing intake questionnaire, an attorney worksheet the client never sees, an analysis Lex runs before it drafts, and a package you file.
For unreasonable delay. The mandamus intake questionnaire collects:
The delayed application — receipt number, filing date, the office handling it, current status.
Case timeline — every notice, appointment and response, in order.
Attempts to resolve the delay — e-Requests, USCIS calls, Ombudsman and congressional inquiries, expedite requests.
Hardship — the specific, personal consequences of the delay.
Risk screening and venue/counsel live on the attorney worksheet.The outputs: a delay analysis graded against USCIS’s own published processing times; a drafted federal complaint; and the filing package — JS-44 civil cover sheet, AO 440 summonses, and the service documents.Ask Lex with /mandamus on a linked mandamus matter: it runs the delay analysis first and tells you plainly if the case is weak or premature — and stops there rather than drafting something you shouldn’t file.
Filing a mandamus invites USCIS to fully adjudicate. On a weak underlying
case that can mean a denial and a Notice to Appear. Lex repeats this warning
every time it drafts a complaint.
For detention review. Because the client is detained, the habeas intake questionnaire is written to be completed by the attorney, their staff, or a family member:
Where they are held — the facility and its street address, the A-number, and every period in immigration custody (which drives both venue and the time-detained math).
The immigration case — posture (proceedings pending, final removal order, related history), appeal status, travel-document history.
Bond requests — each request, the judge’s decision and its stated ground, and any appeal.
Health, family, and who is filling this out — medical needs, family circumstances, conditions at the facility.
Claims screening and venue/respondents live on the attorney worksheet — the family never sees them.The outputs: a detention analysis with its reasons spelled out; a drafted § 2241 petition with its verification block; and the filing package — JS-44 with the Alien Detainee nature-of-suit, AO 440 summonses per respondent, service documents, and (when requested on the worksheet) an application for an order to show cause asking the court to set a fast response deadline.Ask Lex with /habeas on a linked habeas matter.
Two things Lex flags on every habeas draft: mootness — habeas requires
custody at filing, so release during litigation may moot the petition; and
transfer — jurisdiction attaches at filing, so file in the district of
confinement before any transfer. A transfer after filing does not defeat it.
Each generator refuses the other’s case type, and neither should be imitated with a general drafting request. After a successful draft, Lex flags what you must verify by hand — the defendant or respondent set (especially the immediate custodian), venue, and every fact pulled from the intake.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lexfill","description":"Lex, the AI paralegal for immigration law firms — and the practice it runs on","colors":{"primary":"#D97706","light":"#F59E0B","dark":"#B45309"},"logo":{"light":"https://mintcdn.com/lexfill-ai/u8uP0lc6HW-jzB2O/logo/light.svg?fit=max\u0026auto=format\u0026n=u8uP0lc6HW-jzB2O\u0026q=85\u0026s=9de039c2e5260be387280b2c979c90a3","dark":"https://mintcdn.com/lexfill-ai/u8uP0lc6HW-jzB2O/logo/dark.svg?fit=max\u0026auto=format\u0026n=u8uP0lc6HW-jzB2O\u0026q=85\u0026s=c6a54be419d436b646ddc94e4c0b933b"},"favicon":"https://mintcdn.com/lexfill-ai/u8uP0lc6HW-jzB2O/favicon.svg?fit=max\u0026auto=format\u0026n=u8uP0lc6HW-jzB2O\u0026q=85\u0026s=a9af3cfd96a530bb025771214171a2b3","navbar":{"links":[{"href":"https://www.lexfill.ai","label":"Website"}],"primary":{"type":"button","label":"Open console","href":"https://app.lexfill.ai"}},"footer":{"socials":{"website":"https://www.lexfill.ai"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lexfill-ai","hasAudioNarration":false,"actualSubdomain":"lexfill-ai","customDomains":["help.lexfill.ai"],"gitSource":{"type":"github","owner":"hamittokay","repo":"lexfill","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af4b6d1a92ed7cc8a4a83f4","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Lex, your AI paralegal","count":5},{"language":"default","tag":"Clients","count":5},{"language":"default","tag":"Case work","count":5},{"language":"default","tag":"Your firm","count":3},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"Getting paid","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/litigation","slug":"/guides/litigation","pageMetadata":{"title":"Litigation","description":"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package","href":"/guides/litigation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`two-federal-case-types`,children:`Two federal case types`}),`\n`,_jsx(_components.p,{children:`Lexfill’s litigation case types don’t file anything with USCIS. Each collects the facts a federal court filing is built from, and the outputs are court documents: an analysis, a drafted pleading, and the complete filing package.`}),`\n`,_jsx(_components.p,{children:`Both run the same arc — a client-facing intake questionnaire, an attorney worksheet the client never sees, an analysis Lex runs before it drafts, and a package you file.`}),`\n`,_jsx(Heading,{level:`2`,id:`federal-mandamus`,children:`Federal Mandamus`}),`\n`,_jsxs(_components.p,{children:[`For unreasonable delay. The `,_jsx(_components.strong,{children:`mandamus intake questionnaire`}),` collects:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The delayed application`}),` — receipt number, filing date, the office handling it, current status.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Case timeline`}),` — every notice, appointment and response, in order.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Attempts to resolve the delay`}),` — e-Requests, USCIS calls, Ombudsman and congressional inquiries, expedite requests.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Hardship`}),` — the specific, personal consequences of the delay.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Risk screening and venue/counsel live on the `,_jsx(_components.strong,{children:`attorney worksheet`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The outputs:`}),` a delay analysis graded against USCIS’s own published processing times; a drafted federal complaint; and the filing package — JS-44 civil cover sheet, AO 440 summonses, and the service documents.`]}),`\n`,_jsxs(_components.p,{children:[`Ask Lex with `,_jsx(_components.code,{children:`/mandamus`}),` on a linked mandamus matter: it runs the delay analysis first and tells you plainly if the case is weak or premature — and stops there rather than drafting something you shouldn’t file.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Filing a mandamus invites USCIS to fully adjudicate. On a weak underlying\ncase that can mean a denial and a Notice to Appear. Lex repeats this warning\nevery time it drafts a complaint.`})}),`\n`,_jsx(Heading,{level:`2`,id:`habeas-corpus-—-detention-28-us-c-§-2241`,children:`Habeas Corpus — Detention (28 U.S.C. § 2241)`}),`\n`,_jsxs(_components.p,{children:[`For detention review. Because the client is detained, the `,_jsx(_components.strong,{children:`habeas intake questionnaire`}),` is written to be completed by the attorney, their staff, or a family member:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Where they are held`}),` — the facility and its street address, the A-number, and every period in immigration custody (which drives both venue and the time-detained math).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The immigration case`}),` — posture (proceedings pending, final removal order, related history), appeal status, travel-document history.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Bond requests`}),` — each request, the judge’s decision and its stated ground, and any appeal.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Health, family, and who is filling this out`}),` — medical needs, family circumstances, conditions at the facility.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Claims screening and venue/respondents live on the `,_jsx(_components.strong,{children:`attorney worksheet`}),` — the family never sees them.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`The outputs:`}),` a detention analysis with its reasons spelled out; a drafted § 2241 petition with its verification block; and the filing package — JS-44 with the Alien Detainee nature-of-suit, AO 440 summonses per respondent, service documents, and (when requested on the worksheet) an application for an order to show cause asking the court to set a fast response deadline.`]}),`\n`,_jsxs(_components.p,{children:[`Ask Lex with `,_jsx(_components.code,{children:`/habeas`}),` on a linked habeas matter.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Two things Lex flags on every habeas draft: `,_jsx(_components.strong,{children:`mootness`}),` — habeas requires\ncustody at filing, so release during litigation may moot the petition; and\n`,_jsx(_components.strong,{children:`transfer`}),` — jurisdiction attaches at filing, so file in the district of\nconfinement `,_jsx(_components.em,{children:`before`}),` any transfer. A transfer after filing does not defeat it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-stays-yours`,children:`What stays yours`}),`\n`,_jsx(_components.p,{children:`Each generator refuses the other’s case type, and neither should be imitated with a general drafting request. After a successful draft, Lex flags what you must verify by hand — the defendant or respondent set (especially the immediate custodian), venue, and every fact pulled from the intake.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Litigation","description":"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package","href":"/guides/litigation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Two federal case types","slug":"two-federal-case-types","depth":2,"children":[]},{"title":"Federal Mandamus","slug":"federal-mandamus","depth":2,"children":[]},{"title":"Habeas Corpus — Detention (28 U.S.C. § 2241)","slug":"habeas-corpus-—-detention-28-us-c-§-2241","depth":2,"children":[]},{"title":"What stays yours","slug":"what-stays-yours","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lexfill-ai","siteName":"Lexfill","title":"Litigation - Lexfill","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-17T15:17:56.085Z","originalFileLocation":"guides/litigation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lexfill\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Litigation - Lexfill\">\u003cmeta data-mint-head property=\"og:description\" content=\"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lexfill\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.lexfill.ai/guides/litigation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lexfill-ai.mintlify.site/_mintlify/api/og/v2?division=Lex%2C+your+AI+paralegal\u0026amp;title=Litigation\u0026amp;description=Federal+mandamus+and+%C2%A7+2241+habeas+%E2%80%94+intake%2C+analysis%2C+pleading%2C+filing+package\u0026amp;theme=4dab1e6c7977235732593a82\u0026amp;signature=1c3c45f90d1fdcd315730396e8eb5ee17f528bbb49beb40911af2b63292104f3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Litigation - Lexfill\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lexfill-ai.mintlify.site/_mintlify/api/og/v2?division=Lex%2C+your+AI+paralegal\u0026amp;title=Litigation\u0026amp;description=Federal+mandamus+and+%C2%A7+2241+habeas+%E2%80%94+intake%2C+analysis%2C+pleading%2C+filing+package\u0026amp;theme=4dab1e6c7977235732593a82\u0026amp;signature=1c3c45f90d1fdcd315730396e8eb5ee17f528bbb49beb40911af2b63292104f3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lexfill-ai/yu0ar7JDabKQBeIr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lexfill\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D97706\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.lexfill.ai/guides/litigation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/litigation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.lexfill.ai/#organization\",\"name\":\"Lexfill\",\"url\":\"https://help.lexfill.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lexfill-ai/u8uP0lc6HW-jzB2O/logo/light.svg?fit=max\u0026auto=format\u0026n=u8uP0lc6HW-jzB2O\u0026q=85\u0026s=9de039c2e5260be387280b2c979c90a3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.lexfill.ai#website\",\"name\":\"Lexfill\",\"url\":\"https://help.lexfill.ai\",\"publisher\":{\"@id\":\"https://help.lexfill.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.lexfill.ai/guides/litigation#webpage\",\"url\":\"https://help.lexfill.ai/guides/litigation\",\"name\":\"Litigation\",\"description\":\"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package\",\"dateModified\":\"2026-08-17T15:17:56.085Z\",\"isPartOf\":{\"@id\":\"https://help.lexfill.ai#website\"},\"breadcrumb\":{\"@id\":\"https://help.lexfill.ai/guides/litigation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.lexfill.ai/guides/litigation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lex, your AI paralegal\",\"item\":\"https://help.lexfill.ai/guides/lex\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Litigation\",\"item\":\"https://help.lexfill.ai/guides/litigation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.lexfill.ai/guides/litigation#article\",\"headline\":\"Litigation\",\"name\":\"Litigation\",\"description\":\"Federal mandamus and § 2241 habeas — intake, analysis, pleading, filing package\",\"url\":\"https://help.lexfill.ai/guides/litigation\",\"mainEntityOfPage\":{\"@id\":\"https://help.lexfill.ai/guides/litigation#webpage\"},\"dateModified\":\"2026-08-17T15:17:56.085Z\",\"publisher\":{\"@id\":\"https://help.lexfill.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://help.lexfill.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lexfill\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lexfill\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/litigation.md","siteName":"Lexfill","nav":{"global":null,"groups":[{"group":"Getting started","pages":[{"title":"What is Lexfill?","href":"/index"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Lex, your AI paralegal","pages":[{"title":"Working with Lex","href":"/guides/lex"},{"title":"AI review","href":"/guides/ai-review"},{"title":"Review","href":"/guides/review"},{"title":"Filing packets","description":"One merged, stamped, QA-checked PDF in your firm's own order","href":"/guides/packets"},{"title":"Litigation","href":"/guides/litigation"}]},{"group":"Clients","pages":[{"title":"Leads","description":"Capture prospects with a public form, work them through a pipeline, and convert the ones you hire","href":"/guides/leads"},{"title":"Consultations","href":"/guides/bookings"},{"title":"Clients \u0026 intakes","href":"/guides/clients-and-intakes"},{"title":"Client portal","href":"/guides/client-portal"},{"title":"Messaging","href":"/guides/messaging"}]},{"group":"Case work","pages":[{"title":"Forms","href":"/guides/forms"},{"title":"Documents","href":"/guides/documents"},{"title":"Government tracking","href":"/guides/government"},{"title":"Tasks","href":"/guides/tasks"},{"title":"Calendar","href":"/guides/calendar"}]},{"group":"Getting paid","pages":[{"title":"Invoicing \u0026 payments","href":"/guides/invoicing"}]},{"group":"Your firm","pages":[{"title":"Firm Library","href":"/guides/library"},{"title":"Team \u0026 settings","href":"/guides/team-and-settings"},{"title":"Integrations","href":"/guides/integrations"}]}]},"basePath":"","title":"Litigation - Lexfill","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}