porter_sandbox:
Porter
Porter is the top-level sync client. It exposes resource namespaces for sandboxes, volumes, health, and readiness.
porter.sandboxes
create
Returns a
Sandbox handle.
get
Sandbox handle. Use names as the canonical reference for sandboxes you need to operate on later.
list
Sandbox
Sandbox is the handle returned by porter.sandboxes.
Properties:
Methods:
exec timeouts
exec is long-running: the client sends no timeout by default, so the call waits for the command to exit. Pass timeout (seconds) to cap how long the client waits. When the timeout elapses, the SDK raises SandboxTimeoutError and does not retry, since the command may still be running server-side.
timeout on Porter still applies to every other request (30 seconds by default).
Volumes
Volumes are persistent storage that can be mounted into sandboxes.Async client
AsyncPorter mirrors Porter with awaitable methods:
Low-level client
The top-level client exposes generated low-level clients through.raw:

