Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Update API specifications with fern api update (#6209)
Shuchang Zhengb415ac863c27
diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.jsonindex 4e86b0168..9918077a2 100644--- a/fern/openapi/skyvern_openapi.json+++ b/fern/openapi/skyvern_openapi.json@@ -55,7 +55,7 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/TaskRunRequest"+ "$ref": "#/components/schemas/TaskRunRequest-Input"}}}@@ -177,7 +177,7 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/WorkflowRunRequest"+ "$ref": "#/components/schemas/WorkflowRunRequest-Input"}}}@@ -409,6 +409,84 @@]}},+ "/v1/runs/cancel": {+ "post": {+ "tags": [+ "Agent",+ "Workflow Runs"+ ],+ "summary": "Bulk cancel runs",+ "description": "Cancel multiple runs (tasks or workflows) in a single request",+ "operationId": "bulk_cancel_runs_v1_runs_cancel_post",+ "parameters": [+ {+ "name": "x-api-key",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",+ "title": "X-Api-Key"+ },+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BulkCancelRunsRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BulkCancelRunsResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "bulk_cancel_runs",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.bulk_cancel_runs(run_ids=[\"tsk_v2_123\", \"wr_456\"])\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.bulkCancelRuns({ run_ids: [\"tsk_v2_123\", \"wr_456\"] });\n"+ }+ ]+ }+ ]+ }+ },"/v1/workflows": {"post": {"tags": [@@ -1380,12 +1458,18 @@}}},+ "206": {+ "description": "Partial artifact content (Range request)"+ },"403": {"description": "Invalid or expired artifact URL"},"404": {"description": "Artifact not found or content unavailable"},+ "416": {+ "description": "Range not satisfiable"+ },"422": {"description": "Validation Error","content": {@@ -1680,6 +1764,138 @@]}},+ "/v1/version": {+ "get": {+ "tags": [+ "server"+ ],+ "summary": "Get server version",+ "description": "Returns the current Skyvern server version (git SHA for official builds).",+ "operationId": "get_version_v1_version_get",+ "responses": {+ "200": {+ "description": "Current server version",+ "content": {+ "application/json": {+ "schema": {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object",+ "title": "Response Get Version V1 Version Get"+ }+ }+ }+ }+ }+ }+ },+ "/v1/workflows/runs/{workflow_run_id}/retry": {+ "post": {+ "tags": [+ "Workflow Runs",+ "Workflows"+ ],+ "summary": "Retry workflow run",+ "description": "Retry a workflow run using the original run parameters.",+ "operationId": "retry_workflow_run_v1_workflows_runs__workflow_run_id__retry_post",+ "parameters": [+ {+ "name": "workflow_run_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The id of the workflow run to retry.",+ "examples": [+ "wr_123"+ ],+ "title": "Workflow Run Id"+ },+ "description": "The id of the workflow run to retry."+ },+ {+ "name": "x-api-key",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",+ "title": "X-Api-Key"+ },+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."+ },+ {+ "name": "x-max-steps-override",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "X-Max-Steps-Override"+ }+ },+ {+ "name": "x-user-agent",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "X-User-Agent"+ }+ }+ ],+ "responses": {+ "200": {+ "description": "Successfully retried workflow run",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowRunResponse"+ }+ }+ }+ },+ "400": {+ "description": "Workflow run is not retryable"+ },+ "404": {+ "description": "Workflow run not found"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "retry_workflow_run"+ }+ },"/v1/runs": {"get": {"tags": [@@ -1957,10 +2173,11 @@"/v1/workflows/{workflow_id}/runs": {"get": {"tags": [- "Workflow Runs"+ "Workflow Runs",+ "Workflows"],"summary": "List runs for a workflow",- "description": "List runs for a specific workflow. Supports filtering by status, search_key, and error_code. All filters are combined with AND logic.",+ "description": "List runs for a specific workflow.\n\nSupports filtering by **status**, **search_key**, and **error_code**. All filters are combined with **AND** logic.\n\n### search_key\n\nCase-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. Soft-deleted parameter definitions are excluded.\n\n### error_code\n\nExact-match filter on the `error_code` field inside each task's `errors` JSON array. A run matches if any of its tasks contains an error with a matching `error_code`.","operationId": "get_workflow_runs_by_id_v1_workflows__workflow_id__runs_get","parameters": [{@@ -1969,11 +2186,8 @@"required": true,"schema": {"type": "string",- "description": "Workflow permanent ID. Workflow ID starts with `wpid_`.",- "example": "wpid_123","title": "Workflow Id"- },- "description": "Workflow permanent ID. Workflow ID starts with `wpid_`."+ }},{"name": "page",@@ -2006,11 +2220,17 @@"in": "query","required": false,"schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/WorkflowRunStatus"- },- "nullable": true,+ "anyOf": [+ {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/WorkflowRunStatus"+ }+ },+ {+ "type": "null"+ }+ ],"description": "Filter by one or more run statuses.","title": "Status"},@@ -2021,34 +2241,62 @@"in": "query","required": false,"schema": {- "type": "string",- "nullable": true,- "maxLength": 500,- "description": "Case-insensitive substring search across workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers.",+ "anyOf": [+ {+ "type": "string",+ "maxLength": 500+ },+ {+ "type": "null"+ }+ ],+ "description": "Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. A run is returned if any of these fields match. Soft-deleted parameter definitions are excluded from key/description matching.",+ "examples": [+ "login_url",+ "credential_value",+ "wr_abc123"+ ],"title": "Search Key"},- "description": "Case-insensitive substring search across workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers."+ "description": "Case-insensitive substring search across: workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers. A run is returned if any of these fields match. Soft-deleted parameter definitions are excluded from key/description matching."},{"name": "error_code","in": "query","required": false,"schema": {- "type": "string",- "nullable": true,- "maxLength": 500,- "description": "Exact-match filter on the error_code field inside each task's errors JSON array.",+ "anyOf": [+ {+ "type": "string",+ "maxLength": 500+ },+ {+ "type": "null"+ }+ ],+ "description": "Exact-match filter on the error_code field inside each task's errors JSON array. A run matches if any of its tasks contains an error with a matching error_code. Error codes are user-defined strings set during workflow execution.",+ "examples": [+ "INVALID_CREDENTIALS",+ "LOGIN_FAILED",+ "CAPTCHA_DETECTED"+ ],"title": "Error Code"},- "description": "Exact-match filter on the error_code field inside each task's errors JSON array."+ "description": "Exact-match filter on the error_code field inside each task's errors JSON array. A run matches if any of its tasks contains an error with a matching error_code. Error codes are user-defined strings set during workflow execution."},{"name": "x-api-key","in": "header","required": false,"schema": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.","title": "X-Api-Key"},@@ -2065,7 +2313,7 @@"items": {"$ref": "#/components/schemas/WorkflowRun"},- "title": "Response Get Workflow Runs By Id V1 Workflows Workflow Id Runs Get"+ "title": "Response Get Workflow Runs By Id V1 Workflows Workflow Id Runs Get"}}}@@ -2084,94 +2332,6 @@"x-fern-sdk-method-name": "get_workflow_runs_by_id"}},- "/v1/workflows/runs/{workflow_run_id}/retry": {- "post": {- "tags": [- "Workflow Runs",- "Workflows"- ],- "summary": "Retry workflow run",- "description": "Retry a workflow run using the original run parameters.",- "operationId": "retry_workflow_run_v1_workflows_runs__workflow_run_id__retry_post",- "parameters": [- {- "name": "workflow_run_id",- "in": "path",- "required": true,- "schema": {- "type": "string",- "description": "The id of the workflow run to retry.",- "examples": [- "wr_123"- ],- "title": "Workflow Run Id"- },- "description": "The id of the workflow run to retry."- },- {- "name": "x-api-key",- "in": "header",- "required": false,- "schema": {- "type": "string",- "nullable": true,- "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",- "title": "X-Api-Key"- },- "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."- },- {- "name": "x-max-steps-override",- "in": "header",- "required": false,- "schema": {- "type": "integer",- "nullable": true,- "title": "X-Max-Steps-Override"- }- },- {- "name": "x-user-agent",- "in": "header",- "required": false,- "schema": {- "type": "string",- "nullable": true,- "title": "X-User-Agent"- }- }- ],- "responses": {- "200": {- "description": "Successfully retried workflow run",- "content": {- "application/json": {- "schema": {- "$ref": "#/components/schemas/WorkflowRunResponse"- }- }- }- },- "400": {- "description": "Workflow run is not retryable"- },- "404": {- "description": "Workflow run not found"- },- "422": {- "description": "Validation Error",- "content": {- "application/json": {- "schema": {- "$ref": "#/components/schemas/HTTPValidationError"- }- }- }- }- },- "x-fern-sdk-method-name": "retry_workflow_run"- }- },"/v1/workflows/{workflow_permanent_id}": {"get": {"tags": [@@ -2552,6 +2712,28 @@"description": "Get all browser profiles for the organization","operationId": "list_browser_profiles_v1_browser_profiles_get","parameters": [+ {+ "name": "page",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "default": 1,+ "title": "Page"+ }+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "default": 10,+ "title": "Page Size"+ }+ },{"name": "include_deleted","in": "query",@@ -2564,6 +2746,28 @@},"description": "Include deleted browser profiles"},+ {+ "name": "search_key",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Case-insensitive substring search across: browser profile name and description. A profile is returned if either field matches.",+ "examples": [+ "my_profile",+ "production"+ ],+ "title": "Search Key"+ },+ "description": "Case-insensitive substring search across: browser profile name and description. A profile is returned if either field matches."+ },{"name": "x-api-key","in": "header",@@ -2709,6 +2913,101 @@}]},+ "patch": {+ "tags": [+ "Browser Profiles"+ ],+ "summary": "Update browser profile",+ "description": "Update a browser profile's name and/or description",+ "operationId": "update_browser_profile_v1_browser_profiles__profile_id__patch",+ "parameters": [+ {+ "name": "profile_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The ID of the browser profile to update. browser_profile_id starts with `bp_`",+ "examples": [+ "bp_123456"+ ],+ "title": "Profile Id"+ },+ "description": "The ID of the browser profile to update. browser_profile_id starts with `bp_`"+ },+ {+ "name": "x-api-key",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",+ "title": "X-Api-Key"+ },+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/UpdateBrowserProfileRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successfully updated browser profile",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BrowserProfile"+ }+ }+ }+ },+ "404": {+ "description": "Browser profile not found"+ },+ "409": {+ "description": "Browser profile name already exists"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "update_browser_profile",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nbrowser_profile = await skyvern.browser_profiles.update_browser_profile(\n \"bp_123\",\n name=\"Renamed Profile\",\n description=\"Updated description\",\n)\nprint(browser_profile)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst browserProfile = await skyvern.browserProfiles.updateBrowserProfile(\"bp_123\", {\n name: \"Renamed Profile\",\n description: \"Updated description\",\n});\nconsole.log(browserProfile);\n"+ }+ ]+ }+ ]+ },"delete": {"tags": ["Browser Profiles"@@ -3684,7 +3983,6 @@},"/v1/run/tasks/login": {"post": {- "x-excluded": true,"tags": ["Agent"],@@ -3759,6 +4057,7 @@}}},+ "x-excluded": true,"x-fern-sdk-method-name": "login","x-fern-examples": [{@@ -3794,7 +4093,6 @@},"/v1/run/tasks/download_files": {"post": {- "x-excluded": true,"tags": ["Agent"],@@ -3869,6 +4167,7 @@}}},+ "x-excluded": true,"x-fern-sdk-method-name": "download_files","x-fern-examples": [{@@ -5276,6 +5575,11 @@],"title": "Errors"},+ "terminal_user_errors": {+ "type": "boolean",+ "title": "Terminal User Errors",+ "default": false+ },"data_extraction_goal": {"anyOf": [{@@ -5287,6 +5591,25 @@],"title": "Data Extraction Goal"},+ "output": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output"+ },"file_name": {"anyOf": [{@@ -5987,11 +6310,14 @@"extract","verification_code","goto_url",+ "go_back",+ "go_forward","scroll","keypress","move","drag",- "left_mouse"+ "left_mouse",+ "execute_js"],"title": "ActionType"},@@ -6167,6 +6493,11 @@],"title": "Signed Url"},+ "archived": {+ "type": "boolean",+ "title": "Archived",+ "default": false+ },"organization_id": {"type": "string","title": "Organization Id"@@ -7444,26 +7775,70 @@"title": "BrowserSessionResponse","description": "Response model for browser session information."},- "ClickAction": {+ "BulkCancelRunsRequest": {"properties": {- "type": {- "type": "string",- "const": "ai_click",- "title": "Type",- "default": "ai_click"- },- "selector": {- "anyOf": [- {- "type": "string"- },- {- "type": "null"- }- ],- "title": "Selector",- "description": "CSS selector for the element",- "default": ""+ "run_ids": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "maxItems": 100,+ "title": "Run Ids",+ "description": "List of run IDs to cancel"+ }+ },+ "type": "object",+ "required": [+ "run_ids"+ ],+ "title": "BulkCancelRunsRequest"+ },+ "BulkCancelRunsResponse": {+ "properties": {+ "cancelled": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Cancelled",+ "description": "Run IDs that were successfully cancelled"+ },+ "failed": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Failed",+ "description": "Run IDs that could not be cancelled"+ }+ },+ "type": "object",+ "required": [+ "cancelled",+ "failed"+ ],+ "title": "BulkCancelRunsResponse"+ },+ "ClickAction": {+ "properties": {+ "type": {+ "type": "string",+ "const": "ai_click",+ "title": "Type",+ "default": "ai_click"+ },+ "selector": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Selector",+ "description": "CSS selector for the element",+ "default": ""},"intention": {"type": "string",@@ -8013,6 +8388,7 @@"properties": {"name": {"type": "string",+ "minLength": 1,"title": "Name","description": "Name for the browser profile"},@@ -8093,7 +8469,7 @@}],"title": "Proxy Location",- "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n"+ "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n\nFor self-hosted deployments, you can pass a custom proxy URL as a dict: {\"url\": \"http://user:[email protected]:8080\"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}, or a custom proxy URL dict for self-hosted deployments: {\"url\": \"http://user:[email protected]:8080\"}"},"extensions": {"anyOf": [@@ -8733,6 +9109,21 @@"title": "Extra Http Headers","description": "Additional HTTP headers to include in requests"},+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers",+ "description": "HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites."+ },"max_screenshot_scrolling_times": {"anyOf": [{@@ -13567,6 +13958,21 @@"title": "Extra Http Headers","description": "Additional HTTP headers to include in requests"},+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers",+ "description": "HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Never forwarded to target websites."+ },"max_screenshot_scrolling_times": {"anyOf": [{@@ -15324,7 +15730,8 @@"skyvern-2.0","openai-cua","anthropic-cua",- "ui-tars"+ "ui-tars",+ "yutori-navigator"],"title": "RunEngine"},@@ -17028,7 +17435,7 @@"title": "TaskRunListItem","description": "Lightweight run-history item backed by the task_runs table."},- "TaskRunRequest": {+ "TaskRunRequest-Input": {"properties": {"prompt": {"type": "string",@@ -17092,7 +17499,7 @@}],"title": "Proxy Location",- "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}",+ "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n\nFor self-hosted deployments, you can pass a custom proxy URL as a dict: {\"url\": \"http://user:[email protected]:8080\"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}","default": "RESIDENTIAL"},"data_extraction_schema": {@@ -17244,12 +17651,27 @@"title": "Extra Http Headers","description": "The extra HTTP headers for the requests in browser."},+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers",+ "description": "HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites."+ },"publish_workflow": {"type": "boolean","title": "Publish Workflow","description": "Deprecated. Whether to publish a `skyvern-2.0` task as a reusable workflow. For backwards compatibility, this routes the request through the legacy `skyvern-2.0` publish path. Prefer creating reusable workflows through the workflow APIs.",- "deprecated": true,- "default": false+ "default": false,+ "deprecated": true},"include_action_history_in_verification": {"anyOf": [@@ -17315,42 +17737,19 @@],"title": "TaskRunRequest"},- "TaskRunResponse": {+ "TaskRunRequest-Output": {"properties": {- "run_id": {+ "prompt": {"type": "string",- "title": "Run Id",- "description": "Unique identifier for this run. Run ID starts with `tsk_` for task runs and `wr_` for workflow runs.",- "examples": [- "tsk_123",- "tsk_v2_123",- "wr_123"- ]- },- "status": {- "$ref": "#/components/schemas/RunStatus",- "description": "Current status of the run",+ "title": "Prompt",+ "description": "\nThe goal or task description for Skyvern to accomplish\n","examples": [- "created",- "queued",- "running",- "timed_out",- "failed",- "terminated",- "completed",- "canceled"+ "Find the top 3 posts on Hacker News.",+ "Go to google finance, extract the \"AAPL\" stock price for me with the date."]},- "output": {+ "url": {"anyOf": [- {- "additionalProperties": true,- "type": "object"- },- {- "items": {},- "type": "array"- },{"type": "string"},@@ -17358,53 +17757,63 @@"type": "null"}],- "title": "Output",- "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run."+ "title": "Url",+ "description": "\nThe starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL\n",+ "examples": [+ "https://www.hackernews.com",+ "https://www.google.com/finance"+ ]},- "downloaded_files": {+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "description": "\nThe engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` remains available for existing V2 workflows and explicitly requested V2 task runs. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.\n",+ "default": "skyvern-1.0"+ },+ "title": {"anyOf": [{- "items": {- "$ref": "#/components/schemas/FileInfo"- },- "type": "array"+ "type": "string"},{"type": "null"}],- "title": "Downloaded Files",- "description": "List of files downloaded during the run"+ "title": "Title",+ "description": "The title for the task",+ "examples": [+ "The title of my first skyvern task"+ ]},- "recording_url": {+ "proxy_location": {"anyOf": [{- "type": "string"+ "$ref": "#/components/schemas/ProxyLocation"},{- "type": "null"- }- ],- "title": "Recording Url",- "description": "URL to the recording of the run"- },- "screenshot_urls": {- "anyOf": [+ "$ref": "#/components/schemas/GeoTarget"+ },{- "items": {- "type": "string"- },- "type": "array"+ "additionalProperties": true,+ "type": "object"},{"type": "null"}],- "title": "Screenshot Urls",- "description": "List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot."+ "title": "Proxy Location",+ "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n\nFor self-hosted deployments, you can pass a custom proxy URL as a dict: {\"url\": \"http://user:[email protected]:8080\"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}",+ "default": "RESIDENTIAL"},- "failure_reason": {+ "data_extraction_schema": {"anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },{"type": "string"},@@ -17412,67 +17821,49 @@"type": "null"}],- "title": "Failure Reason",- "description": "Reason for failure if the run failed or terminated"- },- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At",- "description": "Timestamp when this run was created",- "examples": [- "2025-01-01T00:00:00Z"- ]- },- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At",- "description": "Timestamp when this run was last modified",- "examples": [- "2025-01-01T00:05:00Z"- ]+ "title": "Data Extraction Schema",+ "description": "\nThe schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.\n"},- "queued_at": {+ "error_code_mapping": {"anyOf": [{- "type": "string",- "format": "date-time"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{"type": "null"}],- "title": "Queued At",- "description": "Timestamp when this run was queued"- },- "started_at": {- "anyOf": [+ "title": "Error Code Mapping",+ "description": "\nCustom mapping of error codes to error messages if Skyvern encounters an error.\n",+ "examples": [{- "type": "string",- "format": "date-time"+ "login_failed": "The login credentials are incorrect or the account is locked"},{- "type": "null"+ "maintenance_mode": "The website is down for maintenance"}- ],- "title": "Started At",- "description": "Timestamp when this run started execution"+ ]},- "finished_at": {+ "max_steps": {"anyOf": [{- "type": "string",- "format": "date-time"+ "type": "integer"},{"type": "null"}],- "title": "Finished At",- "description": "Timestamp when this run finished"+ "title": "Max Steps",+ "description": "\nMaximum number of steps the task can take. Task will fail if it exceeds this number. Cautions: you are charged per step so please set this number to a reasonable value. Contact [email protected] for custom pricing.\n",+ "examples": [+ 10,+ 25+ ]},- "app_url": {+ "webhook_url": {"anyOf": [{"type": "string"@@ -17481,14 +17872,13 @@"type": "null"}],- "title": "App Url",- "description": "URL to the application UI where the run can be viewed",+ "title": "Webhook Url",+ "description": "\nAfter a run is finished, send an update to this URL. Refer to https://www.skyvern.com/docs/running-tasks/webhooks-faq for more details.\n","examples": [- "https://app.skyvern.com/tasks/tsk_123",- "https://app.skyvern.com/workflows/wpid_123/wr_123"+ "https://my-site.com/webhook"]},- "browser_session_id": {+ "totp_identifier": {"anyOf": [{"type": "string"@@ -17497,9 +17887,349 @@"type": "null"}],- "title": "Browser Session Id",- "description": "ID of the Skyvern persistent browser session used for this run",- "examples": [+ "title": "Totp Identifier",+ "description": "\nIdentifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://www.skyvern.com/docs/credentials/totp#option-3-push-code-to-skyvern for more details.\n",+ "examples": [+ "[email protected]",+ "4155555555",+ "user_123"+ ]+ },+ "totp_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Url",+ "description": "\nURL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://www.skyvern.com/docs/credentials/totp#option-2-get-code-from-your-endpoint for more details.\n",+ "examples": [+ "https://my-totp-service.com/totp"+ ]+ },+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "\nRun the task or workflow in the specific Skyvern browser session. Having a browser session can persist the real-time state of the browser, so that the next run can continue from where the previous run left off.\n",+ "examples": [+ "pbs_123"+ ]+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model",+ "description": "\nOptional model configuration.\n"+ },+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Http Headers",+ "description": "The extra HTTP headers for the requests in browser."+ },+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers",+ "description": "HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites."+ },+ "publish_workflow": {+ "type": "boolean",+ "title": "Publish Workflow",+ "description": "Deprecated. Whether to publish a `skyvern-2.0` task as a reusable workflow. For backwards compatibility, this routes the request through the legacy `skyvern-2.0` publish path. Prefer creating reusable workflows through the workflow APIs.",+ "default": false,+ "deprecated": true+ },+ "include_action_history_in_verification": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Include Action History In Verification",+ "description": "Whether to include action history when verifying that the task is complete",+ "default": false+ },+ "max_screenshot_scrolls": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Screenshot Scrolls",+ "description": "The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot."+ },+ "browser_address": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Address",+ "description": "The CDP address for the task.",+ "examples": [+ "http://127.0.0.1:9222",+ "ws://127.0.0.1:9222/devtools/browser/1234567890"+ ]+ },+ "run_with": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run With",+ "description": "Whether to run the task with agent or code. Null means use the default.",+ "examples": [+ "agent",+ "code"+ ]+ }+ },+ "type": "object",+ "required": [+ "prompt"+ ],+ "title": "TaskRunRequest"+ },+ "TaskRunResponse": {+ "properties": {+ "run_id": {+ "type": "string",+ "title": "Run Id",+ "description": "Unique identifier for this run. Run ID starts with `tsk_` for task runs and `wr_` for workflow runs.",+ "examples": [+ "tsk_123",+ "tsk_v2_123",+ "wr_123"+ ]+ },+ "status": {+ "$ref": "#/components/schemas/RunStatus",+ "description": "Current status of the run",+ "examples": [+ "created",+ "queued",+ "running",+ "timed_out",+ "failed",+ "terminated",+ "completed",+ "canceled"+ ]+ },+ "output": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output",+ "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run."+ },+ "downloaded_files": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/FileInfo"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Downloaded Files",+ "description": "List of files downloaded during the run"+ },+ "recording_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Recording Url",+ "description": "URL to the recording of the run"+ },+ "recording_archived": {+ "type": "boolean",+ "title": "Recording Archived",+ "description": "True when the recording exists but has been archived to cold storage and is not currently accessible.",+ "default": false+ },+ "screenshot_urls": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Screenshot Urls",+ "description": "List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot."+ },+ "failure_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Failure Reason",+ "description": "Reason for failure if the run failed or terminated"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At",+ "description": "Timestamp when this run was created",+ "examples": [+ "2025-01-01T00:00:00Z"+ ]+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At",+ "description": "Timestamp when this run was last modified",+ "examples": [+ "2025-01-01T00:05:00Z"+ ]+ },+ "queued_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Queued At",+ "description": "Timestamp when this run was queued"+ },+ "started_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Started At",+ "description": "Timestamp when this run started execution"+ },+ "finished_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Finished At",+ "description": "Timestamp when this run finished"+ },+ "app_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "App Url",+ "description": "URL to the application UI where the run can be viewed",+ "examples": [+ "https://app.skyvern.com/tasks/tsk_123",+ "https://app.skyvern.com/workflows/wpid_123/wr_123"+ ]+ },+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "ID of the Skyvern persistent browser session used for this run",+ "examples": ["pbs_123"]},@@ -17580,12 +18310,12 @@"yutori_navigator"],"title": "Run Type",- "description": "Types of a task run - task_v1, task_v2, openai_cua, anthropic_cua, ui_tars, yutori_navigator"+ "description": "Types of a task run - task_v1, task_v2, openai_cua, anthropic_cua, ui_tars"},"run_request": {"anyOf": [{- "$ref": "#/components/schemas/TaskRunRequest"+ "$ref": "#/components/schemas/TaskRunRequest-Output"},{"type": "null"@@ -18349,6 +19079,37 @@"title": "TotpType","description": "Type of 2FA/TOTP method used."},+ "UpdateBrowserProfileRequest": {+ "properties": {+ "name": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Name",+ "description": "New name for the browser profile"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "New description for the browser profile"+ }+ },+ "type": "object",+ "title": "UpdateBrowserProfileRequest"+ },"UpdateWorkflowFolderRequest": {"properties": {"folder_id": {@@ -18985,6 +19746,12 @@"maximum": 1,"minimum": 0,"title": "Confidence Float"+ },+ "error_type": {+ "type": "string",+ "const": "USER_DEFINED_ERROR",+ "title": "Error Type",+ "default": "USER_DEFINED_ERROR"}},"type": "object",@@ -20150,6 +20917,17 @@"title": "Persist Browser Session","default": false},+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id"+ },"model": {"anyOf": [{@@ -20175,9 +20953,34 @@"type": "null"}],- "title": "Max Screenshot Scrolls"+ "title": "Max Screenshot Scrolls"+ },+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes"+ },+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Http Headers"},- "extra_http_headers": {+ "cdp_connect_headers": {"anyOf": [{"additionalProperties": {@@ -20189,7 +20992,7 @@"type": "null"}],- "title": "Extra Http Headers"+ "title": "Cdp Connect Headers"},"run_with": {"type": "string",@@ -20242,7 +21045,7 @@"type": "null"}],- "title": "Prevent Overlapping Runs"+ "title": "Run Sequentially"},"sequential_key": {"anyOf": [@@ -20409,6 +21212,17 @@"title": "Persist Browser Session","default": false},+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id"+ },"model": {"anyOf": [{@@ -20440,6 +21254,19 @@],"title": "Max Screenshot Scrolls"},+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 240,+ "minimum": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes"+ },"extra_http_headers": {"anyOf": [{@@ -20454,6 +21281,20 @@],"title": "Extra Http Headers"},+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers"+ },"status": {"$ref": "#/components/schemas/WorkflowStatus","default": "published"@@ -21260,6 +22101,20 @@],"title": "Extra Http Headers"},+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers"+ },"proxy_location": {"anyOf": [{@@ -21381,6 +22236,17 @@],"title": "Max Screenshot Scrolls"},+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes"+ },"browser_address": {"anyOf": [{@@ -21779,9 +22645,205 @@"type": "null"}],- "title": "Data Schema"+ "title": "Data Schema"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "actions": {+ "items": {+ "$ref": "#/components/schemas/Action"+ },+ "type": "array",+ "title": "Actions",+ "default": []+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "include_action_history_in_verification": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Include Action History In Verification",+ "default": false+ },+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true+ },+ "duration": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Duration"+ },+ "loop_values": {+ "anyOf": [+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Loop Values"+ },+ "current_value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Current Value"+ },+ "current_index": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Current Index"+ },+ "recipients": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Recipients"+ },+ "attachments": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Attachments"+ },+ "subject": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Subject"+ },+ "body": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Body"+ },+ "instructions": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Instructions"+ },+ "positive_descriptor": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Positive Descriptor"+ },+ "negative_descriptor": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Negative Descriptor"+ },+ "executed_branch_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Executed Branch Id"},- "terminate_criterion": {+ "executed_branch_expression": {"anyOf": [{"type": "string"@@ -21790,78 +22852,76 @@"type": "null"}],- "title": "Terminate Criterion"+ "title": "Executed Branch Expression"},- "complete_criterion": {+ "executed_branch_result": {"anyOf": [{- "type": "string"+ "type": "boolean"},{"type": "null"}],- "title": "Complete Criterion"- },- "actions": {- "items": {- "$ref": "#/components/schemas/Action"- },- "type": "array",- "title": "Actions",- "default": []- },- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"- },- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "title": "Executed Branch Result"},- "include_action_history_in_verification": {+ "executed_branch_next_block": {"anyOf": [{- "type": "boolean"+ "type": "string"},{"type": "null"}],- "title": "Include Action History In Verification",- "default": false- },- "include_extracted_text": {- "type": "boolean",- "title": "Include Extracted Text",- "default": true+ "title": "Executed Branch Next Block"},- "duration": {+ "script_run": {"anyOf": [{- "type": "number"+ "$ref": "#/components/schemas/ScriptRunResponse"},{"type": "null"}- ],- "title": "Duration"+ ]+ }+ },+ "type": "object",+ "required": [+ "workflow_run_block_id",+ "workflow_run_id",+ "organization_id",+ "block_type",+ "created_at",+ "modified_at"+ ],+ "title": "WorkflowRunBlock"+ },+ "WorkflowRunRequest-Input": {+ "properties": {+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id",+ "description": "ID of the workflow to run. Workflow ID starts with `wpid_`.",+ "examples": [+ "wpid_123"+ ]},- "loop_values": {+ "parameters": {"anyOf": [{- "items": {},- "type": "array"+ "additionalProperties": true,+ "type": "object"},{"type": "null"}],- "title": "Loop Values"+ "title": "Parameters",+ "description": "Parameters to pass to the workflow"},- "current_value": {+ "title": {"anyOf": [{"type": "string"@@ -21870,48 +22930,57 @@"type": "null"}],- "title": "Current Value"+ "title": "Title",+ "description": "The title for this workflow run"},- "current_index": {+ "proxy_location": {"anyOf": [{- "type": "integer"+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },+ {+ "additionalProperties": true,+ "type": "object"},{"type": "null"}],- "title": "Current Index"+ "title": "Proxy Location",+ "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n\nFor self-hosted deployments, you can pass a custom proxy URL as a dict: {\"url\": \"http://user:[email protected]:8080\"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}",+ "default": "RESIDENTIAL"},- "recipients": {+ "webhook_url": {"anyOf": [{- "items": {- "type": "string"- },- "type": "array"+ "type": "string"},{"type": "null"}],- "title": "Recipients"+ "title": "Webhook Url",+ "description": "URL to send workflow status updates to after a run is finished. Refer to https://www.skyvern.com/docs/running-tasks/webhooks-faq for webhook questions."},- "attachments": {+ "totp_url": {"anyOf": [{- "items": {- "type": "string"- },- "type": "array"+ "type": "string"},{"type": "null"}],- "title": "Attachments"+ "title": "Totp Url",+ "description": "\nURL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://www.skyvern.com/docs/credentials/totp#option-2-get-code-from-your-endpoint for more details.\n",+ "examples": [+ "https://my-totp-service.com/totp"+ ]},- "subject": {+ "totp_identifier": {"anyOf": [{"type": "string"@@ -21920,9 +22989,15 @@"type": "null"}],- "title": "Subject"+ "title": "Totp Identifier",+ "description": "\nIdentifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://www.skyvern.com/docs/credentials/totp#option-3-push-code-to-skyvern for more details.\n",+ "examples": [+ "[email protected]",+ "4155555555",+ "user_123"+ ]},- "body": {+ "browser_session_id": {"anyOf": [{"type": "string"@@ -21931,9 +23006,10 @@"type": "null"}],- "title": "Body"+ "title": "Browser Session Id",+ "description": "ID of a Skyvern browser session to reuse, having it continue from the current screen state"},- "instructions": {+ "browser_profile_id": {"anyOf": [{"type": "string"@@ -21942,42 +23018,66 @@"type": "null"}],- "title": "Instructions"+ "title": "Browser Profile Id",+ "description": "ID of a browser profile to reuse for this workflow run"},- "positive_descriptor": {+ "max_screenshot_scrolls": {"anyOf": [{- "type": "string"+ "type": "integer"},{"type": "null"}],- "title": "Positive Descriptor"+ "title": "Max Screenshot Scrolls",+ "description": "The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot."},- "negative_descriptor": {+ "max_elapsed_time_minutes": {"anyOf": [{- "type": "string"+ "type": "integer",+ "maximum": 240,+ "minimum": 1},{"type": "null"}],- "title": "Negative Descriptor"+ "title": "Max Elapsed Time Minutes",+ "description": "Timeout this workflow run after the configured elapsed runtime in minutes. Maximum runtime is 4 hours."},- "executed_branch_id": {+ "extra_http_headers": {"anyOf": [{- "type": "string"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{"type": "null"}],- "title": "Executed Branch Id"+ "title": "Extra Http Headers",+ "description": "The extra HTTP headers for the requests in browser."},- "executed_branch_expression": {+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers",+ "description": "HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites."+ },+ "browser_address": {"anyOf": [{"type": "string"@@ -21986,9 +23086,14 @@"type": "null"}],- "title": "Executed Branch Expression"+ "title": "Browser Address",+ "description": "The CDP address for the workflow run.",+ "examples": [+ "http://127.0.0.1:9222",+ "ws://127.0.0.1:9222/devtools/browser/1234567890"+ ]},- "executed_branch_result": {+ "ai_fallback": {"anyOf": [{"type": "boolean"@@ -21997,9 +23102,10 @@"type": "null"}],- "title": "Executed Branch Result"+ "title": "Ai Fallback",+ "description": "Whether to fallback to AI if the workflow run fails."},- "executed_branch_next_block": {+ "run_with": {"anyOf": [{"type": "string"@@ -22008,31 +23114,36 @@"type": "null"}],- "title": "Executed Branch Next Block"+ "title": "Run With",+ "description": "Whether to run the workflow with agent or code. Null inherits from the workflow setting.",+ "examples": [+ "agent",+ "code"+ ]},- "script_run": {+ "run_metadata": {"anyOf": [{- "$ref": "#/components/schemas/ScriptRunResponse"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{"type": "null"}- ]+ ],+ "title": "Run Metadata",+ "description": "String key/value metadata to attach to this workflow run for analytics tag filtering."}},"type": "object","required": [- "workflow_run_block_id",- "workflow_run_id",- "organization_id",- "block_type",- "created_at",- "modified_at"+ "workflow_id"],- "title": "WorkflowRunBlock"+ "title": "WorkflowRunRequest"},- "WorkflowRunRequest": {+ "WorkflowRunRequest-Output": {"properties": {"workflow_id": {"type": "string",@@ -22084,7 +23195,7 @@}],"title": "Proxy Location",- "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}",+ "description": "\nGeographic Proxy location to route the browser traffic through. This is only available in Skyvern Cloud.\n\nAvailable geotargeting options:\n- RESIDENTIAL: the default value. Skyvern Cloud uses a random US residential proxy.\n- RESIDENTIAL_ES: Spain\n- RESIDENTIAL_IE: Ireland\n- RESIDENTIAL_GB: United Kingdom\n- RESIDENTIAL_IN: India\n- RESIDENTIAL_JP: Japan\n- RESIDENTIAL_FR: France\n- RESIDENTIAL_DE: Germany\n- RESIDENTIAL_NZ: New Zealand\n- RESIDENTIAL_PH: Philippines\n- RESIDENTIAL_KR: South Korea\n- RESIDENTIAL_SA: Saudi Arabia\n- RESIDENTIAL_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_BR: Brazil\n- RESIDENTIAL_TR: Turkey\n- RESIDENTIAL_CA: Canada\n- RESIDENTIAL_MX: Mexico\n- RESIDENTIAL_IT: Italy\n- RESIDENTIAL_NL: Netherlands\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California (deprecated, routes through RESIDENTIAL_ISP)\n- US-NY: New York (deprecated, routes through RESIDENTIAL_ISP)\n- US-TX: Texas (deprecated, routes through RESIDENTIAL_ISP)\n- US-FL: Florida (deprecated, routes through RESIDENTIAL_ISP)\n- US-WA: Washington (deprecated, routes through RESIDENTIAL_ISP)\n- NONE: No proxy\n\nFor self-hosted deployments, you can pass a custom proxy URL as a dict: {\"url\": \"http://user:[email protected]:8080\"}. This routes the browser through your own proxy server and takes precedence over any globally configured proxy pool.\n Can also be a GeoTarget object for granular city/state targeting: {\"country\": \"US\", \"subdivision\": \"CA\", \"city\": \"San Francisco\"}","default": "RESIDENTIAL"},"webhook_url": {@@ -22167,6 +23278,20 @@"title": "Max Screenshot Scrolls","description": "The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot."},+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 240,+ "minimum": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes",+ "description": "Timeout this workflow run after the configured elapsed runtime in minutes. Maximum runtime is 4 hours."+ },"extra_http_headers": {"anyOf": [{@@ -22182,6 +23307,21 @@"title": "Extra Http Headers","description": "The extra HTTP headers for the requests in browser."},+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers",+ "description": "HTTP headers attached ONLY to the CDP WebSocket handshake when connecting to a remote browser via browser_address. Use this for browser-provider auth (e.g., x-api-key for Skyvern Cloud, Browserless, or similar). These headers are NEVER forwarded to target websites."+ },"browser_address": {"anyOf": [{@@ -22321,6 +23461,12 @@"title": "Recording Url","description": "URL to the recording of the run"},+ "recording_archived": {+ "type": "boolean",+ "title": "Recording Archived",+ "description": "True when the recording exists but has been archived to cold storage and is not currently accessible.",+ "default": false+ },"screenshot_urls": {"anyOf": [{@@ -22530,10 +23676,22 @@"title": "Ai Fallback","description": "Whether to fallback to AI if code run fails."},+ "script_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Script Id",+ "description": "ID of the cached script used for this workflow run, if any."+ },"run_request": {"anyOf": [{- "$ref": "#/components/schemas/WorkflowRunRequest"+ "$ref": "#/components/schemas/WorkflowRunRequest-Output"},{"type": "null"@@ -23160,4 +24318,4 @@"x-fern-server-name": "Local"}]-}+}\ No newline at end of file