Update Browser Session
Stop a browser session.
Refund: When you stop a session, unused time is automatically refunded. If the session ran for less than 1 hour, you’ll receive a proportional refund. Billing is ceil to the nearest minute (minimum 1 minute).
Authentication
X-Browser-Use-API-Keystring
API Key authentication via header
Path Parameters
session_id
Request
This endpoint expects an object.
action
The action to perform on the session
Allowed values:
Response
Successful Response
id
Unique identifier for the session
status
Current status of the session (active/stopped)
Allowed values:
timeoutAt
Timestamp when the session will timeout
startedAt
Timestamp when the session was created and started
liveUrl
URL where the browser can be viewed live in real-time
cdpUrl
Chrome DevTools Protocol URL for browser automation
finishedAt
Timestamp when the session was stopped (None if still active)