Skip to content

Poll job status

Request

Returns current status and progress counters.

Status lifecycle: new → working → finished (or failed)

When status is finished, use GET /job/{id}/download to retrieve results.

Security
ApiKeyAuth or BearerAuth or BasicAuth
Path
idstringrequired

MongoDB ObjectId of the job.

Example:64f1c2d3e4b5a6c7d8e9f0a1
curl -i -X GET \
  https://docs.kwery.co/_mock/api-reference/job/64f1c2d3e4b5a6c7d8e9f0a1 \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Job status

Bodyapplication/json
One of:
errorboolean
Example:false
jobobject
Response
{ "error": false, "job": { "_id": "64f1c2d3e4b5a6c7d8e9f0a1", "status": "working", "done": 45, "all": 100 } }