API ReferenceTierb
B6 — Bharat commercial contract trap detector, Stamp/Registration box, and optional stress test (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
text*stringLength
20 <= lengthparty_role?string|nullcontract_type?string|nullgoverning_state?string|nullrun_stress_test?booleanDefault
falseContract triage findings
application/json- response
contract_title?stringoverall_risk?stringValue in
"low""moderate""high"traps?array<>stamp_registration_scope?[key: string]?anycurl -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": {}}