Check a Bot View job: its status, how many items are done and failed, and when its results expire.

GEThttps://rankfield.dev/v1/bot-view/jobs/{id}

Parameters

Headers

NameTypeRequiredDefaultDescription
AuthorizationstringYes–Bearer followed by your API key. See Authentication.

Path parameters

NameTypeRequiredDefaultDescription
idstringYes–The job id from Start a Bot View job.

Response

FieldTypeDescription
job.idstringThe job id.
job.statusstringqueued, running, done or canceled.
job.totalintegerURLs in the job.
job.doneintegerItems that succeeded.
job.failedintegerItems that failed.
job.createdAt, job.finishedAtstring | nullWhen it was created and when it finished (UTC).
job.expiresAtstring | nullWhen its results are deleted: 24 hours after it finishes.

Only the key that started a job can read it; any other key gets 404.

Errors

StatusCodeWhen
401unauthorizedNo valid API key.
404No job with this id for this key, or it has expired. This answer has no code: {"error":{"message":"Not found"}}.