Computer Use
/computeruse/a11y/findSearch the AT-SPI tree for nodes matching a role/name/state filter and return a flat list.
Request Body
application/json
Find request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/a11y/find" \ -H "Content-Type: application/json" \ -d '{}'{ "matches": [ { "actions": [ "string" ], "bounds": { "height": 0, "width": 0, "x": 0, "y": 0 }, "children": [ {} ], "description": "string", "id": "string", "name": "string", "role": "string", "states": [ "string" ] } ], "truncated": true}/computeruse/a11y/node/focusMove keyboard focus to the AT-SPI node identified by id (bus-name:object-path).
Request Body
application/json
Node focus request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/a11y/node/focus" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }'{}/computeruse/a11y/node/invokeCall an AT-SPI Action on the node. Leave action empty to invoke the node's primary (first) action.
Request Body
application/json
Invoke request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/a11y/node/invoke" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }'{}/computeruse/a11y/node/valueWrite the given value to the node via EditableText.SetTextContents or, for numeric controls, Value.CurrentValue.
Request Body
application/json
Set value request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/a11y/node/value" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }'{}/computeruse/a11y/treeFetch the AT-SPI accessibility tree for the focused application, a specific PID, or all registered applications.
Query Parameters
Scope: focused | pid | all (default: focused)
Process ID when scope=pid
Max tree depth (-1 unbounded, 0 root only; default -1)
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/computeruse/a11y/tree"{ "root": { "actions": [ "string" ], "bounds": { "height": 0, "width": 0, "x": 0, "y": 0 }, "children": [ {} ], "description": "string", "id": "string", "name": "string", "role": "string", "states": [ "string" ] }, "truncated": true}/computeruse/display/infoGet information about all available displays
Response Body
application/json
application/json
curl -X GET "https://example.com/computeruse/display/info"{ "displays": [ { "height": 0, "id": 0, "isActive": true, "width": 0, "x": 0, "y": 0 } ]}/computeruse/display/windowsGet information about all open windows
Response Body
application/json
application/json
curl -X GET "https://example.com/computeruse/display/windows"{ "windows": [ { "height": 0, "id": 0, "isActive": true, "title": "string", "width": 0, "x": 0, "y": 0 } ]}/computeruse/keyboard/hotkeyPress a hotkey combination (e.g., ctrl+c, cmd+v)
Request Body
application/json
Hotkey press request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/keyboard/hotkey" \ -H "Content-Type: application/json" \ -d '{}'{}/computeruse/keyboard/keyPress a key with optional modifiers
Request Body
application/json
Key press request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/keyboard/key" \ -H "Content-Type: application/json" \ -d '{}'{}/computeruse/keyboard/typeType text with optional delay between keystrokes
Request Body
application/json
Text typing request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/keyboard/type" \ -H "Content-Type: application/json" \ -d '{}'{}/computeruse/mouse/clickClick the mouse button at the specified coordinates
Request Body
application/json
Mouse click request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/mouse/click" \ -H "Content-Type: application/json" \ -d '{}'{ "x": 0, "y": 0}/computeruse/mouse/dragDrag the mouse from start to end coordinates
Request Body
application/json
Mouse drag request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/mouse/drag" \ -H "Content-Type: application/json" \ -d '{}'{ "x": 0, "y": 0}/computeruse/mouse/moveMove the mouse cursor to the specified coordinates
Request Body
application/json
Mouse move request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/mouse/move" \ -H "Content-Type: application/json" \ -d '{}'{ "x": 0, "y": 0}/computeruse/mouse/positionGet the current mouse cursor position
Response Body
application/json
application/json
curl -X GET "https://example.com/computeruse/mouse/position"{ "x": 0, "y": 0}/computeruse/mouse/scrollScroll the mouse wheel at the specified coordinates
Request Body
application/json
Mouse scroll request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/mouse/scroll" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true}/computeruse/process-statusGet the status of all computer use processes
Response Body
application/json
curl -X GET "https://example.com/computeruse/process-status"{ "status": "string"}/computeruse/process/{processName}/errorsGet errors for a specific computer use process
Path Parameters
Process name to get errors for
Response Body
application/json
curl -X GET "https://example.com/computeruse/process/string/errors"{ "errors": "string", "processName": "string"}/computeruse/process/{processName}/logsGet logs for a specific computer use process
Path Parameters
Process name to get logs for
Response Body
application/json
curl -X GET "https://example.com/computeruse/process/string/logs"{ "logs": "string", "processName": "string"}/computeruse/process/{processName}/restartRestart a specific computer use process
Path Parameters
Process name to restart
Response Body
application/json
curl -X POST "https://example.com/computeruse/process/string/restart"{ "message": "string", "processName": "string"}/computeruse/process/{processName}/statusCheck if a specific computer use process is running
Path Parameters
Process name to check
Response Body
application/json
curl -X GET "https://example.com/computeruse/process/string/status"{ "processName": "string", "running": true}/computeruse/recordingsGet a list of all recordings (active and completed)
Response Body
application/json
application/json
curl -X GET "https://example.com/computeruse/recordings"{ "recordings": [ { "durationSeconds": 0, "endTime": "string", "fileName": "string", "filePath": "string", "id": "string", "sizeBytes": 0, "startTime": "string", "status": "string" } ]}/computeruse/recordings/startStart a new screen recording session
Request Body
application/json
Recording options
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/recordings/start" \ -H "Content-Type: application/json" \ -d '{}'{ "durationSeconds": 0, "endTime": "string", "fileName": "string", "filePath": "string", "id": "string", "sizeBytes": 0, "startTime": "string", "status": "string"}/computeruse/recordings/stopStop an active screen recording session
Request Body
application/json
Recording ID to stop
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/computeruse/recordings/stop" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }'{ "durationSeconds": 0, "endTime": "string", "fileName": "string", "filePath": "string", "id": "string", "sizeBytes": 0, "startTime": "string", "status": "string"}/computeruse/recordings/{id}Get details of a specific recording by ID
Path Parameters
Recording ID
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/computeruse/recordings/string"{ "durationSeconds": 0, "endTime": "string", "fileName": "string", "filePath": "string", "id": "string", "sizeBytes": 0, "startTime": "string", "status": "string"}/computeruse/recordings/{id}Delete a recording file by ID
Path Parameters
Recording ID
Response Body
*/*
*/*
*/*
*/*
curl -X DELETE "https://example.com/computeruse/recordings/string"/computeruse/recordings/{id}/downloadDownload a recording by providing its ID
Path Parameters
Recording ID
Response Body
application/octet-stream
application/octet-stream
application/octet-stream
application/octet-stream
curl -X GET "https://example.com/computeruse/recordings/string/download"/computeruse/screenshotTake a screenshot of the entire screen
Query Parameters
Whether to show cursor in screenshot
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/computeruse/screenshot"{ "cursorPosition": { "x": 0, "y": 0 }, "screenshot": "string", "sizeBytes": 0}/computeruse/screenshot/compressedTake a compressed screenshot of the entire screen
Query Parameters
Whether to show cursor in screenshot
Image format (png or jpeg)
JPEG quality (1-100)
Scale factor (0.1-1.0)
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/computeruse/screenshot/compressed"{ "cursorPosition": { "x": 0, "y": 0 }, "screenshot": "string", "sizeBytes": 0}/computeruse/screenshot/regionTake a screenshot of a specific region of the screen
Query Parameters
X coordinate of the region
Y coordinate of the region
Width of the region
Height of the region
Whether to show cursor in screenshot
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/computeruse/screenshot/region?x=0&y=0&width=0&height=0"{ "cursorPosition": { "x": 0, "y": 0 }, "screenshot": "string", "sizeBytes": 0}/computeruse/screenshot/region/compressedTake a compressed screenshot of a specific region of the screen
Query Parameters
X coordinate of the region
Y coordinate of the region
Width of the region
Height of the region
Whether to show cursor in screenshot
Image format (png or jpeg)
JPEG quality (1-100)
Scale factor (0.1-1.0)
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/computeruse/screenshot/region/compressed?x=0&y=0&width=0&height=0"{ "cursorPosition": { "x": 0, "y": 0 }, "screenshot": "string", "sizeBytes": 0}/computeruse/startStart all computer use processes and return their status
Response Body
application/json
curl -X POST "https://example.com/computeruse/start"{ "message": "string", "status": { "property1": { "autoRestart": true, "pid": 0, "priority": 0, "running": true }, "property2": { "autoRestart": true, "pid": 0, "priority": 0, "running": true } }}/computeruse/statusGet the current status of the computer use system
Response Body
application/json
application/json
curl -X GET "https://example.com/computeruse/status"{ "status": "string"}/computeruse/stopStop all computer use processes and return their status
Response Body
application/json
curl -X POST "https://example.com/computeruse/stop"{ "message": "string", "status": { "property1": { "autoRestart": true, "pid": 0, "priority": 0, "running": true }, "property2": { "autoRestart": true, "pid": 0, "priority": 0, "running": true } }}