Update Session

Stop a session and all its running tasks.

Authentication

X-Browser-Use-API-Keystring
API Key authentication via header

Path Parameters

session_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
actionenumRequired
The action to perform on the session
Allowed values:

Response

Successful Response
idstringformat: "uuid"
Unique identifier for the session
statusenum

Current status of the session (active/stopped)

Allowed values:
startedAtdatetime
Timestamp when the session was created and started
taskslist of objects
List of tasks associated with this session
liveUrlstring or null

URL where the browser can be viewed live in real-time

finishedAtdatetime or null

Timestamp when the session was stopped (None if still active)

publicShareUrlstring or null
Optional URL to access the public share of the session

Errors