Scripts
Create Or Update Script
Create a new script or update an existing one.
Saves the provided Python source code as a script file in the scripts directory. If a script with the same name exists, it will be overwritten. The script code should be a valid Python module that implements the ScriptStrategyBase class.
Use this endpoint to deploy custom scripts, update existing strategy implementations, or import scripts from external sources.
Note: After uploading a new script, you may need to restart the API server for the script to be properly loaded into the Python runtime.
post/scripts/{script_name}
Path parameters
script_namestring required
Request body
Response
Successful Response
object required