/v1/phones/{phone}/previewGETlastCommand). It
opens USB screen capture like a screenshot does, but never requests Camera permission.
Missing access needs the setup app's Allow Camera button. A locked iPhone fails at once with device-locked. Without a frame it can
wait up to about 10 s. With capture running it returns the newest frame at once, so the
control plane polls it at 30 fps; the capture stays open 60 s after the last call.ghosthand tunnel url --new-token. The unix socket needs no token240Min: 60Max: 600title and detail are for people.curl -X GET "https://ghosthand.dev/macs/studio/v1/phones/00008020-001A2B3C4D5E002E/preview" \ -H "Authorization: Bearer <token>"
{ "code": "device-leased", "title": "iPhone leased by another client", "status": 409, "detail": "Tommy's iPhone is in use by another lease:\n ses_456 (book a table on OpenTable), acquired 2 min ago, last used 10 s ago (tap)\nDecide first: if that task is still active, give up or tell the user the iPhone is busy." }