| Parameter | Type | Required | Description |
|---|---|---|---|
reference | string | yes | The type of date range. Possible values: - current: aligned to calendar boundaries (e.g., this week, this month). - previous: previous calendar period (e.g., last month). - rolling: relative to current date, not aligned to calendar (e.g., last 30 days). - custom: user-defined start and end dates. |
range | string | required unless reference=custom | The size of the period. Possible values: day, week, month, year. For rolling ranges, you can also define rolling_7_days, rolling_30_days, etc. |
start_date | date | required if reference=custom | Start date for a custom range (YYYY-MM-DD). |
end_date | date | required if reference=custom | End date for a custom range (YYYY-MM-DD). |
curl --location 'https://api-dev.deepworkzone.ai/api/v1/public/stats/70119?reference=custom&start_date=2026-01-01&end_date=2026-11-05' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Success",
"data": {
"multiplai_id": "70334",
"email_address": "darryl.ceguerra@go.team",
"session_completed": 8,
"total_session_duration": "270",
"level": {
"title": "Flow Beginner",
"rank": "Starter",
"stage": 2,
"min": 1601,
"max": 6400,
"points": 2150,
"progress": 11.44
},
"ffs_earned": 2150
},
"meta": null
}