API ReferenceCases
Full judgment text or structured sections; auto-refunds if text unavailable (3 credits).
GET
BearerAuthheader
AuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>id*stringString-encoded BIGINT corpus document ID.
Match
^[0-9]+$format?stringDefault
"text"Value in
"text""sections"Case body
application/json- response
id*stringMatch
^[0-9]+$format*stringValue in
"text""sections"text?string|nullsections?array<>text_reliability*stringValue in
"born_digital""ocr_recovered""partial"ocr_recovered*booleancomplete*booleancurl -X GET 'https://api.vidhi.shamik.app/api/v1/in/cases/string/body'Example Response
{ "id": "string", "format": "text", "text": "string", "sections": [ { "section_type": "string", "start_offset": 0, "end_offset": 0, "confidence": 0, "method": "string" } ], "text_reliability": "born_digital", "ocr_recovered": true, "complete": true}