Extend a session
Extend a live browser session by a number of minutes. Sessions are created with a timeout of at most 240 minutes and can be extended, one or more times, up to a total lifetime of 360 minutes (6 hours). The minutes are added to the session's current deadline. A request for more than the remaining headroom is granted the remainder, and the response carries a warning. The response's timeout is the session's new total budget in minutes, counted from when the session started.
Path parameters
The ID of the browser session. browser_session_id starts with pbs_
The ID of the browser session. browser_session_id starts with pbs_
Headers
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Request body
Response
Successfully extended browser session
Example response
{
"browser_session_id": "pbs_123456",
"status": "created",
"runnable_type": "task",
"runnable_id": "tsk_123456",
"timeout": 60,
"browser_address": "http://localhost:9222",
"app_url": "https://app.skyvern.com/browser-session/pbs_123456",
"stream_transport": "vnc"
}Changes
Changed in 2 of the 101 revisions of this API.2
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○