Expose sandbox port
sandbox_expose_portExpose a sandbox port as an HTTPS URL with token-based access, letting the user open a web app running inside a running sandbox. Use sandbox_unexpose_port to remove it.
Instructions
Give a port inside a running sandbox an HTTPS URL, e.g. to show the user a web app the sandbox runs (it must listen on 0.0.0.0). The port stays private: the returned url carries an access token, so a browser opens it once and then keeps a cookie; other clients send accessToken in the X-Lizard-Access-Token header. Anyone with the url or token can reach the port, so share it only with the user. Remove it with sandbox_unexpose_port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| sandboxId | Yes | Exact sandbox ID from sandbox_create or sandbox_list |