> ## Documentation Index
> Fetch the complete documentation index at: https://docs.courtrules.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Rules

> Returns FRCP, local rules, and standing order rules for a specific federal judge, organized by authority layer

<ParamField query="judge_slug" type="string" required>
  Judge slug identifier (e.g. `gary-r-brown`)
</ParamField>

<ParamField query="district_id" type="string" required>
  District identifier. Currently supported: `edny`
</ParamField>

<ParamField query="document_scope" type="string">
  Filter rules relevant to this document type. See [Document
  Structure](/concepts/document-structure) for values.
</ParamField>

<ParamField query="motion_type" type="string">
  Filter rules relevant to this motion type (e.g. `Rule_56`, `discovery`, `Rule_12`).
</ParamField>

<RequestExample>
  ```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
  curl 'https://api.courtrules.app/api/v1/rules?judge_slug=gary-r-brown&district_id=edny&document_scope=brief_support&motion_type=Rule_56' \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "judge": {
      "slug": "gary-r-brown",
      "name": "Gary R. Brown"
    },
    "rules": {
      "frcp": [
        {
          "rule_key": "FormatConstraint:caption",
          "citation": "FRCP 10(a)",
          "label": "Federal Rules of Civil Procedure",
          "summary": "Every pleading must include a caption with court name, case title, docket number, and document designation.",
          "severity": "CRITICAL"
        },
        {
          "rule_key": "DocumentRequirement:sj_no_genuine_dispute",
          "citation": "FRCP 56(a)",
          "label": "Federal Rules of Civil Procedure",
          "summary": "SJ motion must identify each claim/defense and show no genuine dispute of material fact.",
          "severity": "CRITICAL",
          "applies_to": ["Rule_56"]
        }
      ],
      "local_rules": [
        {
          "rule_key": "PageWordLimitRule:memo_support",
          "citation": "LR 7.1(c)",
          "label": "EDNY Local Civil Rule",
          "summary": "Support/opposition briefs: 8,750 words max. Reply briefs: 3,500 words max.",
          "severity": "CRITICAL",
          "applies_to": ["brief_support", "brief_opposition", "brief_reply"]
        }
      ],
      "standing_order": [
        {
          "category": "PAGE_LIMIT",
          "summary": "Brief Support limited to 20 pages",
          "source": "Brown SO §2.B"
        },
        {
          "category": "COURTESY_COPY",
          "summary": "Courtesy copy always required",
          "source": "Brown SO §1"
        },
        {
          "category": "PMC",
          "summary": "Pre-motion conference required. Letter <= 3pp.",
          "source": "Brown SO §3.A"
        },
        {
          "category": "BUNDLING",
          "summary": "Do NOT file until motion is fully briefed",
          "source": "Brown SO §3.B"
        }
      ]
    },
    "meta": {
      "total_rules": 25
    }
  }
  ```
</ResponseExample>

## Response fields

<ResponseField name="judge" type="object">
  Judge identification
</ResponseField>

<ResponseField name="rules" type="object">
  Hierarchical rule set organized by source

  <Expandable title="Rules object">
    <ResponseField name="frcp" type="array">
      Federal Rules of Civil Procedure applicable to this context
    </ResponseField>

    <ResponseField name="local_rules" type="array">
      District local rules applicable to this context
    </ResponseField>

    <ResponseField name="standing_order" type="array">
      Judge-specific standing order rules
    </ResponseField>
  </Expandable>
</ResponseField>

## Filtering behavior

When `document_scope` and/or `motion_type` are provided, rules are filtered to show only those relevant to the specified context. Rules with no `applies_to` field are always included (they apply universally).
