Skip to main content
GET
/
v1
/
sandboxes
/
{id}
/
desktop
/
viewer
Get the managed desktop viewer page
import requests

url = "https://api.13-215-85-171.sslip.io/v1/sandboxes/{id}/desktop/viewer"

response = requests.get(url)

print(response.text)
"<string>"

Path Parameters

id
string
required

Sandbox ID (e.g. sb_a1b2c3d4)

Query Parameters

auth
string
required

Short-lived managed desktop viewer auth token returned by /desktop/stream/start, /desktop/stream/auth-key, or /desktop/viewer/session.

Response

Browser viewer HTML for the managed desktop session. In NULLSPACE_PUBLIC_INGRESS_MODE=edge, the production viewer_url is edge-owned and same-origin with the edge desktop host; in api_compat, the API continues to serve the same public viewer contract. The route still requires the managed-session auth query token, honors the session's view_only mode, and self-renews through the public /desktop/viewer/session route instead of using the authenticated /desktop/stream/auth-key route. When the auth token is expired, replaced, stopped, or otherwise stale, the route still returns the HTML shell and boots the page into a terminal viewer state instead of returning a raw JSON auth error.

The response is of type string.