Skip to Content
Developers
API ReferenceTierb

B4 — Grounded Bharat Legal Research Memo (30 credits, 202 async; scope ai:run).

POST
/api/v1/in/research/memo

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
question*string
Length1 <= length
jurisdiction?string
Default"IN"
court_filter?string|null
facts?string|null

Response Body

Deep research job accepted

application/json
  1. response
job_id*string
Formatuuid
engine*string
status*string
Value in"queued""running""completed""failed""cancelled"
progress_pct*integer
Range0 <= value <= 100
stage?string|null
result?|null
error?|null
credits_reserved*integer
credits_charged*integer
credits_refunded*integer
created_at*string
Formatdate-time
completed_at?|
Formatdate-time
expires_at?|
Formatdate-time
Example Request
curl -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"}