leads

v1.9.0
ai.spideriq/leads Checked 3 days ago Published 4 months ago

SpiderIQ Leads: lead-gen MCP (jobs, campaigns, IDAP, Maps, People, Verify, company intel, spiderPR)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

request_access

Request access to SpiderIQ API. This sends an approval email to the admin. After calling this, use check_access_status to poll for approval. Once approved, the token is automatically saved for subsequent API calls.

ParameterTypeDescription
email *stringAdmin email address (the person who will approve access)
api_urlstringAPI URL (default: https://spideriq.ai)
projectstringProject name (shown in approval email)
recover_asstringRecover an existing agent by its OPVS address (username). Only takes effect when NO PAT is stored — a held PAT always rotates the SAME account.
scopesarrayRequested permission scopes (default: jobs:submit, jobs:read)

check_access_status

Check the status of a PAT access request. Returns 'pending', 'active', 'denied', 'expired', or 'revoked' (matches the backend PATRequestStatus enum). Once status==='active', the token is saved to ~/.spideriq/credentials.json automatically. Multi-brand approvals save one entry per workspace under client_id, with the first aliased as 'default' so existing tools (upload_local_file, etc.) keep working without --workspace.

ParameterTypeDescription
poll_token *stringPoll token from request_access
request_id *stringRequest ID from request_access
api_urlstringAPI URL (default: https://spideriq.ai)

get_auth_status

Check if you are authenticated and get current user info.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

logout

Remove stored authentication credentials.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

list_workspaces

List all configured workspaces and their authentication status.

health_check

Check if the SpiderIQ API is healthy and responsive.

ParameterTypeDescription
api_urlstringAPI URL (default: https://spideriq.ai)
workspacestringWorkspace name (default: default)

get_queue_stats

Get statistics about job queues (pending jobs, consumers, etc.).

ParameterTypeDescription
formatstringResponse format (default: json)
workspacestringWorkspace name (default: default)

get_api_info

Get information about the SpiderIQ API and your connection.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

submit_job

Submit a new scraping job to SpiderIQ. Available job types: - spiderSite: Scrape website content and extract contact info - spiderMaps: Search Google Maps for businesses - spiderMapsEnrich: Enrich Google Maps place with details - spiderVerify: Verify email addresses - spiderPeople: Find people information - spiderPhone: Extract phone-related data - spiderFacebookPage: Scrape Facebook pages - spiderPublicInstagram: Scrape public Instagram profiles - spiderPublicLinkedin: Scrape public LinkedIn profiles - spiderLanding: Capture landing page screenshots - spiderVideo: Generate video content - sp…

ParameterTypeDescription
payload *objectJob payload (varies by job type)
type *stringJob type to submit
formatstringResponse format (default: json)
workspacestringWorkspace name (default: default)

get_job_status

Get the current status of a job.

ParameterTypeDescription
job_id *stringJob ID to check
formatstringResponse format (default: json)
workspacestringWorkspace name (default: default)

get_job_results

Get the results of a completed job.

ParameterTypeDescription
job_id *stringJob ID to get results for
formatstringResponse format (default: json)
workspacestringWorkspace name (default: default)

list_jobs

List your submitted jobs with optional filtering.

ParameterTypeDescription
formatstringResponse format (default: json)
pagenumberPage number (default: 1)
per_pagenumberResults per page (default: 20)
statusstringFilter by status
typestringFilter by job type
workspacestringWorkspace name (default: default)

cancel_job

Cancel a pending or queued job.

ParameterTypeDescription
job_id *stringJob ID to cancel
workspacestringWorkspace name (default: default)

scrape_website

Scrape a website to extract contact information, social links, and content. This is a convenience wrapper for submit_job with type=spiderSite.

ParameterTypeDescription
url *stringWebsite URL to scrape
extract_emailsbooleanExtract email addresses (default: true)
extract_phonesbooleanExtract phone numbers (default: true)
extract_socialbooleanExtract social media links (default: true)
max_pagesnumberMaximum pages to crawl (default: 10)
workspacestringWorkspace name (default: default)

search_google_maps

Search Google Maps for businesses. This is a convenience wrapper for submit_job with type=spiderMaps.

ParameterTypeDescription
search_query *stringSearch query (e.g., "restaurants in New York")
max_resultsnumberMaximum results to return (default: 20)
workspacestringWorkspace name (default: default)

verify_emails

Verify email addresses for deliverability. This is a convenience wrapper for submit_job with type=spiderVerify.

ParameterTypeDescription
emails *arrayList of email addresses to verify
workspacestringWorkspace name (default: default)

create_video

Stitch AI-generated video scenes into a final video with transitions and music. Supports portrait (9:16) and landscape (16:9), fade transitions, background music, and SpiderMedia upload. This is a convenience wrapper for submit_job with type=spiderVideo.

ParameterTypeDescription
project_name *stringOutput filename without extension
scenes *arrayVideo scenes to stitch (1-50)
aspect_ratiostringAspect ratio (default: 9:16 portrait)
music_urlstringBackground music URL (mp3, wav)
music_volumenumberMusic volume 0-1 (default: 0.3)
preprocessbooleanAuto-fix invalid formats with FFmpeg (default: false)
testbooleanRoute to test queue (default: false)
transition_framesnumberFade transition in frames (default: 15 = 0.5s at 30fps)
uploadbooleanUpload result to SpiderMedia (default: false)
workspacestringWorkspace name (default: default)

search_people

Search for people on LinkedIn — profile lookup, search, research, or company employee extraction. Modes: - profile: Get a single LinkedIn profile by URL - search: Search people by natural language query (e.g., "CTO fintech Israel") - research: Deep research on a LinkedIn profile - company: Extract employees from a LinkedIn company page This is a convenience wrapper for submit_job with type=spiderPeople.

ParameterTypeDescription
mode *stringOperation mode
company_urlstringLinkedIn company URL (required for company mode)
icp_descriptionstringIdeal Customer Profile for lead scoring
linkedin_urlstringLinkedIn profile URL (required for profile/research modes)
max_employeesnumberMax employees to extract 1-2000 (default: 100)
person_namestringPerson name (optional, extracted from LinkedIn if not provided)
product_descriptionstringYour product description for lead scoring
profile_modestringEmployee detail level: short ($4/1K), full ($8/1K), full_email ($12/1K)
search_limitnumberMax profiles in search 1-50 (default: 10)
search_querystringNatural language search query (required for search mode)
testbooleanRoute to test queue (default: false)
workspacestringWorkspace name (default: default)

capture_landing_page

Capture a landing page — screenshots, HTML bundle, and AI-extracted marketing content. Useful for competitive analysis, ad tracking, and archiving landing pages. This is a convenience wrapper for submit_job with type=spiderLanding.

ParameterTypeDescription
url *stringLanding page URL to capture
ad_idstringFacebook Ad ID for correlation with ad library data
capture_full_pagebooleanCapture full-page screenshot (default: true)
capture_html_bundlebooleanDownload self-contained HTML (default: true)
capture_screenshotbooleanCapture above-fold screenshot (default: true)
dismiss_popupsbooleanDismiss cookie/popup banners via AI (default: true)
extract_contentbooleanAI-extract marketing content (default: true)
testbooleanRoute to test queue (default: false)
timeout_secondsnumberMax capture time 10-300 seconds (default: 60)
workspacestringWorkspace name (default: default)

get_company_data

Look up company data from public registries (US SEC EDGAR, UK Companies House, EU VIES VAT). Modes: - search: Search by company name (e.g., "Apple Inc" in US) - lookup: Look up by registry ID (e.g., CIK "0000320193" in US) - vat: Validate EU VAT number (e.g., "GB123456789") This is a convenience wrapper for submit_job with type=spiderCompanyData.

ParameterTypeDescription
countrystringCountry code ISO 3166-1 alpha-2 (US, GB, EU, etc.)
financials_modestringFinancials extraction method (UK only, default: auto)
identifierstringRegistry-specific company ID — CIK (US), Company Number (UK)
include_financialsbooleanExtract financial data from filings (UK only)
limitnumberMax results 1-100 (default: 10, search mode only)
modestringOperation mode (default: search)
namestringCompany name to search for (required for search mode)
testbooleanRoute to test queue (default: false)
vat_numberstringEU VAT number with country prefix (e.g., "GB123456789")
workspacestringWorkspace name (default: default)

submit_vayapin

Create a VayaPin business profile from enriched data. Requires business basics (name, country, coordinates) and website content (markdown URL or direct content). This is a convenience wrapper for submit_job with type=spiderVayapin.

ParameterTypeDescription
business_name *stringBusiness name for the VayaPin profile
country_code *string2-letter ISO country code (e.g., "DK", "US", "DE")
latitude *numberLatitude from Google Maps
longitude *numberLongitude from Google Maps
business_addressstringFull business address
business_phonestringBusiness phone number
domainstringWebsite domain (e.g., "example.com")
emails_verifiedarrayVerified emails from SpiderVerify [{email, status, source}]
facebookstringFacebook page URL
gmaps_linkstringGoogle Maps URL
instagramstringInstagram profile URL
linkedinstringLinkedIn page URL
logostringLogo image URL
markdown_compendiumstringDirect markdown content (alternative to markdown_url)
markdown_urlstringURL to crawled website markdown file (from SpiderSite/SpiderMedia)
original_websitestringOriginal website URL
testbooleanRoute to test queue (default: false)
twitterstringTwitter/X profile URL
workspacestringWorkspace name (default: default)

submit_social_enrichment

Recover a missing email / phone / real website / social links for ONE business from its public social handles (Social Media Enrichment). Given the business's known social handles (Facebook preferred, then Instagram) and optionally a single social-only website (linktr.ee / facebook / instagram URL), the job recovers whatever contact info it can and folds it in additively (never overwrites what you passed). If the business already has a usable email, the job self-skips (`has_email`) — recovery is only spent where it's needed. Requires the account's **Social Media Enrichment** plan to be enab…

ParameterTypeDescription
business_namestringBusiness name (context only).
campaign_idstringCampaign context — scopes the per-campaign usage cap. Usually omitted for standalone submissions.
country_codestringISO-2 country code, e.g. "US", "DE" (context only).
emailstringAn email already known for the business. If present, the job self-skips (has_email).
facebookstringFacebook page URL or handle (preferred source).
formatstringResponse format (default: json).
instagramstringInstagram profile URL or handle.
linkedinstringLinkedIn page URL or handle.
phonestringA phone already known for the business (folded, never overwritten).
place_idstringStable business identifier (Google place_id). Used as the exactly-once recovery key.
social_mediaobjectAlternative to the individual handle fields: a map of {platform: url|handle}, e.g. {"facebook": "https://facebook.com/acme", "instagram": "acme"}. Merged with any individual handle fields above.
testbooleanRoute to the test queue (default: false).
tiktokstringTikTok profile URL or handle.
twitterstringTwitter/X profile URL or handle.
websitestringA single social-only website (linktr.ee / facebook / instagram URL), if known.
workspacestringWorkspace name (default: default).

pr_submit

Submit a press release to the wire for distribution (SpiderPR). You author the release (title + body, plus optional summary/category/tags/contact); the job is dispatched to the SpiderPR wire worker, which renders it to wire-ready HTML, submits it to the provider, and polls until it is published. This is a convenience wrapper for submit_job with type=spiderPR. Poll get_job_results (or pr_get_result) for the {provider_order_id, status, published_url, wire_report_url}. Status flows queued → submitted → published (or failed).

ParameterTypeDescription
body *stringFull body of the release, plain text or HTML (required, max 50000 chars).
title *stringHeadline of the press release (required, max 300 chars).
categorystringRelease category/topic (e.g. 'Technology', 'Finance').
contactobjectMedia/press contact carried on the release (all fields optional).
formatstringResponse format (default: json).
prioritynumberJob priority 0 (lowest) to 10 (highest). Default 5.
scheduled_release_atstringRequested wire release time (ISO 8601). Omit for ASAP.
summarystringShort summary / subheadline of the release.
tagsarrayKeyword tags for the release (max 25).
testbooleanRoute to the test queue (default: false).
workspacestringWorkspace name (default: default).

pr_get_result

Get the SpiderPR wire-distribution result for a job — provider order id, distribution status (queued|submitted|published|failed), published URL, and wire report URL. Convenience wrapper for get_job_results.

ParameterTypeDescription
job_id *stringSpiderPR job ID to get results for.
formatstringResponse format (default: json).
workspacestringWorkspace name (default: default).

create_campaign

Create a new multi-location scraping campaign. Campaigns orchestrate Google Maps searches across multiple locations with optional website scraping and email verification. The backend automatically selects the appropriate WindMill workflow: - Maps + Site + Verify: Full pipeline (default) - Maps + Site: Skip email verification - Maps only: Quick business search without site scraping Provide a search query, country code, and optionally a workflow config to control which steps run. SMARTLEAD EXPORT (push leads to an outreach campaign automatically): set workflow.smartlead = { enabled: true, co…

ParameterTypeDescription
country_code *string2-letter ISO country code (e.g., "US", "DE", "IL")
search_query *stringWhat to search for (e.g., "restaurants", "dentists", "plumbers")
filterobjectLocation filter configuration. For a US ZIP campaign, scope to ONE state: { mode: "regions", admin_regions: ["Texas"], include_postcodes: true }.
max_resultsnumberMax results per location (1-500, default: 100)
namestringCampaign name (auto-generated if not provided)
testbooleanRoute to test queue (default: false)
workflowobjectWorkflow configuration to control which pipeline steps run
workspacestringWorkspace name (default: default)

list_campaigns

List your campaigns with optional status filtering.

ParameterTypeDescription
country_codestringFilter by country code
formatstringResponse format (default: json)
pagenumberPage number (default: 1)
page_sizenumberResults per page (1-100, default: 20)
statusstringFilter by campaign status
workspacestringWorkspace name (default: default)

get_campaign_status

Get detailed status and progress of a campaign. Returns: - Campaign configuration (query, country, workflow settings) - Progress: completed/failed/pending locations and percentage - Total businesses found - Which WindMill workflow is being used

ParameterTypeDescription
campaign_id *stringCampaign ID to check
formatstringResponse format (default: json)
workspacestringWorkspace name (default: default)

stop_campaign

Stop an active campaign. Can be resumed later with continue_campaign.

ParameterTypeDescription
campaign_id *stringCampaign ID to stop
workspacestringWorkspace name (default: default)

continue_campaign

Resume a stopped or paused campaign.

ParameterTypeDescription
campaign_id *stringCampaign ID to resume
workspacestringWorkspace name (default: default)

update_campaign

Update a campaign's configuration. Workflow config changes are merged with existing settings. Use this to change the search query, max results, or toggle workflow steps (site scraping, email verification) on an active campaign.

ParameterTypeDescription
campaign_id *stringCampaign ID to update
max_resultsnumberNew max results per location
namestringNew campaign name
search_querystringNew search query
workflowobjectUpdated workflow configuration (merged with existing)
workspacestringWorkspace name (default: default)

retry_campaign_location

Retry one location in a campaign (re-dispatches worker jobs). Use the location's `id` from list_campaign_jobs (campaign_locations.id), NOT the job_id. - retry_mode "full": re-run the whole workflow from SpiderMaps - retry_mode "site": keep Maps results, re-run SpiderSite + SpiderVerify - retry_mode "verify": keep Site results, re-run SpiderVerify only Max 3 retries per location.

ParameterTypeDescription
campaign_id *stringCampaign ID
location_id *numbercampaign_locations.id (the `id` from list_campaign_jobs)
retry_modestringRetry depth (default: full)
workspacestringWorkspace name (default: default)

retry_failed_locations

Retry every failed location in a campaign (up to max_locations, default 10). Locations that already hit the 3-retry cap are skipped, not errored. Useful after a campaign finishes with some failed locations.

ParameterTypeDescription
campaign_id *stringCampaign ID
max_locationsnumberMax locations to retry, 1-50 (default: 10)
workspacestringWorkspace name (default: default)

delete_campaign

Delete a campaign and all of its data. Irreversible. The campaign must be STOPPED first — this fails with a 409 if it still has active jobs. Call stop_campaign, wait for in-flight jobs to settle, then delete.

ParameterTypeDescription
campaign_id *stringCampaign ID to delete
workspacestringWorkspace name (default: default)

list_countries

List available countries (with location counts) you can target with a campaign. To target the US by ZIP, pick a STATE instead (the US is too large to scrape whole) — use list_regions(country_code="US"), or list_selectable_units which returns the 50 US states as country-equivalent units alongside real countries.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

list_regions

List the admin regions (US states / provinces) of a country, each with its city_count and postcode_count. This is how you discover valid state names for a US ZIP campaign: pick ONE state, then create_campaign with filter { mode: "regions", admin_regions: [state], include_postcodes: true }. A state's postcode_count is roughly how many Maps searches the ZIP run fans out into.

ParameterTypeDescription
country_code *string2-letter ISO country code, e.g. "US".
workspacestringWorkspace name (default: default)

list_selectable_units

List selectable geo units for a typeahead picker — countries plus, by default, the 50 US states as top-level "country-equivalent" units (so you target "Florida" the same way as "Germany"). Each unit has unit_id ("DE" or "US:Florida"), label, and kind ("country"|"state"). With states_as_units=true (default), "all of US" is intentionally NOT selectable (a US ZIP campaign must scope to one state). Set states_as_units=false to get plain countries (US as a whole) for non-ZIP use.

ParameterTypeDescription
states_as_unitsbooleanWhen true (default), replace the US with its 50 states as top-level units.
workspacestringWorkspace name (default: default)

idap_fetch_resource

Fetch a single resource from the client's normalized data store. Returns the resource data with active flags and optional related resources. Use field projection (`fields`) to reduce token usage. Use `include` to fetch related data in one call (e.g., a business + its emails and phones). Resource types: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media. Example ref format: idap://businesses/550e8400-e29b-41d4-a716-446655440000

ParameterTypeDescription
resource_id *stringUUID of the resource
resource_type *stringIDAP resource type: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media, pins
fieldsstringComma-separated fields to return (projection). E.g., "name,domain,email"
includestringComma-separated related types to include. E.g., "emails,phones" for businesses
workspacestringWorkspace name (default: default)

idap_list_resources

List resources from the client's normalized data with filtering and cursor-based pagination. Supports incremental sync via `since` parameter — only returns resources modified after that timestamp. Use `flags` to filter (e.g., "qualified" for flagged-only, or "-rejected" to exclude rejected). Returns items array, cursor for next page, and has_more boolean.

ParameterTypeDescription
resource_type *stringIDAP resource type: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media, pins
campaign_idstringFilter by campaign ID
cursorstringPagination cursor from previous response
fieldsstringComma-separated fields to return
flagsstringFilter by flags. "qualified" = must have flag. "-rejected" = exclude flag
includestringComma-separated related types to include
limitnumberMax results per page (1-500, default: 100)
orderstringSort order (default: desc)
sincestringISO 8601 datetime — only resources modified after this time
sortstringSort column (e.g., created_at, name)
sourcestringFilter by source worker (e.g., spiderMaps, spiderSite)
untilstringISO 8601 datetime — only resources modified before this time
workspacestringWorkspace name (default: default)

idap_write_flags

Add or remove flags on a resource. Flags are bidirectional metadata for lead qualification, workflow control, and agent coordination. Common flags: qualified, priority, rejected, do_not_contact, duplicate, reviewed, needs_enrichment. Behavioral flags: - "rejected" → excluded from default list responses - "do_not_contact" → respected by outreach workers - "duplicate" → triggers FuzzIQ merge Flags are idempotent (adding an existing flag is a no-op). Removes are soft-deletes (history preserved).

ParameterTypeDescription
resource_id *stringUUID of the resource to flag
resource_type *stringIDAP resource type: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media, pins
addarrayFlags to add (e.g., ["qualified", "priority"])
flagged_bystringWho is flagging (e.g., "agent:claude-code", "user:martin")
reasonstringReason for flagging
removearrayFlags to remove (e.g., ["needs_enrichment"])
workspacestringWorkspace name (default: default)

idap_batch_fetch

Batch fetch up to 100 resources by their idap:// refs. Accepts an array of ref strings (e.g., "idap://businesses/uuid1", "idap://emails/uuid2"). Returns results keyed by ref, plus errors for missing/invalid refs. Efficient for board views or CRM sync — one call instead of N individual fetches.

ParameterTypeDescription
refs *arrayArray of idap:// ref strings (max 100)
fieldsstringComma-separated fields to return
includestringComma-separated related types to include
workspacestringWorkspace name (default: default)

idap_stats

Get aggregate statistics for a resource type. Returns total count, flag distribution (how many resources have each flag), source breakdown (which workers generated the data), and last-24h activity counts. Useful for dashboards, health checks, and understanding data coverage.

ParameterTypeDescription
resource_type *stringIDAP resource type: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media, pins
workspacestringWorkspace name (default: default)

idap_resolve_resource

Resolve a single resource by external identifier instead of UUID. Use this when you have an external identifier (Google place_id, domain, email, VAT, LEI, etc.) and need the canonical IDAP record without first listing or searching. Accepted (resource_type, identifier) pairs — server enforces this allowlist: - businesses → place_id, domain pin_name, pin_data_set_id, account_id, pin_subscription_id (Wave D.1 — joined via pins.business_id) - domains → domain - emails → email - contacts → email, linkedin, twitter - linkedin_…

ParameterTypeDescription
resource_type *stringIDAP resource type: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media, pins
account_idstringVayaPin account UUID (pins)
domainstringDomain name (businesses, domains)
emailstringEmail address (emails, contacts)
fieldsstringComma-separated field projection
includestringComma-separated related types to include
leistringLegal Entity Identifier (company_registry)
linkedinstringLinkedIn profile URL on a contact
pin_data_set_idstringVayaPin data set UUID (pins)
pin_namestringVayaPin PIN name e.g. "BB:TAPAS" (pins)
pin_subscription_idstringVayaPin subscription UUID (pins)
place_idstringGoogle Place ID (businesses)
registration_numberstringNational registration number (company_registry)
source_idstringRegistry source id (company_registry, dev/admin only)
tax_idstringNational tax id (company_registry)
twitterstringTwitter profile URL on a contact
urlstringLinkedIn URL (linkedin_profiles)
vatstringVAT number (company_registry)
workspacestringWorkspace name (default: default)

idap_media

Get the URL for an IDAP media resource (screenshot, photo, document). Returns a URL to the media proxy endpoint — does not return binary data. The URL supports: - ?thumb=true — 400px thumbnail - ?download=true — Content-Disposition: attachment - Conditional requests (If-None-Match, If-Modified-Since → 304) Use the URL in markdown, HTML, or pass it to other tools.

ParameterTypeDescription
media_id *stringUUID of the media resource
downloadbooleanReturn download URL with Content-Disposition header (default: false)
thumbbooleanReturn 400px thumbnail URL (default: false)
workspacestringWorkspace name (default: default)

idap_find_duplicates

Find duplicate resources sharing a common external key. Used in dedupe workflows before calling the (future) delete endpoint. Returns clusters where two or more resources share the same value for a whitelisted key. Each cluster has `count >= 2` (single-occurrence values are filtered out server-side). Whitelisted `key` values per `resource_type` (Wave D.1, 2026-05-24): - businesses → google_place_id, domain, phone_e164 (direct columns on businesses) vat, registration_number, lei, tax_id (joined via company_registry.business_id) Other resource types are not yet supported (…

ParameterTypeDescription
key *stringClustering key. For businesses (Wave D.1): google_place_id, domain, phone_e164 (direct columns) or vat, registration_number, lei, tax_id (joined via company_registry).
resource_type *stringIDAP resource type: businesses, domains, contacts, emails, phones, company_registry, linkedin_profiles, media, pins
limitintegerMaximum clusters to return (1..500). Default 100.
workspacestringWorkspace name (default: default)

idap_delete_business

🔴 DESTRUCTIVE — delete a business + cascade across per-tenant tables. IRREVERSIBLE. Hard-deletes the business row in norm_cli_<client>.businesses AND cascades to linked tables (pins, business_contacts, business_registry, company_registry, contacts, phones, domains, linkedin_profiles). Transactional — all-or-nothing. Audit row written to public.idap_deletions_audit in the same transaction. WHEN TO USE: - Surfacing a duplicate via idap_resolve_resource + manual review, then cleaning up the duplicate. - Tenant cleanup of stale/incorrect business records. - Cascading removal of contact/em…

ParameterTypeDescription
business_id *stringUUID of the business to delete. Resolve alternate keys via idap_resolve_resource first.
reasonstringOptional free-text reason recorded in the audit log (max 500 chars). e.g. "duplicate of <other_uuid>".
workspacestringWorkspace name (default: default)

company_intel_research

Research a single company through the full intelligence pipeline: Perplexity discovery → website crawl → company registry → email verification → people/LinkedIn. Returns job_id to poll for results.

ParameterTypeDescription
company_name *stringCompany name to research (required)
citystringCity/location hint (helps discovery)
configobjectAdvanced pipeline config — toggle steps: { discovery: { enabled }, site: { enabled, mode, max_pages }, company_data: { enabled }, verify: { enabled }, people: { enabled } }
country_codestringISO 2-letter country code (e.g. "US", "DE")
domainstringKnown domain — skips Perplexity discovery step
linkedin_urlstringKnown LinkedIn company URL
max_employeesnumberMax employees to extract per company (1-2000, default 20)
profile_modestringEmployee detail level: 'short' = name+title+location ($4/1K), 'full' = +skills/education/experience ($8/1K), 'full_email' = +email discovery ($12/1K). Default: short
testbooleanRoute to test queue
workspacestring

company_intel_batch

Research multiple companies in batch (max 50). Same pipeline as single but processes all companies in parallel. Returns job_id to poll.

ParameterTypeDescription
companies *arrayArray of companies to research. Each: { company_name (required), city?, country_code?, domain?, linkedin_url? }
configobjectAdvanced pipeline config applied to all companies
max_employeesnumberMax employees per company (1-2000, default 20)
profile_modestringEmployee detail level for all companies: 'short', 'full', 'full_email'. Default: short
testbooleanRoute to test queue
workspacestring

subscribe_events

Subscribe to real-time job events (SSE). Opens a short-lived connection and returns a buffer of recent events. Event types: job.queued, job.started, job.completed, job.failed, connected.

ParameterTypeDescription
duration_secondsnumberHow long to listen for events (default: 5, max: 30)
max_eventsnumberMax events to collect before returning (default: 50)
workspacestring

get_event_status

Get event stream status — service health, active subscriptions, and whether your client is currently connected.

ParameterTypeDescription
workspacestring