v51

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
Script Library

Compile script

Compile an NXSL script to check its syntax without executing it. Returns whether compilation succeeded, the error location and message on failure, and any compilation warnings.

post/v1/script-library/compile

Request body

codestring required

NXSL source code to compile

Response

Script compiled (check the success field for the outcome)

successboolean

True if the script compiled without errors