Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
MCP ServerToolsCreate ICP MiningPOST

Create ICP Mining

Create an ICP mining run in Finder. Pass filters using finder field names: person_industries, person_locations, person_skills (number[] IDs from getFinderCategoryIds), organization_domains (string[]), organization_industries, organization_locations (number[] IDs), role_title, role_description. Use getFinderCategoryIds first for industries/locations/skills. At least one filter required. Optional: name, segment_id, total_targets.

Input Schema

ParameterTypeDescription
queryobjectFilters object. Keys: person_industries, person_locations, person_skills (number[] IDs), organization_domains (string[]), organization_industries, organization_locations, role_title, role_description. At least one filter required.
person_industriesarrayIndustry IDs from getFinderCategoryIds
person_locationsarrayLocation IDs from getFinderCategoryIds
person_skillsarraySkill IDs from getFinderCategoryIds
organization_domainsarrayCompany domains e.g. [“example.com”]
organization_industriesarrayOrganization industry IDs
organization_locationsarrayOrganization location IDs
organization_keywordsarrayOrganization keyword IDs
organization_web_technologiesarrayWeb technology IDs
role_titlestringJob title filter
role_descriptionstringRole/job description filter
namestringOptional name for the ICP mining run
segment_idstringOptional segment UUID
total_targetsnumberOptional estimated total targets count

REST Endpoint

POST /api/agents/tools/createIcpMining

The site_id field is required when calling via REST. At least one filter must be provided.

POST /api/agents/tools/createIcpMining Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "site_id": "YOUR_SITE_ID", "name": "Tech Engineers in NYC", "person_industries": [123], "person_locations": [789], "role_title": "Software Engineer", "segment_id": "SEGMENT_UUID" }

Response:

{ "success": true, "mining_id": "...", "status": "queued" }
Last updated on