GET https://api.luaprotect.dev/v1/audit-logs
Fetch security audit logs detailing API actions, ban events, and key generation.
Query Parameters
page(integer, optional) — Page number (Default: 1)limit(integer, optional) — Max 100 per page (Default: 15)
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
}