All docs

post /v1/crawl

Start an async crawl job

Returns HTTP 202. Poll GET /v1/crawl/{jobId} for status and pages.

Parameters

NameInTypeDescription
Idempotency-Key header string Idempotency key: retries with the same key never create a second job

Request body

FieldTypeDescription
url * string uri (/^https?:///) Page URL to fetch (http or https).
limit integer (≥1 ≤10000)
include_paths string (len≥1)[]
exclude_paths string (len≥1)[]
max_age integer (≥0 ≤604800) Reuse a cached page only if it is younger than this many seconds (up to 604800); 0 forces a fresh fetch.
modified_since integer (≤9007199254740991) Only crawl pages modified since this unix timestamp (incremental re-crawl).
webhook object
webhook.url * string uri
webhook.events * enum("crawl.started", "crawl.page", "crawl.completed", "crawl.failed", "monitor.page", "monitor.check.completed")[]
webhook.secret string (len≥8 len≤200)
Full request schema
{
  "$ref": "#/components/schemas/CrawlRequest"
}

Responses

StatusDescriptionBody
202OKapplication/json — AsyncSuccess