{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Places API Leads: Importer Leads from Google Maps & OSM",
    "description": "First 25 leads free. Google Places API leads that find importers and wholesalers — an importer list and distributor finder with phone, website and e-mail. Google data with your key, or free OpenStreetMap data with none. AI openers in each lead's language. Free demo and live search on any Apify plan.",
    "version": "0.1",
    "x-build-id": "mJ3EYleBdyh1CXyEP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rich_minds~local-business-leads-ai/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rich_minds-local-business-leads-ai",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/rich_minds~local-business-leads-ai/runs": {
      "post": {
        "operationId": "runs-sync-rich_minds-local-business-leads-ai",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/rich_minds~local-business-leads-ai/run-sync": {
      "post": {
        "operationId": "run-sync-rich_minds-local-business-leads-ai",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "preset": {
            "title": "Start from a ready search (one click)",
            "enum": [
              "custom",
              "spice-importers-hamburg",
              "rice-traders-dubai",
              "food-importers-london",
              "coffee-tea-importers-usa",
              "produce-importers-rotterdam",
              "check-google-key",
              "packaging-buyers-uk",
              "freight-importers-antwerp",
              "industrial-distributors-chicago",
              "spice-exporters-kerala",
              "gulfood-bundle",
              "agency-client-report"
            ],
            "type": "string",
            "description": "Pick a ready trade search and press Start: it replaces the sample search and runs live — Google on <b>your</b> key, or OpenStreetMap with none. Your own values always win. <b>Check my Google key</b> spends one request and names the exact fix. <b>Custom</b> = fill the fields yourself.",
            "default": "custom"
          },
          "queries": {
            "title": "What and where to search on Google Maps",
            "type": "array",
            "description": "One search per line: <i>what</i> + <i>where</i> — \"spice wholesaler Hamburg\", \"rice trader Deira\". Your own searches next to the sample start the live search on any Apify plan: Google Places with your key, OpenStreetMap without. Affects what you pay: Google bills your key one request per 20 places; OpenStreetMap is free.",
            "items": {
              "type": "string"
            }
          },
          "apiKey": {
            "title": "Your Google Places API key",
            "type": "string",
            "description": "Optional. A Google key with <b>Places API (New)</b>: ≈ 5–10 min in Google Cloud and a card on file — <a href=\"https://console.cloud.google.com/google/maps-apis/api-list\" target=\"_blank\">enable Places API (New)</a>, Credentials → API key, link billing. $0.035 per request of up to 20 places, 1,000 a month free. Encrypted, never logged. <b>Empty = the keyless OpenStreetMap search.</b>"
          },
          "goalDescription": {
            "title": "What do you sell? (optional, for the AI)",
            "type": "string",
            "description": "Your own products and the buyer you want, in plain words — \"we export Indian whole spices and basmati rice in 20 ft containers\". The AI rates each business's fit to it and writes the first message from it. Empty = the AI judges the fit from your searches."
          },
          "minScore": {
            "title": "Minimum score (0–100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "The field that decides what you pay: a lead scoring below this is dropped and <b>not charged</b>. The free score adds B2B type 30, trade word 15, your product word 10, website 15, phone 10, open 10, ≥ 5 reviews 5, rating ≥ 4.0 5. 45 = warm and up; 70 = hot only.",
            "default": 45
          },
          "maxQualified": {
            "title": "Max qualified leads to output",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap on results and on what <b>this Actor</b> charges: at the default 100, at most $0.90 with AI on ($0.009 a lead) plus ≈ $0.26 of AI tokens billed to your model account, or $0.15 with AI off ($0.0015 a lead). Affects what you pay. Best-scoring first.",
            "default": 100
          },
          "maxGoogleRequests": {
            "title": "Max Google requests per run (your key)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on billable Google requests per run on your key: 25 × $0.035 = $0.88 at Google's list price beyond its free 1,000 requests a month. The run stops reading at the cap and lists the queries it did not finish in <code>OUTPUT.refused</code>. Affects what Google bills you.",
            "default": 25
          },
          "enableAi": {
            "title": "AI assessment",
            "type": "boolean",
            "description": "<b>On by default.</b> Per lead: importer or shop, its products, the fit to yours, a first message in the lead's language. <b>On = $0.009 + ≈ $0.0026 AI tokens; off = $0.0015.</b> Needs Apify model access (Starter+; not measured on the platform yet) or your own Gemini key — otherwise you get the rules row at $0.0015.",
            "default": true
          },
          "requireEmail": {
            "title": "Only leads with an e-mail",
            "type": "boolean",
            "description": "On: a lead without a checked e-mail (from its own website or the map) is dropped and <b>never charged</b> — for e-mail outreach. Affects what you pay: fewer, e-mail-only leads. Off (default): leads with only a phone or a contact form are kept. Dropped leads are counted in <code>OUTPUT.skippedNoEmail</code>.",
            "default": false
          },
          "targetFlags": {
            "title": "Target flags (any of)",
            "type": "array",
            "description": "Only deliver leads with at least one of these flags, and rank those with more of them higher. Leave empty to keep everything. An API call passes the flag names from the README's flag table, e.g. <code>b2b_type</code> (<code>b2bType</code> works too); an unknown name stops the run at once with the list of valid ones.",
            "items": {
              "type": "string",
              "enum": [
                "b2b_type",
                "b2b_name",
                "product_match",
                "has_website",
                "has_phone",
                "no_website",
                "no_phone",
                "retail_likely",
                "closed",
                "few_reviews",
                "well_rated"
              ],
              "enumTitles": [
                "Google lists it as a wholesaler / distributor / manufacturer type",
                "Its name or category carries a trade word (wholesale, import, export, trading, Großhandel …)",
                "A product word of your search (spice, rice …) is in its name or category",
                "It has a website (the e-mail is read from it)",
                "It has a phone number on Google",
                "No website on Google — phone only",
                "No phone number on Google",
                "Only retail / food-service types and no trade word — likely a shop or restaurant",
                "Google marks it closed (temporarily or permanently)",
                "Fewer than 5 Google reviews",
                "Rated 4.0 or better on Google"
              ]
            }
          },
          "b2bOnly": {
            "title": "B2B only — drop shops and restaurants (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. Drops a place whose Google types are only retail / food service (restaurant, cafe, supermarket, grocery or convenience store …) unless its name carries a trade word (wholesale, import, export, trading, Großhandel …). Free — dropped places are never charged.",
            "default": true
          },
          "findEmails": {
            "title": "Find the e-mail on each lead's website (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. Reads up to 4 pages of each qualified lead's own website (home, contact, impressum, about; robots.txt obeyed, 1 request a second) and keeps the best published e-mail with an MX check. Included in the lead price; adds ≈ 1–3 s per site.",
            "default": true
          },
          "requireWebsite": {
            "title": "Only leads with a website (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. Drops places with no website on Google (free).",
            "default": false
          },
          "minRating": {
            "title": "Minimum Google rating (API only)",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "API only — hidden on the form. Drops places rated below this (0 = keep all; a place without a rating fails any minimum above 0). Free.",
            "default": 0
          },
          "minReviews": {
            "title": "Minimum Google reviews (API only)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "API only — hidden on the form. Drops places with fewer reviews (0 = keep all). Many wholesalers have few reviews — keep it low. Free.",
            "default": 0
          },
          "includeClosed": {
            "title": "Keep closed places (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. Off: places Google marks temporarily or permanently closed are dropped free. On: they are kept and flagged <code>closed</code>.",
            "default": false
          },
          "liveSource": {
            "title": "Live source",
            "enum": [
              "auto",
              "google",
              "osm"
            ],
            "type": "string",
            "description": "Which map the live search reads. <b>Auto</b>: Google Places on your key, OpenStreetMap when the key is empty — a real search either way, never the demo's samples. OpenStreetMap is free and needs no account (© OpenStreetMap contributors, ODbL); it has fewer phones and websites per business than Google. Same price per qualified lead.",
            "default": "auto"
          },
          "products": {
            "title": "Products (with Cities: builds the searches)",
            "type": "array",
            "description": "One product per line (\"spice\", \"basmati rice\"). With <b>Cities</b> every product × city becomes a search \"<product> wholesaler <city>\", plus the same search with the country's own trade word (Großhandel, groothandel, mayorista …) when <b>Country bias</b> is set — at most 30 searches. Affects what you pay: more searches, more qualified leads.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (with Products: builds the searches)",
            "type": "array",
            "description": "One city or district per line (\"Hamburg\", \"Deira\"). Used together with <b>Products</b>; Google requests stay capped by <b>Max Google requests per run</b>.",
            "items": {
              "type": "string"
            }
          },
          "lookalikeOf": {
            "title": "Find companies like this one (website)",
            "type": "string",
            "description": "The website of your best customer (\"hanse-spice.de\"): its trade word (importer, wholesaler …) and product words become searches in <b>Cities</b> — companies like it, no query words to invent. Needs <b>Cities</b>; runs on any Apify plan (OpenStreetMap with no key, Google with your key). The profile it read is in <code>OUTPUT.lookalike</code>. Affects what you pay: one search per city and product."
          },
          "regionCode": {
            "title": "Country bias (regionCode)",
            "enum": [
              "",
              "DE",
              "AE",
              "GB",
              "NL",
              "BE",
              "FR",
              "IT",
              "ES",
              "PL",
              "AT",
              "CH",
              "SE",
              "DK",
              "US",
              "CA",
              "MX",
              "BR",
              "SA",
              "QA",
              "KW",
              "OM",
              "BH",
              "EG",
              "TR",
              "IN",
              "BD",
              "LK",
              "PK",
              "SG",
              "MY",
              "ID",
              "TH",
              "VN",
              "PH",
              "CN",
              "HK",
              "JP",
              "KR",
              "AU",
              "NZ",
              "ZA",
              "NG",
              "KE"
            ],
            "type": "string",
            "description": "Google's <code>regionCode</code>: biases results and formats addresses for this country. Your search text already names the city, so leave it on Any unless a city name exists in several countries.",
            "default": ""
          },
          "maxPerQuery": {
            "title": "Places per search (API only)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "API only — hidden on the form. How many places each search reads: 20 = one billable Google request, 40 = two, 60 = three (Google's ceiling per search). Affects what Google bills you.",
            "default": 20
          },
          "languageCode": {
            "title": "Language of names and addresses",
            "enum": [
              "en",
              "de",
              "ar",
              "fr",
              "nl",
              "es",
              "it",
              "pl",
              "pt",
              "tr",
              "hi",
              "zh-CN",
              "ja",
              "ko",
              "ru",
              "sv",
              "da",
              "id",
              "ms",
              "th",
              "vi"
            ],
            "type": "string",
            "description": "Google's <code>languageCode</code> for names, addresses and categories.",
            "default": "en"
          },
          "includedType": {
            "title": "Only this Google place type (optional) (API only)",
            "type": "string",
            "description": "API only — hidden on the form. One Places (New) type passed to Google, e.g. <code>wholesaler</code> or <code>warehouse_store</code>. Empty = no restriction (recommended — many importers are typed as a plain store or company).",
            "default": ""
          },
          "strictTypeFiltering": {
            "title": "Strictly only that type (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. With a type above: on = Google returns only places of exactly that type; off = it ranks them first.",
            "default": false
          },
          "llmProvider": {
            "title": "AI model access",
            "enum": [
              "apify",
              "byok"
            ],
            "type": "string",
            "description": "<b>Apify (no keys)</b> — the AI runs through Apify's built-in OpenRouter proxy; tokens are billed to your Apify account at OpenRouter's rates. <b>My own key</b> — a Gemini key is the measured path: ≈ 0.8–14.6 s per lead (google:gemini-3.5-flash-lite free key: 0.8 s measured 2026-11-25, 1.3 s on 2026-11-24; an earlier paid Gemini key: 8.0–14.6 s) — size timeouts from the slowest: 50 leads ≈ 910 s. On 20+ leads a free key's rate limit may leave only 1–5 AI checks (one call at a time after a 429, then the borderline leads retried one by one), the rest keep their rule score; a paid Gemini key (billing on) assesses every lead. OpenAI, Anthropic and Groq keys use the same path but are untested.",
            "default": "apify"
          },
          "llmModel": {
            "title": "AI model (API only)",
            "type": "string",
            "description": "API only — hidden on the form. Leave empty for the default (<code>anthropic/claude-haiku-4.5</code> through Apify; <code>google:gemini-3.5-flash-lite</code> with your own key). Apify mode takes an OpenRouter slug such as <code>openai/gpt-4.1-mini</code>; own-key mode takes <code>provider:model</code>, e.g. <code>anthropic:claude-haiku-4-5-20251001</code>."
          },
          "llmApiKey": {
            "title": "Your API key (own-key mode only)",
            "type": "string",
            "description": "Required when <b>AI model access</b> is <i>My own API key</i>. Stored encrypted by Apify, never logged."
          },
          "openerLanguage": {
            "title": "Language of the AI's first message",
            "enum": [
              "auto",
              "en",
              "de",
              "nl",
              "fr",
              "es",
              "it",
              "pt",
              "ar",
              "tr",
              "pl"
            ],
            "type": "string",
            "description": "The language the AI writes each opener / first message in. <b>Auto</b>: the lead's country language — German for a Hamburg importer, Arabic for a Dubai trader, English elsewhere — so the message is usable as sent. Reasons and summary stay in English. AI tier only; the rules' opener (AI off) is English.",
            "default": "auto"
          },
          "aiCandidateMultiplier": {
            "title": "AI shortlist size, × max qualified (API only)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "API only — hidden on the form. How many of the best rule-scored leads get the AI pass, as a multiple of <b>Max qualified</b>. Higher = more thorough, slower, more tokens.",
            "default": 2
          },
          "sendAlertsTo": {
            "title": "Send alerts to (Slack, Discord, Teams, Google Chat, Telegram or webhook)",
            "type": "string",
            "description": "Paste one or more URLs, one per line — the service is detected from the address: a Slack or Discord channel webhook, a Teams Workflows or Google Chat space webhook, your Telegram bot's send link (<code>https://api.telegram.org/bot&lt;token&gt;/sendMessage?chat_id=@yourchannel</code>) or any other https URL (Zapier, Make, n8n, your CRM), which gets the leads as JSON. After every run with at least one new lead, the digest (how many are new, the top 10 with links) is posted there. Never sent for the free demo. Headers, batching and signing: <i>Delivery details (advanced)</i>."
          },
          "notifyEmail": {
            "title": "E-mail me the new leads (Starter plan and up)",
            "type": "string",
            "description": "After every run with new leads, the digest (top 10 with links) is e-mailed here — schedule it weekly and only new ones arrive. Sent by Apify's send-mail Actor, so it needs Apify Starter and up (a plan that runs Store Actors); on the Free plan use <b>Send alerts to</b> above (Slack, Teams, Discord, Telegram). Never sent for the free demo."
          },
          "dedupeAcrossRuns": {
            "title": "Never output the same lead twice",
            "type": "boolean",
            "description": "Remembers every lead you were charged for — by its place id only — in a named key-value store on your account and skips it in future runs. One memory for every live search on your account: adding or removing a search, a city, a product or a country keeps it, so a lead is never delivered or charged twice. A separate memory per client: <code>dedupeStoreName</code> (API) or one saved task per client.",
            "default": true
          },
          "dedupeTtlDays": {
            "title": "Re-check a lead after (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "0 = a delivered lead is never delivered or charged again (right for new leads). 90 or 180 = it comes back after that many days with fresh Google fields and e-mail — keeps your CRM's contacts current; charged again as a lead. Affects what you pay.",
            "default": 0
          },
          "historyDatasetName": {
            "title": "Keep a running log (dataset name) (API only)",
            "type": "string",
            "description": "API only — hidden on the form. Optional. Type a name (e.g. <code>local-business-leads-ai-seen-log</code>) and every run appends its new leads with the date to that named dataset on your account — one list across months to connect to Google Sheets or your BI tool once. Empty = off. Costs nothing extra.",
            "default": ""
          },
          "sourceMode": {
            "title": "Where do the leads come from?",
            "enum": [
              "live",
              "dataset",
              "list"
            ],
            "type": "string",
            "description": "<code>{}</code> over the API runs the free demo — nothing charged; any search in <code>queries</code> runs the live search. The mode that runs = <code>sourceMode</code>, except <code>{}</code> = the free demo. <b>live</b> — Google Places on your key, or OpenStreetMap without one (<b>Live source</b>); any Apify plan, no Store Actor. <b>dataset</b> — an existing Apify dataset (e.g. a Google Maps export) re-scored for B2B fit. <b>list</b> — rows you paste in, or the free demo. The mode you choose always runs as chosen; only the untouched sample next to a search or a key you typed on the Console form switches to the live search.",
            "default": "live"
          },
          "autoSwitchToLive": {
            "title": "Typed search next to the sample starts the live search (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. On (default, Console runs only): search terms typed next to the untouched sample records start the live search (spend-capped; <code>OUTPUT.switchedToLive</code> names them). Off: the mode you send is the mode that runs — the sample stays the free demo and the status names the terms it did not search. Over the API the mode you send is always the mode that runs.",
            "default": true
          },
          "failOnSourceError": {
            "title": "Fail the run when no lead could be loaded (API only)",
            "type": "boolean",
            "description": "API only — hidden on the form. Off (default): a run whose Google key was refused ends FAILED with the plain reason anyway; a run with nothing to read ends SUCCEEDED with <code>OUTPUT.ok</code>. On: any source failure ends FAILED, so a schedule's failed-run alert fires. Turn it on for every schedule.",
            "default": false
          },
          "datasetId": {
            "title": "Dataset (API only)",
            "type": "string",
            "description": "API only — hidden on the form. Only for <b>dataset</b> mode. Pick the dataset so the Actor is granted read access to it."
          },
          "itemsList": {
            "title": "Leads to process",
            "type": "array",
            "description": "Only for <b>list</b> mode. JSON array of places. Required on every row: <code>name</code> (or <code>title</code>); optional: any field the README's <i>List-mode rows</i> table names (<code>placeId</code>, <code>website</code>, <code>phone</code>, <code>types</code>, <code>category</code>, <code>rating</code> …) — a Google Maps export from compass/crawler-google-places maps as it is. The prefilled rows are invented sample businesses for the free demo."
          },
          "discoveryActorId": {
            "title": "Source Actor (not used)",
            "type": "string",
            "description": "API compatibility: this Actor runs no source Actor — the live search is the Google Places API on your key (<code>apiKey</code>)."
          },
          "discoveryInput": {
            "title": "Reader input (not used)",
            "type": "object",
            "description": "API compatibility: the reader takes its input from <code>queries</code>, <code>placeIds</code> and the Google search fields."
          },
          "maxDiscoveryChargeUsd": {
            "title": "Max source spend (not used)",
            "minimum": 0.01,
            "maximum": 1000,
            "type": "number",
            "description": "API only — hidden. Affects what you pay: $0 — no source Actor runs in this build (kept for API compatibility); Google's side is capped by <code>maxGoogleRequests</code> on your key.",
            "default": 0.5
          },
          "maxToProcess": {
            "title": "Max leads to score per run (API only)",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "API only — hidden on the form. Upper bound on how many places are scored in one run. Default = 3 × max qualified."
          },
          "webhookUrl": {
            "title": "Webhook URL (optional) (API only)",
            "type": "string",
            "description": "API only — hidden on the form. Qualified leads are POSTed here as JSON (Zapier, Make, n8n, your CRM). For Google Sheets / Slack you can also use Apify's built-in Integrations tab. Stored encrypted — Zapier / Make hook URLs carry their secret in the path."
          },
          "webhookHeaders": {
            "title": "Webhook headers (API only)",
            "type": "object",
            "description": "API only — hidden on the form. Extra HTTP headers for the webhook, e.g. <code>{\"Authorization\": \"Bearer …\"}</code>. Stored encrypted by Apify, never logged."
          },
          "webhookBatchSize": {
            "title": "Webhook batch size (API only)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "API only — hidden on the form. 1 = one POST per lead the moment it is ready. Higher = one POST per N leads.",
            "default": 1
          },
          "webhookSecret": {
            "title": "Webhook signing secret (API only)",
            "type": "string",
            "description": "API only — hidden on the form. Any random string. Every webhook POST then carries <code>X-Signature: sha256=&lt;HMAC-SHA256 of the raw body with this secret&gt;</code>, so your endpoint can verify it came from this Actor. Stored encrypted by Apify, never logged."
          },
          "dedupeStoreName": {
            "title": "Dedupe store name (API only)",
            "type": "string",
            "description": "API only — hidden on the form. Key-value store used for cross-run memory. Left at the default, every live search on your account shares one memory (place ids are global): adding or removing a search, a city or a country keeps it, and rewording <code>goalDescription</code> keeps it too. Running it for several clients on one account, type one name per client.",
            "default": "local-business-leads-ai-seen"
          },
          "discoveryTimeoutSecs": {
            "title": "Source run timeout, seconds (API only)",
            "minimum": 60,
            "maximum": 86400,
            "type": "integer",
            "description": "API only — hidden on the form. Time cap in seconds for a source Actor run; the live search here reads the Google API inside the run's own timeout.",
            "default": 3600
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL (API only)",
            "type": "string",
            "description": "API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Slack incoming-webhook URL for the digest."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL (API only)",
            "type": "string",
            "description": "API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Discord channel webhook URL for the digest."
          },
          "teamsWebhookUrl": {
            "title": "Microsoft Teams webhook URL (API only)",
            "type": "string",
            "description": "API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Teams Workflows webhook URL for the digest."
          },
          "googleChatWebhookUrl": {
            "title": "Google Chat webhook URL (API only)",
            "type": "string",
            "description": "API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Google Chat space webhook URL for the digest."
          },
          "telegramUrl": {
            "title": "Telegram sendMessage link (API only)",
            "type": "string",
            "description": "API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. The bot's sendMessage link with its chat_id."
          },
          "clientName": {
            "title": "Client name on the report (API only)",
            "type": "string",
            "description": "API only — hidden on the form; the <b>Agency</b> preset fills it. Brands the REPORT page and the DIGEST an agency forwards (one saved task per client, with its own dedupeStoreName). No cost.",
            "default": ""
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}