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

Fetch all protected scripts in your account with execution stats and connection counts.

Query Parameters

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
}