Workspaces

Share a workspace port at its preview URL.

Each workspace has at most one preview URL; setting a different port keeps the URL and points it at the new port. Something must be listening on that port inside the workspace (for example python3 -m http.server <port> --bind 127.0.0.1). Viewers sign in with Conductor and need read access to the workspace. While the workspace sleeps, the URL offers to wake it, and waking restarts the server last seen on the port. The URL is deleted when the workspace is archived.

put/v0/workspaces/{workspaceId}/preview

Request

  • Base URL
    https://api.conductor.build (the document declares no server; this is the origin it was published from)
  • URL
    https://api.conductor.build/v0/workspaces/{workspaceId}/preview
  • Auth
    HTTP bearer

Path parameters

workspaceIdstring required

Request body

portinteger required

Response

Default Response

Changes

No recorded changes to this operation across all 1 revision of this API.