Command Execution
Execute commands inside the container and retrieve their output synchronously or asynchronously.
The Hoody Terminal service provides programmatic access to interactive shell sessions running inside a Hoody container. It exposes the same capabilities surfaced by the in-browser terminal UI: running commands, streaming output, managing long-lived sessions, monitoring system resources, driving TUI applications, and staging files into a session. Use the Terminal API to script workflows, build agents that interact with a shell, or integrate the terminal into external tools.
All Terminal endpoints are container-scoped and operate against the container assigned to your API token. The base URL follows the pattern https://{containerId}.containers.hoody.com, and authentication uses a Bearer token carried in the Authorization header.
Command Execution
Execute commands inside the container and retrieve their output synchronously or asynchronously.
Session Management
List active shell sessions, inspect their state, connect over WebSocket, and terminate sessions you no longer need.
Web Interface
Open the in-browser terminal UI directly, or generate a signed URL that grants temporary access to a session.
System Monitoring
Read CPU, memory, disk, and process metrics, and enumerate listening network ports for the container.
Terminal Automation
Drive TUI applications programmatically: snapshot the screen, search for text, send keystrokes, paste content, and wait for conditions.
File Drag-and-Drop
Stage files into a specific session and inject them as a drag-and-drop frame so the running shell or editor receives the drop event.
Most workflows fall into one of three patterns:
vim, htop, or a custom REPL, use the Terminal Automation endpoints to take snapshots, search the rendered screen, and send keystrokes deterministically.The remaining pages cover supporting concerns: opening the Web Interface for human access, querying System Monitoring for runtime telemetry, and using File Drag-and-Drop to push file contents into a session as if a user had dragged them onto the terminal.
Every Terminal request must include a Bearer token:
Authorization: Bearer <token>The token is the same container-scoped credential issued when the container was provisioned. It identifies the target container and authorizes operations against it; no separate host or path is needed because the container ID is encoded in the subdomain.