Hanzo
OpenapiSandbox

The screen, as a page

A complete, self-contained desktop — noVNC inline, no other origin — that opens its own socket and draws this sandbox's display.

GET /v1/sandbox/{id}/screen

Addresshttps://api.hanzo.ai/v1/sandbox/{id}/screen
MethodGET
Operationget_sandbox_by_id_screen
AuthAuthorization: Bearer $HANZO_API_KEY

A complete, self-contained desktop — noVNC inline, no other origin — that opens its own socket and draws this sandbox's display. Embed it in an iframe and there is nothing else to build.

ticket is the credential from the POST above, carried through to the socket. The page is NOT gated: it is inert markup and does not redeem the ticket, because a ticket is spent once and a page that spent it would hold a credential that no longer opens anything. frame-ancestors admits our own brands' hosts and nothing further.

It is served for every class, not only for desktop. The class is a fact about the image, and a sandbox with no VNC server already fails exactly — the connection is refused and the page says so — where a check here would be a second opinion about what is running inside a pod, formed from a label rather than from the pod.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo sandboxes screen get <id>

Sandbox API · All Hanzo APIs · Interactive reference

How is this guide?

On this page