Get a Link Extraction job
Check a Link Extraction job: its status, how many pages are done, succeeded and failed, and its progress from 0 to 1.
GEThttps://rankfield.dev/v1/html/link-extraction/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 |
|---|
status | string | queued, running or completed. |
total | integer | URLs in the job. |
completed | integer | Pages finished, whether they succeeded or failed. |
succeeded, failed | integer | How the finished pages ended. |
progress | number | completed / total, from 0 to 1. |
createdAt, deadlineAt, expiresAt | string | When it started, its delivery deadline, and when it is deleted. |
You don't need to wait for completed: Get Link Extraction results returns each page as soon as it finishes.
#Errors
| Status | When |
|---|
| 401 | No valid API key. |
| 404 | No job with this id for this key. |
| 410 | The job has expired: jobs are kept for 24 hours after they are created. |