curl --request POST \
--url https://api.skyvern.com/v1/browser_sessions \
--header 'Content-Type: application/json' \
--data '{
"timeout": 60
}'{
"browser_session_id": "pbs_123456",
"organization_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"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",
"extensions": [
"ad-blocker"
],
"browser_type": "msedge",
"vnc_streaming_supported": false,
"download_path": "<string>",
"downloaded_files": [
{
"url": "<string>",
"checksum": "<string>",
"filename": "<string>",
"modified_at": "2023-11-07T05:31:56Z"
}
],
"recordings": [
{
"url": "<string>",
"checksum": "<string>",
"filename": "<string>",
"modified_at": "2023-11-07T05:31:56Z"
}
],
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}Create a browser session that persists across multiple runs
curl --request POST \
--url https://api.skyvern.com/v1/browser_sessions \
--header 'Content-Type: application/json' \
--data '{
"timeout": 60
}'{
"browser_session_id": "pbs_123456",
"organization_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"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",
"extensions": [
"ad-blocker"
],
"browser_type": "msedge",
"vnc_streaming_supported": false,
"download_path": "<string>",
"downloaded_files": [
{
"url": "<string>",
"checksum": "<string>",
"filename": "<string>",
"modified_at": "2023-11-07T05:31:56Z"
}
],
"recordings": [
{
"url": "<string>",
"checksum": "<string>",
"filename": "<string>",
"modified_at": "2023-11-07T05:31:56Z"
}
],
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 1440. Defaults to 60.
5 <= x <= 1440Geographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.
Available geotargeting options:
RESIDENTIAL, US-CA, US-NY, US-TX, US-FL, US-WA, RESIDENTIAL_ES, RESIDENTIAL_IE, RESIDENTIAL_GB, RESIDENTIAL_IN, RESIDENTIAL_JP, RESIDENTIAL_FR, RESIDENTIAL_DE, RESIDENTIAL_NZ, RESIDENTIAL_ZA, RESIDENTIAL_AR, RESIDENTIAL_AU, RESIDENTIAL_BR, RESIDENTIAL_TR, RESIDENTIAL_CA, RESIDENTIAL_MX, RESIDENTIAL_IT, RESIDENTIAL_NL, RESIDENTIAL_PH, RESIDENTIAL_ISP, NONE A list of extensions to install in the browser session.
ad-blocker, captcha-solver The type of browser to use for the session.
msedge, chrome Successfully created browser session
Response model for browser session information.
Unique identifier for the browser session. browser_session_id starts with pbs_.
"pbs_123456"
ID of the organization that owns this session
Timestamp when the session was created (the timestamp for the initial request)
Timestamp when the session was last modified
Current status of the browser session
"created"
Type of the current runnable associated with this session (workflow, task etc)
"task"
ID of the current runnable
"tsk_123456"
Timeout in minutes for the session. Timeout is applied after the session is started. Defaults to 60 minutes.
60
Url for connecting to the browser
"http://localhost:9222"
Url for the browser session page
"https://app.skyvern.com/browser-session/pbs_123456"
A list of extensions installed in the browser session.
ad-blocker, captcha-solver The type of browser used for the session.
msedge, chrome Whether the browser session supports VNC streaming
The path where the browser session downloads files
The list of files downloaded by the browser session
Show child attributes
The list of video recordings from the browser session
Show child attributes
Timestamp when the session was started
Timestamp when the session was completed
Timestamp when the session was deleted, if applicable