Scroll
Move the pointer to a coordinate and scroll the wheel up or down there.
x, y and scrolls the wheel there. A Windows computer scrolls at the pointer’s current position instead.
?screen=. Send it only direction and amount, both required: direction
must be up or down and amount from 1 to 50. Any other field,
including x and y, or a value outside those rules returns 400. A
successful response is {"ok": true}.Path parameters
instance_id is not accepted here and fails with 500.Query parameters
404 rather
than falling back to the default screen. A Windows computer ignores this
parameter.Body parameters
x = 0. See
the warning above. A Windows computer refuses this field with 400.y = 0. See
the warning above. A Windows computer refuses this field with 400.up or down. Optional on Linux: omitting it scrolls down,
and so does any value other than the exact string up. Required on Windows.0,
scrolls once, and a negative value moves the pointer, scrolls nothing, and
still returns 200. Required on Windows, from 1 to 50.Response
true on a 200. A failed scroll is an error status.scroll.direction and amount after defaults are applied. The coordinates
the pointer was moved to are not echoed back.Example
Response
Errors
request_id. Quote it in support requests. When the computer agent itself
answered non-2xx, the body additionally carries upstream_status.
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Path Parameters
Computer ID
Query Parameters
Which screen to act on. Omit for the boot screen. An unknown id returns 404 rather than falling back.
Body
X coordinate to move the pointer to before scrolling, in pixels from the left edge. The pointer is moved before every scroll, so omitting this warps it to x = 0 and scrolls whatever is under that point. Always send it.
Y coordinate to move the pointer to before scrolling, in pixels from the top edge. The pointer is moved before every scroll, so omitting this warps it to y = 0 and scrolls whatever is under that point. Always send it.
Scroll direction. Optional. Omitting it scrolls down, and so does any value other than the exact string up.
up, down Number of wheel clicks. Optional. Omitting it, or sending 0, scrolls once. A negative value moves the pointer, scrolls nothing, and still returns 200.
Response
Scroll performed
Always true on a 200. A failed action is an error status.
true
The action performed: click, mouse_move, drag, type, key_press, scroll, or wait.
Echo of what was performed. Its fields depend on the action.
Always null on a 200.
Always null on a 200.