v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
computer

Scroll mouse wheel

Scroll the mouse wheel in the specified direction by a number of steps. Optionally moves to (x, y) before scrolling.

post/v1/computer/{machine_id}/input/mouse/scroll

Path parameters

machine_idstring required

Headers

Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000

Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.

Request body

directionstring required

Scroll direction: 'up', 'down', 'left', or 'right'

amountinteger required

Number of scroll steps (clicks); non-negative integer

xinteger nullable
yinteger nullable

Response

Successful Response