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 operations12 paths18 schemas12 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
clickMouse1 parambody→ 200400404500
POST
/browsers/{id}/computer/move_mouse
Move the mouse cursor to the specified coordinates on the browser instance
moveMouse1 parambody→ 200400404500
POST
/browsers/{id}/computer/screenshot
Capture a screenshot of the browser instance
takeScreenshot1 parambody→ 200400404500
POST
/browsers/{id}/computer/type
Type text on the browser instance
typeText1 parambody→ 200400404500
POST
/browsers/{id}/computer/press_key
Press one or more keys on the host computer
pressKey1 parambody→ 200400404500
POST
/browsers/{id}/computer/scroll
Scroll the mouse wheel at a position on the host computer
scroll1 parambody→ 200400404500
POST
/browsers/{id}/computer/drag_mouse
Drag the mouse along a path
dragMouse1 parambody→ 200400404500
POST
/browsers/{id}/computer/cursor
Set cursor visibility
setCursor1 parambody→ 200400404500
POST
/browsers/{id}/computer/batch
Execute a batch of computer actions sequentially
batchComputerAction1 parambody→ 200400404500
POST
/browsers/{id}/computer/get_mouse_position
Get the current mouse cursor position on the browser instance
getMousePosition1 param→ 200400404500
POST
/browsers/{id}/computer/clipboard/read
Read text from the clipboard on the browser instance
readClipboard1 param→ 200400404500
POST
/browsers/{id}/computer/clipboard/write
Write text to the clipboard on the browser instance
writeClipboard1 parambody→ 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 property1 required
PressKeyRequest
object
3 properties1 required
ScreenshotRegion
object
4 properties4 required
ClipboardContent
object
1 property1 required
MousePositionResponse
object
2 properties2 required
SleepAction
object
Pause execution for a specified duration.
1 property1 required
WriteClipboardRequest
object
1 property1 required
ErrorDetail
object
2 properties
ScrollRequest
object
5 properties2 required
Error
object
4 properties2 required
TypeTextRequest
object
2 properties1 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 properties1 required
ClickMouseRequest
object
6 properties2 required
DragMouseRequest
object
8 properties1 required
OkResponse
object
Generic OK response.
1 property1 required
MoveMouseRequest
object
5 properties2 required
BatchComputerActionRequest
object
A batch of computer actions to execute sequentially.
1 property1 required
Specification
The full machine-readable OpenAPI contract behind this narrative.