Skip to Content
Developers
API ReferenceStatutes

Stateless scan of pasted text for stale IPC/CrPC/IEA citations with 01.07.2024 cutoff awareness (3 credits).

POST
/api/v1/in/statutes/transitions/scan

Authorization

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

Request Body

application/json
  1. body
text*string
Length1 <= length
offence_date?|
Formatdate
pending_facts?|null

Response Body

Transition scan findings

application/json
  1. response
findings*array<>
offence_date?|
Formatdate
cutoff_date*string
Formatdate
Example Request
curl -X POST 'https://api.vidhi.shamik.app/api/v1/in/statutes/transitions/scan' \  -H 'Content-Type: application/json' \  -d '{  "text": "string"}'
Example Response
{  "findings": [    {      "applicability_status": "string",      "reference_id": "string",      "start_byte": 0,      "end_byte": 0,      "raw_text": "string",      "from_regime": "string",      "section": "string",      "mapping": {        "from_regime": "string",        "from_section": "string",        "to_regime": "string",        "to_section": "string",        "title": "string",        "notes": "string",        "review_status": "string",        "advisory": true,        "legally_verified": true      },      "status": "string",      "reason": "string"    }  ],  "offence_date": "2019-08-24",  "cutoff_date": "2019-08-24"}