GET https://api.luaprotect.dev/v1/scripts
Fetch all protected scripts in your account with execution stats and connection counts.
Query Parameters
page(integer, optional) — Page number for pagination (Default: 1)limit(integer, optional) — Number of results per page (Default: 20)
Example Request
curl -X GET "https://api.luaprotect.dev/v1/scripts?page=1&limit=10" \
-H "Authorization: Bearer LUAP-YOUR_API_KEY_HERE"
Example Response
{
"scripts": [
{
"id": "scr_88192a",
"name": "Bedwars Hub",
"slug": "bedwars-v2",
"activeConnections": 42,
"totalExecutions": 12840,
"createdAt": "2026-07-25T14:30:00Z"
}
],
"total": 1
}