v1

latestOpenAPI 3.1.02026-07-22136108233.0 KB
computer

Send key combination

Send a key combination in XDO-style syntax (e.g., 'ctrl+a', 'alt+tab').

Join keys with + to press them together as one chord (e.g. ctrl+a); a chord may combine multiple modifiers (ctrl/alt/shift/win) but only one non-modifier key. Separate keys with spaces to press them one after another (e.g. down down down). Using + between repeated or multiple non-modifier keys (e.g. down+down+down) is invalid — use spaces instead (down down down).

When down is omitted, the key is pressed and released normally. Pass down=true to press and hold the key (without releasing), and down=false to release a key that was previously held.

post/v1/computer/{machine_id}/input/keyboard/key

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

textstring required
downboolean nullable

None = full press (down + up), True = press key down and hold, False = release a key previously held with down=True

Response

Successful Response