API ReferenceTierb
B3 — Counter-Precedent Breaker for an opponent's cited authority (15 credits; scope ai:run).
POST
BearerAuthheader
AuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>Idempotency-Key?stringUUIDv4 idempotency token (24h replay window in Postgres).
Format
uuidapplication/json- body
citation?string|nullcase_id?|Match
^[0-9]+$facts_context?string|nullissue?string|nullCounter-precedent analysis
application/json- response
document_id*stringMatch
^[0-9]+$case_title?stringcitation?string|nullcourt_name?stringdecision_date?string|nullstanding_verdict*stringValue in
"OVERRULED""LARGER_BENCH_CLASH""COORDINATE_SPLIT""SANHITA_2024_CHANGED""DISTINGUISHABLE_ONLY""SOUND_BINDING"knockout_receipts?array<>sanhita_2024_note?|nullfactual_distinctions?array<>oral_counter_script?stringexpected_opponent_comeback?stringrebuttal_to_comeback?string[key: string]?anycurl -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"}