Prepare and inspect the service first
Follow Private Preview to start a service, check it inside the Computer, and inspect the web content. Do not share an administrative UI, filesystem listing, secret-bearing debug endpoint, or desktop control service. The service may listen on Guest127.0.0.1. Share supports HTTP and WebSocket, not arbitrary TCP/UDP or SSH. Share is available for Computers, not Sandboxes.
A created link is not a readiness check. The API can create Share metadata even when the Computer is stopped or its port has no listener. The Console requires a Running Computer before creating a Share, but link creation is still separate from application readiness.
Create and save the returned link
In the Computer’s Apps tab, enter the intended Port and choose Share publicly · 24h. Use Copy to save the returned link immediately. Using the SDK, with a configureddeepest client:
public_url once, along with Share metadata. Save the share.id for later revocation. List returns metadata only and cannot recover the original URL.
Do not repeat create just to retrieve a lost link. First inspect existing Shares; if the original URL is unavailable, deliberately replace the Share and revoke the old one after identifying it. Each create is a new authorization.
Check what an anonymous visitor sees
Open the link in a separate signed-out/private browser session and verify the intended result. For a simple HTTP endpoint:Application authentication differs from Preview
Share removes incoming Cookie, Authorization and Referer headers before forwarding requests to the Guest service. The browser still holds the Share URL, but the application cannot assume those incoming credentials will reach it. Consequently, do not promise that an existing cookie-based login or Authorization-header API works unchanged through Share. Private Preview preserves those application headers. If your demo relies on them, test the exact visitor journey and choose an appropriate access method. Deepest control-domain login cookies and Account Keys do not belong in the runtime service. The Share token itself gives no Account API, Exec, SSH, file-management or Desktop permission.List and revoke
revoked_at_ms before another mutation.
Lifecycle rules
The expiry is absolute, not “24 running hours.” Share expiry is fixed at 24 hours; there is no extension or custom-expiry input. Recently expired or revoked links can remain visible as metadata before routine history cleanup.
Failure and recovery
If Share creation returns
LIMIT_EXCEEDED for share_records, revoke or clean up unneeded Share records, then re-read the Share list before trying again. Revoking a record does not necessarily free retained history immediately.
An Agent should Share only when the user explicitly wants external access, verify the result from the visitor’s position, record the Share ID and expiry, and revoke it when that access is no longer required. It should never report “deployment complete” solely because a Share record exists.
See Private Preview, Account resources, Network behavior, and the Share section of the API reference.