Script Execution
Execute scripts as HTTP endpoints. Trigger one-off runs, invoke scripts by URL route, and stream long-running output.
The Hoody Exec service turns your scripts into managed, HTTP-addressable units. It handles the full lifecycle: executing scripts as on-demand endpoints, reading and writing script sources, scaffolding new scripts from templates, managing dependencies, validating code, routing requests to the right script, capturing logs, scheduling recurring runs, and exposing runtime metrics.
Use this section when you need to interact with scripts programmatically — whether you are deploying a new endpoint, inspecting logs from a previous run, scheduling a job, or generating boilerplate from a template. Every operation described here is container-scoped; you will need a valid container ID and, for most operations, an authorization token for the target container.
Script Execution
Execute scripts as HTTP endpoints. Trigger one-off runs, invoke scripts by URL route, and stream long-running output.
Script Management
Read, write, delete, and organize scripts. Inspect source code, update metadata, and manage the script inventory in a container.
Script Templates
List, preview, and generate from built-in and custom script templates. Inspect template contents before scaffolding.
Code Generation from Templates
Scaffold new script code from a template, optionally customized with user input. Produces ready-to-run TypeScript source.
Dependency Management
Check whether a script’s declared dependencies are installed and install missing ones on demand.
Package Management
Manage the container’s package.json — list declared packages, add or remove dependencies, and resolve conflicts.
Cache & Shared State
Clear cached script artifacts and inspect or modify shared state values used across script invocations.
Route Management
Resolve a script URL to its handler, discover registered routes, and test that a route is reachable.
Code Validation
Validate TypeScript, script syntax, and dependency declarations before a script is executed or saved.
Log Management
List, read, stream, search, and clear execution logs produced by scripts running in the container.
Schedule Management
List scheduled scripts, trigger them on demand, reload schedules, and inspect past execution history.
Monitoring & Performance
Read live stats — memory, CPU, request counts, and per-script metrics — and check overall system health.