Endpoints
Check Document
Run deterministic compliance checks against a federal court filing, checking page limits, formatting, required sections, and judge-specific standing order rules
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",
"is_pro_se": false,
"pmc_completed": true,
"opposing_party_pro_se": false,
"filing_role": "movant",
"document": {
"page_count": 22,
"word_count": 7200
}
}'
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",
"is_pro_se": false,
"pmc_completed": true,
"opposing_party_pro_se": false,
"filing_role": "movant",
"document": {
"page_count": 18,
"word_count": 7200,
"caption": {
"present": true,
"has_court_name": true,
"has_case_title": true,
"has_docket_number": true,
"has_document_designation": true
},
"signature_block": {
"present": true,
"has_attorney_name": true,
"has_firm_name": true,
"has_address": true,
"has_email": true,
"has_phone": true,
"is_electronic_signature": true
},
"sections": {
"has_toc": true,
"has_toa": true,
"has_certificate_of_compliance": true,
"certificate_word_count": 7200,
"has_certificate_of_service": true,
"has_numbered_paragraphs": true,
"has_56_1_statement": true,
"has_56_1_counterstatement": false,
"has_proposed_amended_pleading": false,
"has_verbatim_discovery_text": false,
"has_conferral_certification": false,
"has_notice_of_motion": true,
"has_memorandum_of_law": true,
"has_supporting_affidavits": true,
"has_pro_se_sj_notice": false
},
"format": {
"primary_font_size_pt": 12,
"footnote_font_size_pt": 10,
"margin_inches": 1.0,
"line_spacing": "double"
},
"privacy": {
"contains_full_ssn": false,
"contains_full_dob": false,
"contains_minor_full_name": false,
"contains_full_financial_account": false
}
}
}'
{
"judge": {
"slug": "gary-r-brown",
"name": "Gary R. Brown"
},
"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": "WARNING",
"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": "WARNING",
"category": "BUNDLING",
"message": "Do NOT file until motion is fully briefed",
"source": "Brown SO §3.B",
"status": "ACTION_REQUIRED"
}
],
"meta": {
"checks_run": 5,
"checks_skipped": 16
}
}
string
required
Judge slug identifier (e.g.
gary-r-brown)string
required
District identifier (e.g.
edny)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_statementstring
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,
generalboolean
required
Whether the filing party is pro se
boolean
required
Whether a pre-motion conference has been completed for this motion
boolean
required
Whether the opposing party is pro se (triggers additional notice requirements)
string
required
Filing role. One of:
movant, opponent, replyobject
required
Document metadata. Only
page_count and word_count are required. See Document Structure for all optional fields.Show Required fields
Show Required 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",
"is_pro_se": false,
"pmc_completed": true,
"opposing_party_pro_se": false,
"filing_role": "movant",
"document": {
"page_count": 22,
"word_count": 7200
}
}'
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",
"is_pro_se": false,
"pmc_completed": true,
"opposing_party_pro_se": false,
"filing_role": "movant",
"document": {
"page_count": 18,
"word_count": 7200,
"caption": {
"present": true,
"has_court_name": true,
"has_case_title": true,
"has_docket_number": true,
"has_document_designation": true
},
"signature_block": {
"present": true,
"has_attorney_name": true,
"has_firm_name": true,
"has_address": true,
"has_email": true,
"has_phone": true,
"is_electronic_signature": true
},
"sections": {
"has_toc": true,
"has_toa": true,
"has_certificate_of_compliance": true,
"certificate_word_count": 7200,
"has_certificate_of_service": true,
"has_numbered_paragraphs": true,
"has_56_1_statement": true,
"has_56_1_counterstatement": false,
"has_proposed_amended_pleading": false,
"has_verbatim_discovery_text": false,
"has_conferral_certification": false,
"has_notice_of_motion": true,
"has_memorandum_of_law": true,
"has_supporting_affidavits": true,
"has_pro_se_sj_notice": false
},
"format": {
"primary_font_size_pt": 12,
"footnote_font_size_pt": 10,
"margin_inches": 1.0,
"line_spacing": "double"
},
"privacy": {
"contains_full_ssn": false,
"contains_full_dob": false,
"contains_minor_full_name": false,
"contains_full_financial_account": false
}
}
}'
{
"judge": {
"slug": "gary-r-brown",
"name": "Gary R. Brown"
},
"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": "WARNING",
"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": "WARNING",
"category": "BUNDLING",
"message": "Do NOT file until motion is fully briefed",
"source": "Brown SO §3.B",
"status": "ACTION_REQUIRED"
}
],
"meta": {
"checks_run": 5,
"checks_skipped": 16
}
}
Response fields
object
Show Summary
Show Summary
string
Overall compliance status: -
COMPLIANT: No failures, no action items - REVIEW: No
failures, but action items require attention - NON_COMPLIANT: At least one rule violationinteger
Count of FAIL results
integer
Count of WARNING-severity failures
integer
Count of PASS results
integer
Count of ACTION_REQUIRED results
array
⌘I
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",
"is_pro_se": false,
"pmc_completed": true,
"opposing_party_pro_se": false,
"filing_role": "movant",
"document": {
"page_count": 22,
"word_count": 7200
}
}'
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",
"is_pro_se": false,
"pmc_completed": true,
"opposing_party_pro_se": false,
"filing_role": "movant",
"document": {
"page_count": 18,
"word_count": 7200,
"caption": {
"present": true,
"has_court_name": true,
"has_case_title": true,
"has_docket_number": true,
"has_document_designation": true
},
"signature_block": {
"present": true,
"has_attorney_name": true,
"has_firm_name": true,
"has_address": true,
"has_email": true,
"has_phone": true,
"is_electronic_signature": true
},
"sections": {
"has_toc": true,
"has_toa": true,
"has_certificate_of_compliance": true,
"certificate_word_count": 7200,
"has_certificate_of_service": true,
"has_numbered_paragraphs": true,
"has_56_1_statement": true,
"has_56_1_counterstatement": false,
"has_proposed_amended_pleading": false,
"has_verbatim_discovery_text": false,
"has_conferral_certification": false,
"has_notice_of_motion": true,
"has_memorandum_of_law": true,
"has_supporting_affidavits": true,
"has_pro_se_sj_notice": false
},
"format": {
"primary_font_size_pt": 12,
"footnote_font_size_pt": 10,
"margin_inches": 1.0,
"line_spacing": "double"
},
"privacy": {
"contains_full_ssn": false,
"contains_full_dob": false,
"contains_minor_full_name": false,
"contains_full_financial_account": false
}
}
}'
{
"judge": {
"slug": "gary-r-brown",
"name": "Gary R. Brown"
},
"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": "WARNING",
"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": "WARNING",
"category": "BUNDLING",
"message": "Do NOT file until motion is fully briefed",
"source": "Brown SO §3.B",
"status": "ACTION_REQUIRED"
}
],
"meta": {
"checks_run": 5,
"checks_skipped": 16
}
}