sandboxes
Resize a browser window (beta)
Changed onBeta: size a window so its page is width by height CSS pixels. The window keeps that size until resized again, through this call or over CDP with Browser.setWindowBounds; the live view scales to fit it rather than resizing it. A browser that is not running cannot be resized.
patch/api/v2/sandboxes/browsers/{name}/attachments/{attachment_id}
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v2/sandboxes/browsers/{name}/attachments/{attachment_id}
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
namestring required
Browser name or ID
attachment_idstring required
Attachment ID
Request body
Response
OK
Changes
- info
endpoint added
- info