sayintel
Endpoint

Rescrape campaign

POST/api/public/v1/campaigns/{campaign_id}/rescrapewrite

Rescrape this campaign's conference URLs and feed newly announced speakers into the pipeline. Same server path as the campaign page and the rescrape hook: mode merge, forceFresh. Existing people, verdicts, enrichment and drafts are kept. URLs reset to pending, the shared scrape cache for those URLs is dropped, and the scrape cron reads the pages. SPENDS (page reads, then the pipeline on anyone new) and stops at the usage cap before starting. dry_run lists each URL with its status, last attempt, attempts and speaker count and starts nothing. Refused when a rescrape is already running (a URL is pending or scraping), the campaign has no URLs, or the usage cap is hit. Nothing is approved or sent.

Request

curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/rescrape" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{}'

Try it out

Try it outPOST/api/public/v1/campaigns/{campaign_id}/rescrapewrite

Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.

Paste an API key to run.

Path parameters

NameInTypeRequiredDescription
campaign_idpathstringyes—

Body

NameInTypeRequiredDescription
dry_runbodybooleannoWhen true nothing is written, started, or spent. The tool returns only cost_preview so an agent can estimate credits first.
idempotency_keybodystringnoOptional retry guard. Reusing the same key with the same arguments replays the first result instead of running the action twice; reusing it with different arguments is rejected.
workspacebodystringnoNot accepted on this tool: it acts on your own account, and naming another workspace is refused.
acting_accountbodystringnoWhich sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection.

Response

{
  "ok": true,
  "tool": "rescrape_campaign",
  "kind": "write",
  "data": { ... },
  "error": null
}

Notes

  • Scope required: write. How scopes work.
  • Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
  • Accepts dry_run: true and always returns cost_preview before spending anything.
  • Same capability over MCP as the tool rescrape_campaign. MCP setup.