{ "opencollection": "1.0.0", "info": { "name": "Kernel API Keys Browser Computer Controls API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Browser Computer Controls", "type": "folder" }, "items": [ { "info": { "name": "Simulate a mouse click action on the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/click_mouse", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Simulate a mouse click action on the browser instance" }, { "info": { "name": "Move the mouse cursor to the specified coordinates on the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/move_mouse", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Move the mouse cursor to the specified coordinates on the browser instance" }, { "info": { "name": "Capture a screenshot of the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/screenshot", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Capture a screenshot of the browser instance" }, { "info": { "name": "Type text on the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/type", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Type text on the browser instance" }, { "info": { "name": "Press one or more keys on the host computer", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/press_key", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Press one or more keys on the host computer" }, { "info": { "name": "Scroll the mouse wheel at a position on the host computer", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/scroll", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Scroll the mouse wheel at a position on the host computer" }, { "info": { "name": "Drag the mouse along a path", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/drag_mouse", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Drag the mouse along a path" }, { "info": { "name": "Set cursor visibility", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/cursor", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Set cursor visibility" }, { "info": { "name": "Execute a batch of computer actions sequentially", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/batch", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Send an array of computer actions to execute in order on the browser instance.\nExecution stops on the first error. This reduces network latency compared to\nsending individual action requests.\n" }, { "info": { "name": "Get the current mouse cursor position on the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/get_mouse_position", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the current mouse cursor position on the browser instance" }, { "info": { "name": "Read text from the clipboard on the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/clipboard/read", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Read text from the clipboard on the browser instance" }, { "info": { "name": "Write text to the clipboard on the browser instance", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/computer/clipboard/write", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Write text to the clipboard on the browser instance" } ] } ], "bundled": true }