Skip to main content
GET
/
api
/
v1
/
extracted-rules
curl 'https://api.courtrules.app/api/v1/extracted-rules?district_id=il-cook-circuit&logic_type=ElectronicFilingRule&case_type=civil&limit=25' \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "rules": [
    {
      "rule_id": "7c8b4dd2-1df6-4c34-b33f-0fdf3f4b6734",
      "district_id": "il-cook-circuit",
      "judge_slug": "court",
      "source_url": "https://www.cookcountycourtil.gov/about/circuit-court-rules",
      "source_url_key": "cook-county-circuit-rules",
      "document_version_id": "4b2c4f3a-b31e-47fd-9d8b-6e8c6d3eb7e0",
      "doc_kind": "local_rules",
      "logic_type": "ElectronicFilingRule",
      "workflow_phase": "FILING",
      "content": {
        "source_text": "Verbatim source text from the official rule document.",
        "summary": "Civil filings must be submitted electronically unless an exception applies.",
        "rule_tags": ["e_filing", "civil"],
        "workflow_phase": "FILING",
        "visual_severity": "CRITICAL",
        "structured_data": {
          "logic_type": "ElectronicFilingRule",
          "description": "Civil filings must use the court-approved electronic filing system."
        },
        "citation_source": {
          "section": "General Administrative Order"
        }
      }
    }
  ],
  "meta": {
    "total": 1,
    "limit": 25,
    "district_id": "il-cook-circuit",
    "include_court_rules": true,
    "logic_type": "ElectronicFilingRule",
    "case_type": "civil"
  }
}
Use this endpoint when you need filing-rule intelligence directly from the extraction store. It does not use the older federal /rules profile shape.
district_id
string
Court identifier, such as il-cook-circuit, ca-los-angeles-superior, or edny.
judge_slug
string
Judge, calendar, department, or courtroom slug. Court-level rules use court.
include_court_rules
boolean
When judge_slug is supplied, include court-level rules where judge_slug is court. Defaults to true.
logic_type
string
Filter by structured rule type, such as ElectronicFilingRule, FilingTimingRule, ServiceRule, FilingFeeRule, or CourtesyCopyRule.
workflow_phase
string
Filter by workflow phase, such as FILING, CASE_INITIATION, or MOTION_PRACTICE.
case_type
string
Filter by case type. General rules and rules without an explicit case-type limit are included.
q
string
Search summary, source text, tags, and structured data. Example: rejected cure.
limit
number
Maximum rules to return. Defaults to 100, maximum 500.
curl 'https://api.courtrules.app/api/v1/extracted-rules?district_id=il-cook-circuit&logic_type=ElectronicFilingRule&case_type=civil&limit=25' \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "rules": [
    {
      "rule_id": "7c8b4dd2-1df6-4c34-b33f-0fdf3f4b6734",
      "district_id": "il-cook-circuit",
      "judge_slug": "court",
      "source_url": "https://www.cookcountycourtil.gov/about/circuit-court-rules",
      "source_url_key": "cook-county-circuit-rules",
      "document_version_id": "4b2c4f3a-b31e-47fd-9d8b-6e8c6d3eb7e0",
      "doc_kind": "local_rules",
      "logic_type": "ElectronicFilingRule",
      "workflow_phase": "FILING",
      "content": {
        "source_text": "Verbatim source text from the official rule document.",
        "summary": "Civil filings must be submitted electronically unless an exception applies.",
        "rule_tags": ["e_filing", "civil"],
        "workflow_phase": "FILING",
        "visual_severity": "CRITICAL",
        "structured_data": {
          "logic_type": "ElectronicFilingRule",
          "description": "Civil filings must use the court-approved electronic filing system."
        },
        "citation_source": {
          "section": "General Administrative Order"
        }
      }
    }
  ],
  "meta": {
    "total": 1,
    "limit": 25,
    "district_id": "il-cook-circuit",
    "include_court_rules": true,
    "logic_type": "ElectronicFilingRule",
    "case_type": "civil"
  }
}

Response fields

rules
array
Validated extracted filing rules with provenance.
content
object
The validated extracted rule payload. It includes source text, summary, tags, workflow phase, severity, structured data, and citation details when captured.
source_url
string
Official source URL for the rule.
document_version_id
string
Source document version used for the extraction.

Filtering behavior

When judge_slug is provided, the endpoint returns rules for that unit. With include_court_rules=true, the response also includes court-level rules for the same court. This lets clients combine court rules with judge, calendar, department, or courtroom overrides. This endpoint exposes raw extracted rules first. It does not yet resolve conflicts or compute the final effective rule set for a filing.