Deploy a computer asset to a preview URL
Deploy a computer asset’s running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset’s metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer. Ports reserved by the computer runtime (such as the internal developer-agent port) are rejected with a 400 and can never be deployed. A 409 means the port cannot be exposed on this computer’s runtime as currently booted (the detail explains how to proceed); a 502 means the runtime’s port validation failed; a 503 means the deploy couldn’t be checked, so nothing was recorded and it can be sent again. A credential a runtime holds is refused with a 403 where the port would be served beyond the workspace (a public or SSO computer, a port in raw proxy mode, a public custom domain that would serve the port, whether pinned to it or a legacy one with no port, which follows the deployed port, or a stored policy or custom domains this server can’t read), unless its workspace’s decision_authority.agent_widening setting admits its agent. For now a staff impersonation (dashboard or in-app) is refused there too, whatever that setting says, until the central staff-acts-for-customer verdict admits a verified staff impersonation.
Authentication
Path parameters
Headers
Request
Response
Persistent Marathon preview URL for the deployed port (https://{uuid}—{port}.{marathon_app_domain}). Does not expire.
