Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kernel Browser Computer Controls API

Control mouse, keyboard, and screen on the browser instance.

Kernel Browser Computer Controls API is one of 22 APIs that Kernel publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Browser Computer Controls. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 12 operations across 12 paths, and defines 18 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, https://api.onkernel.com.

12 operations 12 paths 18 schemas 12 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.onkernel.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Kernel Browser Computer Controls API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 12

Across 12 paths, the API surfaces 12 operations — 12 POST. Each is listed below with its method, path, parameters, and response codes.

Browser Computer Controls 12

Control mouse, keyboard, and screen on the browser instance.

POST
/browsers/{id}/computer/click_mouse
Simulate a mouse click action on the browser instance
clickMouse 1 param body → 200400404500
POST
/browsers/{id}/computer/move_mouse
Move the mouse cursor to the specified coordinates on the browser instance
moveMouse 1 param body → 200400404500
POST
/browsers/{id}/computer/screenshot
Capture a screenshot of the browser instance
takeScreenshot 1 param body → 200400404500
POST
/browsers/{id}/computer/type
Type text on the browser instance
typeText 1 param body → 200400404500
POST
/browsers/{id}/computer/press_key
Press one or more keys on the host computer
pressKey 1 param body → 200400404500
POST
/browsers/{id}/computer/scroll
Scroll the mouse wheel at a position on the host computer
scroll 1 param body → 200400404500
POST
/browsers/{id}/computer/drag_mouse
Drag the mouse along a path
dragMouse 1 param body → 200400404500
POST
/browsers/{id}/computer/cursor
Set cursor visibility
setCursor 1 param body → 200400404500
POST
/browsers/{id}/computer/batch
Execute a batch of computer actions sequentially
batchComputerAction 1 param body → 200400404500
POST
/browsers/{id}/computer/get_mouse_position
Get the current mouse cursor position on the browser instance
getMousePosition 1 param → 200400404500
POST
/browsers/{id}/computer/clipboard/read
Read text from the clipboard on the browser instance
readClipboard 1 param → 200400404500
POST
/browsers/{id}/computer/clipboard/write
Write text to the clipboard on the browser instance
writeClipboard 1 param body → 200400404500

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are ComputerAction (9 properties), DragMouseRequest (8 properties), ClickMouseRequest (6 properties), ScrollRequest (5 properties). Each schema is shown below with its type and property counts.

ScreenshotRequest
object
1 property
SetCursorRequest
object
1 property 1 required
PressKeyRequest
object
3 properties 1 required
ScreenshotRegion
object
4 properties 4 required
ClipboardContent
object
1 property 1 required
MousePositionResponse
object
2 properties 2 required
SleepAction
object
Pause execution for a specified duration.
1 property 1 required
WriteClipboardRequest
object
1 property 1 required
ErrorDetail
object
2 properties
ScrollRequest
object
5 properties 2 required
Error
object
4 properties 2 required
TypeTextRequest
object
2 properties 1 required
ComputerAction
object
A single computer action to execute as part of a batch. The type field selects which action to perform, and the corresponding field contains the action paramet…
9 properties 1 required
ClickMouseRequest
object
6 properties 2 required
DragMouseRequest
object
8 properties 1 required
OkResponse
object
Generic OK response.
1 property 1 required
MoveMouseRequest
object
5 properties 2 required
BatchComputerActionRequest
object
A batch of computer actions to execute sequentially.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kernel-browser-computer-controls-api-openapi.yml Raw ↑

Other APIs Kernel publishes across the network.

Kernel API Keys API
Kernel Apps API
Kernel Audit Logs API
Kernel Browser Filesystem API
Kernel Browser Logs API
Kernel Browser Playwright API
Kernel Browser Pools API
Kernel Browser Processes API
Kernel Browser Replays API
Kernel Browser Telemetry API
Kernel Browsers API
Kernel Credential Providers API