Hanzo
OpenapiSandbox

Open a screen

Mints a SINGLE-USE ticket for this sandbox's DISPLAY and returns `{ticket, expiresIn, url}`, where url is the desktop PAGE with the ticket already on it.

POST /v1/sandbox/{id}/screen/ticket

Addresshttps://api.hanzo.ai/v1/sandbox/{id}/screen/ticket
MethodPOST
Operationpost_sandbox_by_id_screen_ticket
AuthAuthorization: Bearer $HANZO_API_KEY

Mints a SINGLE-USE ticket for this sandbox's DISPLAY and returns {ticket, expiresIn, url}, where url is the desktop PAGE with the ticket already on it. The same ticket as the terminal's, minted for a different door.

A ticket says which org and which sandbox, and the terminal and the screen are two views of one machine: a caller who may type in a sandbox may look at it. What the door decides is the URL handed back, which is the only part that differs.

Mint one per screen, and mint a fresh one to reconnect.

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 ticket <id>

Sandbox API · All Hanzo APIs · Interactive reference

How is this guide?

On this page