Skip to main content
GET
Get a crawl

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobId
string<uuid>
required

The jobId returned by POST /crawl or POST /crawl/{jobId}/extract.

Response

The crawl's status, and its pages once it has finished.

status
enum<string>
  • waiting: queued, not started yet.
  • delayed: waiting to be retried after a temporary problem.
  • active: running. progress.message says what it's doing.
  • completed: finished. The pages are in result.
  • failed: no page could be returned. error says why, and you aren't charged.
  • cancelled: you cancelled it before any page was returned.
Available options:
waiting,
delayed,
active,
completed,
failed,
cancelled
progress
object
result
object[] | null

The first 100 pages once status is completed. null before that.

error
string | null

Why the crawl failed, once status is failed. null otherwise.

totalPages
integer

Only once status is completed. How many pages the crawl returned.

resultTruncated
boolean

Only when totalPages is more than result holds. Read the rest from GET /crawl/{jobId}/pages.

message
string

Only with resultTruncated. Says where to read every page.