API ReferenceTierb
B4 — Grounded Bharat Legal Research Memo (30 credits, 202 async; 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
question*stringLength
1 <= lengthjurisdiction?stringDefault
"IN"court_filter?string|nullfacts?string|nullDeep research job accepted
application/json- response
job_id*stringFormat
uuidengine*stringstatus*stringValue in
"queued""running""completed""failed""cancelled"progress_pct*integerRange
0 <= value <= 100stage?string|nullresult?|nullerror?|nullcredits_reserved*integercredits_charged*integercredits_refunded*integercreated_at*stringFormat
date-timecompleted_at?|Format
date-timeexpires_at?|Format
date-timecurl -X POST 'https://api.vidhi.shamik.app/api/v1/in/research/memo' \ -H 'Content-Type: application/json' \ -d '{ "question": "string"}'Example Response
{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "engine": "string", "status": "queued", "progress_pct": 0, "stage": "string", "result": {}, "error": {}, "credits_reserved": 0, "credits_charged": 0, "credits_refunded": 0, "created_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z"}