Node.js
AIO Sandbox includes a Node.js runtime for JavaScript execution. Use it for scripts, JSON processing, web tooling, and JavaScript-based automation.
Stateless Execution
Stateful Sessions
Use a session when later requests need previous variables:
Runtime Info
Session Management
Choosing An API
- Use
/v1/nodejs/executefor JavaScript-specific execution. - Use
/v1/code/executewhen your agent chooses the language dynamically. - Use
/v1/bash/execwhen you need shell commands such asnpm install.