DorkOS
ApiLocal browserOpen

Open a browser

POST
/api/local-browser/open

Only the owner on this computer can call this route. Choose the embedded DorkOS browser or a separate visible browser window. A sessionId shares the chosen page with that chat; leaving it out keeps human controls only.

Request Body

application/json

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/api/local-browser/open" \  -H "Content-Type: application/json" \  -d '{    "mode": "embedded"  }'
{  "preparation": {    "stage": "checking",    "component": "chromium",    "percent": 0  },  "connectionId": "string",  "sessionId": "string",  "mode": "embedded",  "status": "disconnected",  "paused": true,  "tabs": [    {      "id": "string",      "url": "string",      "title": "string"    }  ],  "selectedTabId": "string",  "revision": 0}