Get raw VNC connection info for advanced or operator use
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/stream"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/stream \
--header 'Authorization: Bearer <token>'{
"protocol": "<string>",
"host": "<string>",
"port": 123,
"url": "<string>"
}{
"error": "<string>",
"code": "invalid_request",
"error_detail": {
"code": "unauthorized",
"message": "<string>",
"phase": "auth",
"retryable": true,
"suggested_action": "<string>",
"step_index": 123,
"attempt": 123,
"max_attempts": 123,
"cache_subject": "<string>",
"build_id": "<string>",
"request_id": "<string>",
"details": {}
},
"request_id": "<string>",
"build_id": "<string>"
}Desktop
Get raw VNC connection info for advanced or operator use
GET
/
v1
/
machines
/
{id}
/
desktop
/
stream
Get raw VNC connection info for advanced or operator use
import requests
url = "https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/stream"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)curl --request GET \
--url https://api.13-215-85-171.sslip.io/v1/machines/{id}/desktop/stream \
--header 'Authorization: Bearer <token>'{
"protocol": "<string>",
"host": "<string>",
"port": 123,
"url": "<string>"
}{
"error": "<string>",
"code": "invalid_request",
"error_detail": {
"code": "unauthorized",
"message": "<string>",
"phase": "auth",
"retryable": true,
"suggested_action": "<string>",
"step_index": 123,
"attempt": 123,
"max_attempts": 123,
"cache_subject": "<string>",
"build_id": "<string>",
"request_id": "<string>",
"details": {}
},
"request_id": "<string>",
"build_id": "<string>"
}Authorizations
API key passed as Bearer token
Path Parameters
Machine ID (e.g. mch_a1b2c3d4)
Response
Lower-level raw vnc:// connection info. The managed viewer flow (/desktop/stream/start plus /desktop/viewer) is the primary guided viewing surface. This route is only available when raw VNC exposure is enabled in API policy.