Skip to content

Dashboard Stats

Fetches dashboard statistics for the authenticated brand. Supports date ranges, comparison periods, and filtering by workflow.

NameTypeRequiredDescriptionDefault
statsstring[]YesList of stat names to fetch (1–10). See available stats below.
fromstringNoStart date in YYYY-MM-DD format30 days ago
tostringNoEnd date in YYYY-MM-DD formatToday
compareFromstringNoComparison period start date in YYYY-MM-DD format
compareTostringNoComparison period end date in YYYY-MM-DD format
workflowIdstringNoFilter stats to a specific workflow
timezonestringNoTimezone for date calculationsAmerica/New_York

conversations, conversationsReplied, orderRecovered, recoveredSales, recoveryRate, commissions, subscriptionRevenue, totalRevenue, aov, impact, totalStoreSales, customerContacted, avgResponseTime

Show me recovered sales and recovery rate for the last 30 days, compared to the previous 30 days
{
"stats": [
{
"name": "recoveredSales",
"title": "Recovered Sales",
"description": "Total revenue recovered from abandoned checkouts",
"currentValue": "$12,450.00",
"previousValue": "$9,800.00",
"progress": 27.04,
"chart": {
"dates": ["Jan 15", "Jan 16", "Jan 17"],
"values": [450, 380, 520]
}
}
],
"errors": [],
"dateRange": {
"from": "2025-01-01",
"to": "2025-01-31",
"compareFrom": "2024-12-02",
"compareTo": "2025-01-01"
},
"brandId": "abc-123"
}
  • Request up to 10 stats at once
  • The progress field is the percentage change between current and previous periods
  • Some stats like recoveryRate, totalRevenue, aov, and impact are computed from multiple underlying metrics
  • Use workflowId from list_workflows to see per-flow performance