Skip to Content
Developers
API ReferenceJobs

Poll status and result of a 202 Accepted Tier B async job (0 credits).

GET
/api/v1/in/jobs/{job_id}

Authorization

BearerAuth
headerAuthorizationBearer <vdh_live_<32_hex> | vdh_test_<32_hex>>

Path Parameters

job_id*string
Formatuuid

Response Body

Async job status

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 GET 'https://api.vidhi.shamik.app/api/v1/in/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08'
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"}