Script Execution
Execute scripts as HTTP endpoints. Each script is reachable via a generated URL route and can accept input through query parameters, headers, or request bodies.
The Exec service is the execution layer of the Hoody platform. It lets you write scripts, expose them as HTTP endpoints, manage their dependencies, schedule them, and observe their behavior at runtime. Whether you need a quick webhook, a recurring job, or a multi-script workflow with shared state, Exec provides the primitives to run untrusted and trusted code in a controlled environment.
Use these endpoints to execute scripts on demand, manage script files and folders, scaffold new scripts from templates, validate code before deployment, inspect logs, and monitor runtime performance.
Script Execution
Execute scripts as HTTP endpoints. Each script is reachable via a generated URL route and can accept input through query parameters, headers, or request bodies.
Script Management
Read, write, delete, and organize scripts. Browse the workspace tree, create folders, rename files, and retrieve script metadata.
Script Templates
List, preview, and generate from built-in templates. Browse available starter scripts and scaffold new files from any template.
Code Generation from Templates
Scaffold script code from built-in and custom templates. Generate complete script bodies ready to deploy.
Dependency Management
Check and install script dependencies. Inspect the resolved dependency graph for a script and trigger installations on demand.
Package Management
Manage package.json dependencies at the workspace level. Add, remove, and update packages across all scripts.
Cache & Shared State
Clear the runtime cache and manage shared state between script invocations. Useful for resetting long-lived state without restarting the runtime.
Route Management
Resolve, discover, and test script URL routes. Look up the script behind a given URL path and verify routing behavior.
Code Validation
Validate TypeScript, syntax, and dependencies before deployment. Catch type errors, syntax issues, and missing packages.
Log Management
List, read, stream, search, and clear logs produced by script executions. Filter by script, severity, or time window.
Schedule Management
List, trigger, reload, and inspect the history of scheduled script executions. Manage cron jobs and on-demand triggers.
Monitoring & Performance
Monitor execution stats and system health. Track invocations, latency, errors, and resource usage across the runtime.