Skip to main content
POST
Drag mouse
Performs a mouse drag from start to end coordinates.

Path parameters

string
required
Computer ID (UUID).

Body parameters

integer
required
Starting X coordinate.
integer
required
Starting Y coordinate.
integer
required
Ending X coordinate.
integer
required
Ending Y coordinate.

Response

boolean
true if the drag was performed.
string
Always drag.

Example

Response

Errors

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

id
string
required

Computer ID

Body

application/json
start_x
integer
required

Start X coordinate

start_y
integer
required

Start Y coordinate

end_x
integer
required

End X coordinate

end_y
integer
required

End Y coordinate

button
enum<string>
default:left

Mouse button

Available options:
left,
right
duration
number
default:0.5

Drag duration in seconds

Response

Drag performed

success
boolean
Example:

true