porter-sandbox. Use it from application code running in your sandbox-enabled Porter cluster.
Install
Add the SDK to your application:Create your first sandbox
Create a sandbox, execute a command, print the command output, and terminate the sandbox when the work is done:Fetch logs
Logs are returned as structured log lines:Get a sandbox by name
List sandboxes
Use tags to find sandboxes created by a workflow:Concurrent sandboxes
All TypeScript Sandbox SDK methods are promise-based, so you can fan out withPromise.all:

