Palo Alto Networks Scripts API
Script execution and results retrieval.
Operations 2
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
POST
/scripts/run_script
Run a library script on endpoints · Palo Alto Networks Execute Script on Endpoints
#
Ask an LLM
“Can I run a remediation script on several endpoints at once?”
“How do I collect forensic data from an endpoint with a script from the library?”
Tell an agent
Run the library script described in {request_data} on the target endpoints.
Execute a script on endpoints with request {request_data} and return the action ID.
POST
/scripts/get_script_execution_results
Get results of a script run · Palo Alto Networks Get Script Execution Results
#
Ask an LLM
“What output did my script produce on each endpoint?”
“Can I fetch script results using the action ID from the run?”
Tell an agent
Get the script execution results for request {request_data}.
Show output of the script run identified in {request_data}.