Update a session’s status or perform actions on it.
Currently supports stopping a session, which will:
This is useful for manually stopping long-running sessions or when you want to end a session before all tasks are complete.
Args:
Returns:
Raises:
Request model for updating session state
Attributes: action: The action to perform on the session
Successful Response
View model for representing a (browser) session with its associated tasks.
Attributes: id: Unique identifier for the session. status: Current status of the session (active/stopped). live_url: URL where the browser can be viewed live in real-time. started_at: Timestamp when the session was created and started. finished_at: Timestamp when the session was stopped (None if still active). tasks: Optional list of tasks associated with this session. record_url: URL to access the recorded session playback. public_share_url: Optional URL to access the public share of the session.