/v1/leases/{lease}/recording/startPOSTmaxDurationSeconds, when the
lease ends (release, idle timeout, force), or when the daemon stops; the file is
complete in each case. One recording per iPhone at a time (recording-active).
A locked iPhone fails with device-locked.ghosthand tunnel url --new-token. The unix socket needs no tokenapplication/jsonrequired"/tmp/demo.mp4"Pattern: ^/.*\.(mov|mp4)$1300Min: 1Max: 3600truetitle and detail are for people.curl -X POST "https://ghosthand.dev/macs/studio/v1/leases/42/recording/start" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "path": "/tmp/demo.mp4", "fps": 1, "maxDurationSeconds": 300, "audio": true }'
{ "path": "/tmp/demo.mp4", "startedAt": "2026-10-07T09:00:00.000Z", "stopsAt": "2026-10-07T09:01:00.000Z", "fps": 30, "audio": true }