Create a session
Create a browser session that persists across multiple runs
Headers
x-api-key
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Request
This endpoint expects an object.
timeout
Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 1440. Defaults to 60.
proxy_location
Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
Available geotargeting options:
- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.
- RESIDENTIAL_ES: Spain
- RESIDENTIAL_IE: Ireland
- RESIDENTIAL_GB: United Kingdom
- RESIDENTIAL_IN: India
- RESIDENTIAL_JP: Japan
- RESIDENTIAL_FR: France
- RESIDENTIAL_DE: Germany
- RESIDENTIAL_NZ: New Zealand
- RESIDENTIAL_ZA: South Africa
- RESIDENTIAL_AR: Argentina
- RESIDENTIAL_AU: Australia
- RESIDENTIAL_ISP: ISP proxy
- US-CA: California
- US-NY: New York
- US-TX: Texas
- US-FL: Florida
- US-WA: Washington
- NONE: No proxy
Response
Successfully created browser session
browser_session_id
Unique identifier for the browser session. browser_session_id starts with pbs_.
organization_id
ID of the organization that owns this session
created_at
Timestamp when the session was created (the timestamp for the initial request)
modified_at
Timestamp when the session was last modified
runnable_type
Type of the current runnable associated with this session (workflow, task etc)
runnable_id
ID of the current runnable
timeout
Timeout in minutes for the session. Timeout is applied after the session is started. Defaults to 60 minutes.
browser_address
Url for connecting to the browser
app_url
Url for the browser session page
vnc_streaming_supported
Whether the browser session supports VNC streaming
download_path
The path where the browser session downloads files
downloaded_files
The list of files downloaded by the browser session
recordings
The list of video recordings from the browser session
started_at
Timestamp when the session was started
completed_at
Timestamp when the session was completed
deleted_at
Timestamp when the session was deleted, if applicable

