---
title: "Create Sandbox VNC Preview"
method: POST
path: "/api/v1/runs/{id}/sandbox/vnc"
tags: ["Human-in-the-Loop"]
---

# Create Sandbox VNC Preview

`POST /api/v1/runs/{id}/sandbox/vnc`

Starts or ensures Daytona Computer Use for the run sandbox and returns a signed noVNC preview URL.

## Path parameters

- `id` string, required

## Response `201`

Signed noVNC preview URL created

- VncPreviewResponse — Response containing a signed noVNC preview URL for a Daytona sandbox.
  - `url` string, required — Signed noVNC preview URL.
  - `provider` string, required — Sandbox provider that produced the VNC preview.
  - `port` integer, required — noVNC port exposed by the sandbox.
  - `expires_in_secs` integer, required — Signed URL time-to-live in seconds.

## Other responses

- `404` — Run not found
- `409` — Run has no active sandbox, Computer Use startup failed, or signed preview generation failed
- `501` — Sandbox provider does not support VNC previews

---

[API](https://skmtc.net/fabro-sh/apis/fabro-run-api.md) · [All operations](https://skmtc.net/fabro-sh/apis/fabro-run-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fabro-sh/fabro-run-api/versions/bee030053823/schema)
