Skip to Content
Vidhi Developers
Bharat Recipes

2. Verify Every Citation & Quote in a Brief + Good-Law Check

Run B1 brief verification to audit citations, verbatim quote alignment, later court treatment, and stale IPC/CrPC/IEA provisions.

Open Markdown

Problem: Before filing a pleading or relying on an LLM-generated draft, verify every legal citation, check whether quoted propositions align with the judgment text, check whether the ruling remains good law, and flag pre-July 2024 IPC/CrPC/IEA provisions.

StepEndpointScopeCredits
Brief verification (B1)POST /api/v1/in/verify/briefai:run10 (up to 50 citations)
Optional batch citation resolverPOST /api/v1/in/citations/resolvecorpus:read2 per resolved item (unresolved refunded)

Implementation

curl -sS -X POST https://api.vidhi.shamik.app/api/v1/in/verify/brief \
  -H "Authorization: Bearer $VIDHI_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "text": "In Kesavananda Bharati (1973) 4 SCC 225, the Supreme Court held that Parliament cannot alter the basic structure of the Constitution. The FIR also invokes Section 420 IPC.",
    "check_holding_alignment": true
  }'

Verified Response Excerpt

{
  "citations_checked": 1,
  "findings": [
    {
      "input": "(1973) 4 SCC 225",
      "resolution_status": "resolved",
      "case_id": "122965",
      "title": "Kesavananda Bharati Sripadagalvaru v. State of Kerala",
      "claim_support": {
        "status": "supported",
        "matched_passage": "Article 368 does not enable Parliament to alter the basic structure or framework of the Constitution.",
        "quote_alignment_score": 0.93
      },
      "later_court_treatment": {
        "status": "good_law_observed",
        "basis_case_ids": ["134810", "198204"],
        "as_of_date": "2026-11-15"
      }
    }
  ],
  "statute_transitions": [
    {
      "transition_id": "ipc-420-bns-318-4",
      "raw_text": "Section 420 IPC",
      "start": 135,
      "end": 150,
      "old_act": "IPC",
      "old_section": "420",
      "new_act": "BNS",
      "new_section": "318(4)",
      "mapping_state": "db_verified",
      "advisory": "Verify offence date against 01.07.2024 saving clause; BNS s.318(4) applies to post-cutoff offences."
    }
  ]
}

On this page