{ "opencollection": "1.0.0", "info": { "name": "Kernel API Keys Browser Processes API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Browser Processes", "type": "folder" }, "items": [ { "info": { "name": "Execute a command synchronously", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/process/exec", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Execute a command synchronously" }, { "info": { "name": "Execute a command asynchronously", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/process/spawn", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Execute a command asynchronously" }, { "info": { "name": "Get process status", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/browsers/:id/process/:process_id/status", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" }, { "name": "process_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get process status" }, { "info": { "name": "Stream process stdout via SSE", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/browsers/:id/process/:process_id/stdout/stream", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" }, { "name": "process_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Stream process stdout via SSE" }, { "info": { "name": "Write to process stdin", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/process/:process_id/stdin", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" }, { "name": "process_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Write to process stdin" }, { "info": { "name": "Send signal to process", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/process/:process_id/kill", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" }, { "name": "process_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Send signal to process" }, { "info": { "name": "Resize a PTY-backed process terminal", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/browsers/:id/process/:process_id/resize", "params": [ { "name": "id", "value": "", "type": "path", "description": "Browser session ID" }, { "name": "process_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Resize a PTY-backed process terminal" } ] } ], "bundled": true }