Skip to content

Tail the dev-session boot log (npm install + vite output)

GET
/api/workspaces/{workspaceId}/apps-v2/{id}/dev-preview/log

Returns the sandbox’s real boot output from offset onward, plus the log’s current size for the next poll. This is what the boot screen shows — the actual output, not a stand-in. Never starts a sandbox; with none running it returns an empty chunk.

workspaceId
required
string
id
required
string
offset
integer | null
0

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message