Sourcing scans — dev harness
CRUD harness for the SS0 scan record. Verify region gate + the forward-only status lifecycle (queued → fetching → enriching → reviewing → committed | failed) before SS1's landing UI lands.
You need to sign in as an administrator to view this page.
Create scan (POST /api/admin/sourcing-scans)
{}Get one (GET /api/admin/sourcing-scans/<id>)
{}List (GET /api/admin/sourcing-scans[?status=])
{}Run (POST /api/admin/sourcing-scans/<id>/run — BD3 fetch)
Kicks off the BD3 fetch lambda. In sample mode (settings flag brightDataSampleMode=true) it short-circuits to a colocated fixture and upserts in-region records straight into PotentialCandidates.
{}Sample-mode toggle (PUT /api/admin/settings — SF1 brightDataSampleMode)
Drives the brightDataSampleMode SystemConfig flag. ON = BD3/BD4 short-circuit to local fixtures (no spend). OFF = live Bright Data calls.
{}Transition (POST /api/admin/sourcing-scans/<id>/transition)
{}