AA
Ask AI
/get_customer_insights
get customer insights
Get customer behavior and retention insights. All reports are per-store in multi-store mode — use the store param to target a specific store. Reports: new_vs_re
liveunknown~5s typical
mcpaskai
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-ask-ai-data-connector-ask-ai /get_customer_insights for me.
Input
| Field | Type | Description |
|---|---|---|
| report* | string (new_vs_returning | repeat_metrics | cohorts | retention_curve | by_category | cohorts_by_first_purchase) | Report type |
| startDate | string | Start date (YYYY-MM-DD) |
| endDate | string | End date (YYYY-MM-DD) |
| months | integer | For cohorts and retention_curve: number of months to look back for acquisition (default: 6 |
| sortBy | string (totalSpent | orders) | For top_customers: sort by totalSpent or orders (default: totalSpent) |
| minSpent | number | For lapsed_high_value: minimum lifetime spend in major units, e.g. 500 for £500 (default: |
| daysInactive | integer | For lapsed_high_value: days since last order to count as lapsed (default: 90) |
| maxDaysInactive | integer | For lapsed_high_value: upper bound on inactivity — customers whose last order is older tha |
| limit | integer | For top_customers and lapsed_high_value: number of results (default: 20) |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-com-ask-ai-data-connector-ask-ai","endpoint":"/get_customer_insights","input":{"report":"new_vs_returning"}}'cli
npx cracked-ai run -p mcp-com-ask-ai-data-connector-ask-ai -e /get_customer_insights -i '{"report":"new_vs_returning"}'mcp
run_tool({ provider: "mcp-com-ask-ai-data-connector-ask-ai", endpoint: "/get_customer_insights", input: {"report":"new_vs_returning"} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.