Sandboxes
Create VNC access token
Generate a short-lived token for WebSocket VNC access to a sandbox.
Generate a short-lived token for WebSocket VNC access to a sandbox.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
id*string
Sandbox ID (ULID)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
start_desktop?boolean
Start the desktop environment before creating the VNC token
Response Body
application/json
application/problem+json
curl -X POST "https://api-dev.tektona.ai/v1/sandboxes/string/vnc-access" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://api-dev.tektona.ai/schemas/VNCAccessResponse.json", "expires_at": "2019-08-24T14:15:22Z", "token": "string", "url": "string"}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}