Re-extract historical results with the current schema
const url = 'https://dashboard.justcrawl.io/api/v1/extraction/backfill';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"domain":"example","pageType":"example","resultIds":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"limit":20}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/extraction/backfill \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "domain": "example", "pageType": "example", "resultIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "limit": 20 }'Replays the current merged schema (platform-discovered + this org’s custom attributes)
against historical raw HTML blobs and updates the extraction_results rows in place.
Useful after editing custom attributes — old rows pick up the new fields without a
re-scrape.
Sync path, hard capped at 20 rows per call. Either pass resultIds to target an
exact set, or omit it to process the most recent N (defaults to 20, max 50) results
for the (domain, pageType) pair. Each row is processed sequentially; per-row
failures show up as skipped / failed in the summary rather than aborting the run.
Requires workflows:write.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Responses
Section titled “ Responses ”Per-row backfill summary with status (updated / skipped_no_blob / skipped_too_large / error).
object
object
Example generated
{ "processed": 1, "skipped": 1, "failed": 1, "results": [ { "id": "example", "status": "example", "newFields": 1 } ]}Validation failed — request body or query is missing/invalid
object
Example
{ "error": "Missing or invalid \"url\" field"}Missing or invalid authentication token
object
Example
{ "error": "Missing or invalid authentication token"}Insufficient permissions for this operation
object
Example
{ "error": "No organization. Complete onboarding first."}Resource not found
object
Example
{ "error": "Workflow not found"}Unexpected server error. Logs and PostHog $exception capture
object
Example
{ "error": "Something went wrong"}