Skip to Content
Developers
API ReferenceTierb

B6 — Bharat commercial contract trap detector, Stamp/Registration box, and optional stress test (15 credits; scope ai:run).

POST
/api/v1/in/contracts/triage

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
text*string
Length20 <= length
party_role?string|null
contract_type?string|null
governing_state?string|null
run_stress_test?boolean
Defaultfalse

Response Body

Contract triage findings

application/json
  1. response
contract_title?string
overall_risk?string
Value in"low""moderate""high"
traps?array<>
stamp_registration_scope?
[key: string]?any
Example Request
curl -X POST 'https://api.vidhi.shamik.app/api/v1/in/contracts/triage' \  -H 'Content-Type: application/json' \  -d '{  "text": "stringstringstringst"}'
Example Response
{  "contract_title": "string",  "overall_risk": "low",  "traps": [    {}  ],  "stamp_registration_scope": {}}