Skip to main content
ports is the unreleased control-plane name. The CLI v0.5.0 and SDKs v0.4.0 ship this resource as previews and do not provide machines.ports. The examples below use the released namespace.
Creates a URL that proxies to a port inside the machine. Creation can return wake_in_progress; retrieve the preview by preview_id until its status is ready, then use the API-returned url. Treat closed, expired, and failed as terminal errors.
string
required
The machine that runs the service.
integer
required
The internal port your service listens on.
string
Public protocol for the exposed URL.
string
Who can use the URL: public, org, or private.

Manage exposed ports

string
required
The machine that owns the exposed port.
string
required
The preview resource to retrieve or delete.
Last modified on August 19, 2026