Analytics
GET
Returns the counters and chart series shown in the dashboard's Analytics tab. Results are cached server-side per period.
Query parameters
| Name | Allowed values | Default |
|---|---|---|
period | 24h, 7d, 30d | 7d |
Request
terminal
curl "https://api.envyauth.my.id/api/v3/projects/<project_uuid>/analytics?period=7d" \ -H "Authorization: Bearer YOUR_API_TOKEN"Response
{ "success": true, "data": { "period": "7d", "project_id": "uuid", "summary": { "total_exec": 12534, "active_today": 287 }, "exec_chart": [ /* points */ ], "script_chart": [ /* points */ ], "daily_chart": [ /* points */ ], "top_games": [ /* { place_id, name, exec_count } */ ], "platform_pie": [ /* { platform, count } */ ], "executor_pie": [ /* { executor, count } */ ], "top_region": [ /* { region, count } */ ] }, "requestid": "uuid"}{ "success": false, "error": "Project not found", "code": "NOT_FOUND", "requestid": "uuid"}{ "success": false, "error": "period must be one of: 24h, 7d, 30d", "code": "VALIDATION", "requestid": "uuid"}{ "success": false, "error": "Failed to load analytics", "code": "INTERNAL", "requestid": "uuid"}Fields
| Field | Meaning |
|---|---|
summary.total_exec | Cumulative execution count for the account's projects. |
summary.active_today | Distinct active users in the last 24 hours. |
exec_chart | Execution time series. Hourly when period=24h, daily otherwise (last 7 or 30 points). |
script_chart | Execution time series broken down by script. |
daily_chart | Daily active users time series. |
top_games | Top Roblox places by execution count. |
platform_pie | Slices for Desktop, Mobile, and Tablet. |
executor_pie | Slices per executor name. |
top_region | Top countries by execution count. |