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

Lead Segmentation

Analyzes a lead and assigns them to the most suitable segment based on available data.

POST /api/agents/dataAnalyst/leadSegmentation

Request Body

{ "lead_id": "123e4567-e89b-12d3-a456-426614174000", "site_id": "123e4567-e89b-12d3-a456-426614174000", "auto_assign": true }
ParameterTypeRequiredDescription
lead_idstringYesThe UUID of the lead to segment.
site_idstringYesThe UUID of the site.
auto_assignbooleanNoWhether to automatically update the lead’s segment (default: true).

Response

Returns the recommended segment, confidence score, and reasoning.

Last updated on