Skip to main content
POST
/
api
/
v1
/
check
curl -X POST https://api.courtrules.app/api/v1/check \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "judge_slug": "gary-r-brown",
    "district_id": "edny",
    "document_scope": "brief_support",
    "motion_type": "Rule_56",
    "document": {
      "page_count": 22,
      "word_count": 7200
    }
  }'
{
  "judge": {
    "slug": "gary-r-brown",
    "name": "Gary R. Brown",
    "coverage_level": "full"
  },
  "summary": {
    "status": "NON_COMPLIANT",
    "failures": 1,
    "warnings": 0,
    "passes": 1,
    "action_items": 3
  },
  "results": [
    {
      "severity": "CRITICAL",
      "category": "PAGE_LIMIT",
      "message": "22 pages exceeds 20-page limit",
      "source": "Brown SO §2.B",
      "status": "FAIL"
    },
    {
      "severity": "INFO",
      "category": "WORD_LIMIT",
      "message": "7,200 words within 8,750-word limit",
      "source": "EDNY LR 7.1(c)",
      "status": "PASS"
    },
    {
      "severity": "INFO",
      "category": "COURTESY_COPY",
      "message": "Courtesy copy required",
      "source": "Brown SO §1",
      "status": "ACTION_REQUIRED"
    },
    {
      "severity": "INFO",
      "category": "PMC",
      "message": "Pre-motion conference completed",
      "source": "Brown SO §3.A",
      "status": "PASS"
    },
    {
      "severity": "INFO",
      "category": "BUNDLING",
      "message": "Motion papers must NOT be filed until fully briefed",
      "source": "Brown SO §3.B",
      "status": "ACTION_REQUIRED"
    }
  ],
  "meta": {
    "checks_run": 5,
    "checks_skipped": 16,
    "coverage_note": "Full coverage: FRCP + EDNY Local Rules + Standing Order"
  }
}
judge_slug
string
required
Judge slug identifier (e.g. gary-r-brown)
district_id
string
required
District identifier (e.g. edny)
document_scope
string
required
Document type. One of: brief_support, brief_reply, brief_opposition, reconsideration_support, reconsideration_reply, letter, discovery_letter, proposed_findings, affidavit, settlement_statement, objection_response, rule_56_1_statement
motion_type
string
Motion type. One of: Rule_12, Rule_56, Rule_50, Rule_59, Rule_60, Daubert, TRO, preliminary_injunction, reconsideration, discovery, motion_to_amend, motion_in_limine, general
is_pro_se
boolean
default:"false"
Whether the filing party is pro se
pmc_completed
boolean
default:"false"
Whether a pre-motion conference has been completed for this motion
opposing_party_pro_se
boolean
default:"false"
Whether the opposing party is pro se (triggers additional notice requirements)
filing_role
string
default:"movant"
Filing role. One of: movant, opponent, reply
document
object
required
Document metadata. Only page_count and word_count are required. See Document Structure for all optional fields.
curl -X POST https://api.courtrules.app/api/v1/check \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "judge_slug": "gary-r-brown",
    "district_id": "edny",
    "document_scope": "brief_support",
    "motion_type": "Rule_56",
    "document": {
      "page_count": 22,
      "word_count": 7200
    }
  }'
{
  "judge": {
    "slug": "gary-r-brown",
    "name": "Gary R. Brown",
    "coverage_level": "full"
  },
  "summary": {
    "status": "NON_COMPLIANT",
    "failures": 1,
    "warnings": 0,
    "passes": 1,
    "action_items": 3
  },
  "results": [
    {
      "severity": "CRITICAL",
      "category": "PAGE_LIMIT",
      "message": "22 pages exceeds 20-page limit",
      "source": "Brown SO §2.B",
      "status": "FAIL"
    },
    {
      "severity": "INFO",
      "category": "WORD_LIMIT",
      "message": "7,200 words within 8,750-word limit",
      "source": "EDNY LR 7.1(c)",
      "status": "PASS"
    },
    {
      "severity": "INFO",
      "category": "COURTESY_COPY",
      "message": "Courtesy copy required",
      "source": "Brown SO §1",
      "status": "ACTION_REQUIRED"
    },
    {
      "severity": "INFO",
      "category": "PMC",
      "message": "Pre-motion conference completed",
      "source": "Brown SO §3.A",
      "status": "PASS"
    },
    {
      "severity": "INFO",
      "category": "BUNDLING",
      "message": "Motion papers must NOT be filed until fully briefed",
      "source": "Brown SO §3.B",
      "status": "ACTION_REQUIRED"
    }
  ],
  "meta": {
    "checks_run": 5,
    "checks_skipped": 16,
    "coverage_note": "Full coverage: FRCP + EDNY Local Rules + Standing Order"
  }
}

Response fields

summary
object
results
array
Individual check results
meta
object