API referenceBrowsers
Change Browser Geometry
Resize the managed browser during the current human control episode.
POST
/api/v1/browsers/{browser_id}/geometryResize the managed browser during the current human control episode.
AuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Path Parameters
browser_id*Browser Id
Header Parameters
X-Workspace-ID?|
The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/browsers/string/geometry" \ -H "Content-Type: application/json" \ -d '{ "episode": 1, "generation": 1, "mode": "desktop", "size": { "height": 320, "width": 320 } }'{ "browser": { "app_id": "string", "control": "automation", "control_expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "delete_after_seconds": 0, "desktop_resize_available": false, "display_size": { "height": 1, "width": 1 }, "episode": 0, "expires_at": "2019-08-24T14:15:22Z", "failure": "string", "generation": 0, "geometry_revision": 0, "id": "string", "idle_seconds": 0, "name": "string", "organization_id": "string", "provider_id": "string", "source": "managed", "status": "reserved", "stop_after_seconds": 0, "updated_at": "2019-08-24T14:15:22Z", "version": 0, "workspace_id": "string" }, "result": { "actual": { "height": 1, "width": 1 }, "display": { "height": 1, "width": 1 }, "reobserve": false, "requested": { "height": 1, "width": 1 }, "status": "ok" }}