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. create returns once the request is recorded, which is before the container is necessarily running — the sandbox may still be in queued (waiting for capacity) or creating. Call sandbox.refresh() until sandbox.phase == "running" before calling exec.
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:
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:

