Skip to main content
Court Rules fits into a product in several ways, from a quick pre-flight check while a user drafts to a monitor that watches for new enforcement events. The sections below describe each pattern, and the table at the end helps you choose one.

Overview


Pattern 1: Pre-flight check

Call /check with just page_count and word_count while the user is still drafting. The check then catches the most common compliance failures (page and word limits, PMC requirements, filing gates) with minimal input.
When to use: During drafting, on document save, or before the user starts formatting. It needs only two fields and catches the failures that waste the most time. What you get: Page limit, word limit, courtesy copy, PMC, filing gate, and bundling checks. What you miss: Structural checks (caption, signature, sections), formatting checks (font, margins), and privacy checks. The document must be parsed for those checks.

Pattern 2: Full compliance check

After your application parses the document (e.g., extracting caption fields, checking for a table of contents, measuring font sizes), send the full document structure to /check.
When to use: Before filing, after the document is finalized. The call runs every available check. What you get: All checks: limits, formatting, structure, privacy, consistency, and judge-specific standing order rules.

Pattern 3: Rules lookup

Call /rules to display applicable rules proactively, before the user even starts drafting. Show them the requirements for their judge and motion type up front.
When to use: When the user selects a judge or starts a new filing. Show them the rules before they draft, not after. What you get: The complete rule set organized by authority layer (FRCP, Local Rules, Standing Order), filtered to the relevant document type and motion.

Pattern 4: Classify, then check

Upload a PDF to /classify, which extracts metadata and classifies the document automatically. The response includes a check_request with the extracted document metadata. Before sending to /check, add the filing context fields that only the filer knows. Important: page_count in the /classify response is body pages, not total PDF pages. Front matter (cover page, table of contents, table of authorities) and back matter (certificate of service, signature pages) are automatically excluded, which is how courts count pages for limits.
When to use: When you have a PDF but haven’t built your own document parser. The /classify endpoint handles the analysis and produces a ready-to-use /check request. Latency note: /classify takes 10 to 30 seconds because a model reads the PDF, while /check applies fixed rules and uses no model. Plan your UX accordingly: show a loading state for classification, then show the check results when they arrive.

Pattern 5: Enforcement monitoring

Monitor privacy enforcement actions and trigger compliance reviews when relevant events appear. Input needed: Jurisdiction filters, industry, date range What you call: search_privacy_enforcement_actions via MCP, polled once a day Use during: Ongoing compliance monitoring When a new enforcement event matches your criteria, call get_privacy_enforcement_action to get the full context including search_terms (contract clauses to review) and contract_impact (what to check in vendor agreements). For the full enforcement tool reference and parameters, see the MCP: enforcement data guide.

Choosing a pattern

Most integrations use pattern 1 during drafting and pattern 2 before filing. Pattern 3 is for proactive UIs. Pattern 4 is for applications that accept PDF uploads and don’t have their own document parser. Pattern 5 runs alongside the court rules patterns for teams that also need regulatory monitoring.