desktop
One mouse, keyboard or window action on the desktop.
move {x,y}; click {x?,y?,button?,double?}; mouseDown/mouseUp {button?}; drag {from,to}; scroll {dy,dx?,x?,y?}; type {text}; key {keys}; cursor; windows; focus {windowId}; open {url}; launch {argv}; status.
post/v1/sandboxes/{id}/desktop:act
Request
- Base URL: https://api.withruntime.com
- URL: https://api.withruntime.com/v1/sandboxes/{id}/desktop:act
- Auth: HTTP bearer
Path parameters
idstring required
Resource identifier (UUID).
Headers
Idempotency-Keystring
Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.
Request body
Response
Success
object required
{ok: true}, or what was asked for: cursor {x, y}, windows {data}.
Changes
No recorded changes to this operation across all 1 revision of this API.