GET https://api.luaprotect.dev/v1/audit-logs

Fetch security audit logs detailing API actions, ban events, and key generation.

Query Parameters

Example Request

curl -X GET "https://api.luaprotect.dev/v1/audit-logs?page=1&limit=15" \
  -H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE"

Example Response

{
  "logs": [
    {
      "id": "log_99182",
      "action": "ban.issued",
      "target": "184729104",
      "ip": "198.51.100.42",
      "timestamp": "2026-08-06T16:45:00Z"
    }
  ],
  "total": 1
}