Execute a batch of computer actions sequentially
Send an array of computer actions to execute in order on the browser instance. Execution stops on the first error. This reduces network latency compared to sending individual action requests.
POST
/browsers/{id}/computer/batchSend an array of computer actions to execute in order on the browser instance. Execution stops on the first error. This reduces network latency compared to sending individual action requests.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Browser session ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A batch of computer actions to execute sequentially.
Response
All actions executed successfully
no response body.
curl -X POST "https://example.com/browsers/string/computer/batch" \ -H "Content-Type: application/json" \ -d '{ "actions": [ { "type": "click_mouse" } ] }'Empty
{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}