Skip to main content
GET
Get VNC password
Returns the computer’s VNC credential and its Desktop API token.
These values grant direct access to the computer’s display, shell, and Desktop API. Treat them as secrets. They can change when a computer is started again from its archive or when a resize reports connection_rotated, so fetch them fresh rather than caching them.

Path parameters

string
required
Computer UUID. This endpoint accepts the UUID only. Unlike the lifecycle endpoints, it does not resolve an instance_id, and passing one returns 500.

Response

string
The VNC credential. Use it as the password for a VNC client and as the token query parameter on the VNC and terminal WebSockets.
string
The Bearer token for the computer’s Desktop API: /bash, /events, and the terminal. Usually the same string as password, but a computer that carries its own stamped token returns that instead, so send this field rather than reusing password.

Access control

Workspace owners and editors can read these values. Viewers cannot obtain control credentials. A workspace-scoped API key can only read them for computers in its own workspace. This endpoint answers every one of these refusals with 401, not 403, as listed in Errors.

Example

Response

Usage

  • VNC connections: pass password as the password in any websockify-compatible VNC client, such as noVNC.
  • VNC and terminal WebSockets: pass password as the token query parameter (see the Terminal WebSocket).
  • Desktop API through Orgo: send your API key or password as the Bearer token on https://www.orgo.ai/api/desktops/{instance_id}/proxy/{endpoint}. Orgo swaps an API key for the computer’s credential before forwarding.
For programmatic control, use the Computer Actions endpoints instead of VNC. For interactive shell access, use the Terminal WebSocket.

Errors

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

id
string
required

Computer ID

Response

The computer's credentials

password
string

The VNC credential. Also the token query parameter on the VNC and terminal WebSockets.

desktop_api_token
string

Bearer token for the computer's Desktop API. Usually equal to password, but a computer with its own stamped token returns that instead, so send this field.