Check an export job's progress and, once it is complete, its row count, file parts, checksums and download link.

GEThttps://rankfield.dev/v1/jobs/{id}

Parameters

Headers

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

Path parameters

NameTypeRequiredDefaultDescription
idstringYes–The job id from Start an export job.

Response

FieldTypeDescription
statusstringqueued, running, completed, failed or cancelled.
inGraphbooleanOnly when the domain isn't in our link graph yet: false, and the export has no rows. Absent otherwise.
scannedRelationshipsintegerHow much of the list has been read so far, out of totalGraphRelationships.
exportedRowsintegerRows written so far (after minSiteStrength).
errorstring | nullWhy the job failed.
resultobject | nullOnce completed: the file's rowCount, byteCount, parts (each with rows, bytes and sha256) and partsDigestSha256.
downloadUrlstringOnce completed: the whole file in one download.
partUrlTemplatestringOnce completed: one part at a time; replace {index}.

Download the file

GET /v1/jobs/{id}/download streams every part as one file. For very large exports, download /v1/jobs/{id}/parts/{index} one by one and check each part's sha256, so a broken connection only costs one part.

Both answer 409 until the job is completed.

Cancel or resume

  • DELETE /v1/jobs/{id} cancels a queued or running job (409 once it has finished).
  • POST /v1/jobs/{id}/resume restarts a failed job from where it stopped.

Errors

StatusWhen
401No valid API key.
404No job with this id for this key, or it has expired.
409Download or cancel of a job in the wrong state.

MCP

On the MCP server, the tool for this is get_export_job.