step, and under each step returns allstart_date and end_date are provided, stats are calculated only for that date range.start_date and end_date are omitted, the endpoint returns all-time stats.is_del indicates whether the variation has been deleted.is_active indicates whether the variation is currently active.open may be 0 if open tracking is unavailable or disabled.curl --location --request GET 'https://api.plusvibe.ai/api/v1/campaign/get/variation-stats?workspace_id&campaign_id&start_date&end_date' \
--header 'x-api-key: <api-key>'[
{
"step": 1,
"variations": [
{
"variation": "A",
"sent": 0,
"open": 0,
"reply": 0,
"pos_reply": 0,
"name": "-",
"is_active": false,
"is_del": false
},
{
"variation": "B",
"sent": 614,
"open": 0,
"reply": 27,
"pos_reply": 26,
"name": "-",
"is_active": true,
"is_del": false
}
]
},
{
"step": 2,
"variations": [
{
"variation": "A",
"sent": 286,
"open": 0,
"reply": 20,
"pos_reply": 17,
"name": "-",
"is_active": true,
"is_del": false
},
{
"variation": "B",
"sent": 283,
"open": 0,
"reply": 14,
"pos_reply": 11,
"name": "-",
"is_active": true,
"is_del": false
}
]
},
{
"step": 3,
"variations": [
{
"variation": "A",
"sent": 540,
"open": 0,
"reply": 9,
"pos_reply": 7,
"name": "-",
"is_active": true,
"is_del": false
}
]
}
]