Skip to Content
Developers
API ReferenceTierb

B3 — Counter-Precedent Breaker for an opponent's cited authority (15 credits; scope ai:run).

POST
/api/v1/in/audit/counter-precedent

Authorization

BearerAuth
headerAuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>

Header Parameters

Idempotency-Key?string

UUIDv4 idempotency token (24h replay window in Postgres).

Formatuuid

Request Body

application/json
  1. body
citation?string|null
case_id?|
Match^[0-9]+$
facts_context?string|null
issue?string|null

Response Body

Counter-precedent analysis

application/json
  1. response
document_id*string
Match^[0-9]+$
case_title?string
citation?string|null
court_name?string
decision_date?string|null
standing_verdict*string
Value in"OVERRULED""LARGER_BENCH_CLASH""COORDINATE_SPLIT""SANHITA_2024_CHANGED""DISTINGUISHABLE_ONLY""SOUND_BINDING"
knockout_receipts?array<>
sanhita_2024_note?|null
factual_distinctions?array<>
oral_counter_script?string
expected_opponent_comeback?string
rebuttal_to_comeback?string
[key: string]?any
Example Request
curl -X POST 'https://api.vidhi.shamik.app/api/v1/in/audit/counter-precedent' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "document_id": "string",  "case_title": "string",  "citation": "string",  "court_name": "string",  "decision_date": "string",  "standing_verdict": "OVERRULED",  "knockout_receipts": [    {      "kind": "OVERRULED",      "case_title": "string",      "court_name": "string",      "citation": "string",      "decision_date": "string",      "bench_strength": 0,      "document_id": "string",      "verbatim_quote": "string",      "why_it_neutralizes": "string"    }  ],  "sanhita_2024_note": {    "applicable": true,    "old_law": "string",    "new_law": "string",    "saving_caveat": "string",    "plain_impact": "string"  },  "factual_distinctions": [    {      "hinge_plain": "string",      "hinge_legal": "string",      "how_to_distinguish": "string"    }  ],  "oral_counter_script": "string",  "expected_opponent_comeback": "string",  "rebuttal_to_comeback": "string"}