GET https://api.luaprotect.dev/v1/analytics

Export global account analytics, daily execution trends, and enforced ban totals.

Query Parameters

Example Request

curl -X GET "https://api.luaprotect.dev/v1/analytics?range=7d" \
  -H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE"

Example Response

{
  "totalExecutions": 89400,
  "totalBansEnforced": 342,
  "dailyTrend": [
    { "date": "2026-08-01", "executions": 12400 },
    { "date": "2026-08-02", "executions": 14100 }
  ]
}