Tasks use a computer when they run scripts or open websites. That can be Svanja’s cloud computer or your own machine, paired through the command line. You can see your paired machines in Connections. These endpoints let you check a computer’s state and start, sleep, or reset it. To read computer info, you need the Computers area, which is included in Full access and Read-only. To control a computer, you need Full access or Computers set to Read and write. For more background, see The computer and its browser.
Use GET /computers to list your cloud computer and paired machines, or GET /computers/{id} to view a single one. To control a computer, send POST /computers/{id}/actions with action set to start, sleep, stop, reset, or refresh.
To pair your own machine, run svanja runner start on it (see svanja runner). Calling POST /computers only begins that handoff. Once a person approves it, the endpoint returns a link to the command-line sign-in, and the pairing happens in the command.