API ReferenceTierb
B2 — 7-Station Judicial Reasoning Auditor (25 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
order_text*stringLength
1 <= lengthposture*stringValue in
"first_appeal""second_appeal_s100""arbitration_s34""bail_appeal""slp_art136"decision_date?|Format
datecourt_name?string|nullappellant_side?string|nullAudit 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/audit/order' \ -H 'Content-Type: application/json' \ -d '{ "order_text": "string", "posture": "first_appeal"}'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"}