Get a Bot View job
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
| Name | Type | Required | Default | Description |
|---|
Authorization | string | Yes | – | Bearer followed by your API key. See Authentication. |
#Path parameters
#Response
| Field | Type | Description |
|---|
job.id | string | The job id. |
job.status | string | queued, running, done or canceled. |
job.total | integer | URLs in the job. |
job.done | integer | Items that succeeded. |
job.failed | integer | Items that failed. |
job.createdAt, job.finishedAt | string | null | When it was created and when it finished (UTC). |
job.expiresAt | string | null | When 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
| Status | Code | When |
|---|
| 401 | unauthorized | No valid API key. |
| 404 | | No job with this id for this key, or it has expired. This answer has no code: {"error":{"message":"Not found"}}. |