Workflow 1: Create a new scraper with AI
Use these endpoints when you want AI to generate a scraper (schema + code) from scratch for a target site.-
Create the scraper entity
→ Create scraper template -
Start the AI generation job (schema + code)
→ Trigger AI Flow to create code -
Poll until the AI job finishes and returns the result
→ AI job progress
Workflow 2: Update an existing scraper with Self-Healing
Use these endpoints when you already have a scraper and want to fix or modify it using a prompt.-
Start a Self-Healing refactor job
→ Trigger Self-Healing -
Poll until the refactor job finishes and returns the result
→ Self-Healing job progress -
After the scraper is ready, initiate collection
→ Initiate collection