Start Retained Scraper Run
scraper_run_createExplicitly start a retained background scraper run that may contact public sites and spend plan credits. Requires idempotency_key and verified organization/project or legacy credential scope. The same key retrieves the original run, including failed or interrupted work, and never re-executes or re-charges it; never automatically retry with a new key. To finish a run that timed out or stopped partway, submit the resume.inputs from scraper_run_get as a new run with a new key. A synchronous scraper answer may also be kept as a completed run; retained.available says whether it was kept and retained.run_id reads it. Use scraper_run_create for work that should run in the background. Run results are retained for 30 days within bounded server capacity; kept synchronous results are the first to make room. For tool ai-visibility with project scope, the AI prompt, answer text and source evidence also enter this organization's AI history until the project is deleted; deleting the project queues their removal. Organization and credential scope do not retain that project history.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool": "<tool>",
"scope": "<scope>",
"inputs": "<inputs>",
"idempotency_key": "<idempotency_key>"
},
"name": "scraper_run_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| scope | Yes | ||
| inputs | Yes | The selected scraper's documented inputs, without credentials or idempotency keys. | |
| verbosity | No | concise: the summary view with the tool's short result; full: the whole record. Only shapes the output. | |
| project_id | No | Required for project scope; ownership is checked by the server. For tool ai-visibility, project scope stores the AI prompt, answer text and source evidence in this organization's AI history until the project is deleted; deleting the project queues their removal. Organization and credential scope do not retain that project history. | |
| webhook_url | No | Optional. An https URL (public host name, default port) that is sent a signed notice when the run ends: run id, state, outcome and counts, never results; read the run with scraper_run_get. Failed deliveries are retried for several hours. The retry schedule is bounded by recorded attempts, but a restart can replay an unrecorded attempt and delivery may still fail. A notice can arrive more than once and in no fixed order; its identity is run_id in the signed body. It is signed X-DataFluxor-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of t, a full stop and the raw body, keyed with the signing secret exactly as returned, whsec_v1_ prefix included, as UTF-8 text>; refuse a t more than 5 minutes from your clock. The signing secret is never returned through MCP: read it with an API key at GET /api/v1/scrape/webhook-secret. Ignored when the idempotency_key already belongs to a run (the answer says so). | |
| idempotency_key | Yes | A unique request identity, retained for the 30-day run window. |