jobs

Submit coverage estimates as JSON

Changed on

<b>Beta:</b> Start an async coverage job from a JSON items array. Each item is the same payload as POST /v1/coverage/estimate. The array can hold at most 5000 items; larger requests are rejected with 422. Poll GET /v1/jobs/{job_id} for status and GET /v1/jobs/{job_id}/results for the output file.

post/v1/jobs/estimate/json

Request

  • Base URL
    https://coverage-api.meetnirvana.com
  • URL
    https://coverage-api.meetnirvana.com/v1/jobs/estimate/json
  • Auth
    none declared

Headers

Idempotency-Keystring nullable

Request body

Example request

{
  "items": [
    {
      "cpt_code": "90834"
    }
  ]
}

Response

Successful Response

completedinteger required
failedinteger required
in_processinteger required
job_idstring required
results_urlstring required

Results endpoint for this job. Returns a download link once the job has completed.

status'running' | 'completed' | 'failed' | 'cancelled' required
status_urlstring required

Poll this URL for the current job status and progress counts.

totalinteger required

Changes