Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
SKY-10580: organize public API reference taxonomy + auto-sync openapi spec (#6428)
Suchintan0f90279e4f66
diff --git a/docs/api-reference/openapi.json b/docs/api-reference/openapi.jsonindex 9be049b35..d9c0e062c 100644--- a/docs/api-reference/openapi.json+++ b/docs/api-reference/openapi.json@@ -1,5 +1,5 @@{- "openapi": "3.0.3",+ "openapi": "3.1.0","info": {"title": "Skyvern API","description": "API for Skyvern",@@ -9,7 +9,7 @@"/v1/run/tasks": {"post": {"tags": [- "Agent"+ "Agents"],"summary": "Run a task","description": "Run a task",@@ -20,8 +20,14 @@"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"},@@ -32,8 +38,14 @@"in": "header","required": false,"schema": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "X-User-Agent"}}@@ -43,7 +55,7 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/TaskRunRequest"+ "$ref": "#/components/schemas/TaskRunRequest-Input"}}}@@ -72,17 +84,33 @@}}}- }+ },+ "x-hidden": true,+ "x-fern-sdk-method-name": "run_task",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.run_task(prompt=\"What's the top post on hackernews?\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.runTask({\n body: {\n prompt: \"Find the top 3 posts on Hacker News.\"\n }\n})\n"+ }+ ]+ }+ ]}},- "/v1/run/workflows": {+ "/v1/run/agents": {"post": {"tags": [- "Workflows"+ "Agents"],- "summary": "Run a workflow",- "description": "Run a workflow",- "operationId": "run_workflow_v1_run_workflows_post",+ "summary": "Run an agent",+ "description": "Run an agent",+ "operationId": "run_workflow_v1_run_agents_post","parameters": [{"name": "template",@@ -99,8 +127,14 @@"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"},@@ -111,8 +145,14 @@"in": "header","required": false,"schema": {- "type": "integer",- "nullable": true,+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],"title": "X-Max-Steps-Override"}},@@ -121,8 +161,14 @@"in": "header","required": false,"schema": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "X-User-Agent"}}@@ -132,14 +178,14 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/WorkflowRunRequest"+ "$ref": "#/components/schemas/WorkflowRunRequest-Input"}}}},"responses": {"200": {- "description": "Successfully run workflow",+ "description": "Successfully ran agent","content": {"application/json": {"schema": {@@ -149,7 +195,7 @@}},"400": {- "description": "Invalid workflow run request"+ "description": "Invalid agent run request"},"422": {"description": "Validation Error",@@ -161,17 +207,30 @@}}}- }+ },+ "x-fern-sdk-method-name": "run_workflow",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.run_workflow(workflow_id=\"wpid_123\", parameters={\"parameter1\": \"value1\", \"parameter2\": \"value2\"})\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.runWorkflow({\n body: {\n workflow_id: \"wpid_123\",\n parameters: { parameter1: \"value1\", parameter2: \"value2\" }\n }\n});\n"+ }+ ]+ }+ ]}},"/v1/runs/{run_id}": {"get": {"tags": [- "Agent",- "Workflow Runs",- "Workflows"+ "Agents"],- "summary": "Get a run by id",+ "summary": "Get run info by id","description": "Get run information (task run, workflow run)","operationId": "get_run_v1_runs__run_id__get","parameters": [@@ -182,7 +241,11 @@"schema": {"type": "string","description": "The id of the task run or the workflow run.",- "example": "tsk_123",+ "examples": [+ "tsk_123",+ "tsk_v2_123",+ "wr_123"+ ],"title": "Run Id"},"description": "The id of the task run or the workflow run."@@ -192,8 +255,14 @@"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"},@@ -244,14 +313,28 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_run",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nrun = await skyvern.get_run(run_id=\"tsk_v2_123\")\nprint(run)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst run = await skyvern.getRun(\"tsk_v2_123\");\nconsole.log(run);\n"+ }+ ]+ }+ ]}},"/v1/runs/{run_id}/cancel": {"post": {"tags": [- "Agent",- "Workflows"+ "Agents"],"summary": "Cancel a run by id","description": "Cancel a run (task or workflow)",@@ -273,8 +356,14 @@"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"},@@ -300,25 +389,123 @@}}}- }+ },+ "x-fern-sdk-method-name": "cancel_run",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.cancel_run(run_id=\"tsk_v2_123\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.cancelRun(\"tsk_v2_123\");\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/runs/cancel": {+ "post": {+ "tags": [+ "Agents"+ ],+ "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": {+ "/v1/agents": {"post": {"tags": [- "Workflows"+ "Agents"],- "summary": "Create a new workflow",- "description": "Create a new workflow",- "operationId": "create_workflow_v1_workflows_post",+ "summary": "Create a new agent",+ "description": "Create a new agent",+ "operationId": "create_workflow_v1_agents_post","parameters": [{"name": "folder_id","in": "query","required": false,"schema": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"description": "Optional folder ID to assign the workflow to","title": "Folder Id"},@@ -329,8 +516,14 @@"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"},@@ -349,7 +542,7 @@},"responses": {"200": {- "description": "Successfully created workflow",+ "description": "Successfully created agent","content": {"application/json": {"schema": {@@ -359,15 +552,34 @@}},"422": {- "description": "Invalid workflow definition"+ "description": "Invalid agent definition"}- }+ },+ "x-fern-sdk-method-name": "create_workflow",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "curl",+ "code": "curl -X POST https://api.skyvern.com/v1/workflows --header 'x-api-key: {{x-api-key}}' --header 'Content-Type: text/plain' --data-raw 'title: Contact Forms\ndescription: Fill the contact form on the website\nproxy_location: RESIDENTIAL\nwebhook_callback_url: https://example.com/webhook\ntotp_verification_url: https://example.com/totp\npersist_browser_session: false\nmodel:\n name: gpt-4.1\nworkflow_definition:\n parameters:\n - key: website_url\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: null\n - key: name\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: null\n - key: additional_information\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: |-\n Message: I'd love to learn more about your...\n Phone: 123-456-7890\n Inquiry type: sales\n Optional Subject: Hello from [Company Here]\n - key: email\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: null\n blocks:\n - label: Fill_Out_Contact_Form\n continue_on_failure: true\n block_type: navigation\n url: \"{{website_url}}\"\n title: Fill_Out_Contact_Form\n engine: skyvern-1.0\n navigation_goal: >-\n Find the contact form. Fill out the contact us form and submit it. Your\n goal is complete when the page says your message has been sent. In the\n case you can't find a contact us form, terminate.\n\n\n Fill out required fields as best you can using the following\n information:\n\n {{name}}\n\n {{email}}\n\n {{additional_information}}\n error_code_mapping: null\n max_retries: 0\n max_steps_per_run: null\n complete_on_download: false\n download_suffix: null\n parameter_keys: []\n totp_identifier: null\n totp_verification_url: null\n complete_criterion: \"\"\n terminate_criterion: \"\"\n include_action_history_in_verification: false\n - label: Extract_Email\n continue_on_failure: false\n block_type: extraction\n url: \"\"\n title: Extract_Email\n data_extraction_goal: \"Extract a company email if available \"\n data_schema: null\n max_retries: 0\n max_steps_per_run: null\n parameter_keys: []\n'\n"+ },+ {+ "sdk": "python",+ "code": "\nfrom skyvern import Skyvern\n\n# Create a workflow in JSON format\nworkflow_definition = {\n \"title\": \"Contact Forms Workflow\",\n \"description\": \"Fill the contact form on the website\",\n \"proxy_location\": \"RESIDENTIAL\",\n \"webhook_callback_url\": \"https://example.com/webhook\",\n \"totp_verification_url\": \"https://example.com/totp\",\n \"totp_identifier\": \"4155555555\",\n \"model\": {\"name\": \"gpt-4.1\"},\n \"workflow_definition\": {\n \"parameters\": [\n {\n \"key\": \"website_url\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": None,\n },\n {\n \"key\": \"name\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": None,\n },\n {\n \"key\": \"additional_information\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": \"Message: I'd love to learn more about your...\nPhone: 123-456-7890\nInquiry type: sales\nOptional Subject: Hello from [Company Here]\",\n },\n {\n \"key\": \"email\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": None,\n },\n ],\n \"blocks\": [\n {\n \"label\": \"Fill_Out_Contact_Form\",\n \"continue_on_failure\": True,\n \"block_type\": \"navigation\",\n \"url\": \"{{website_url}}\",\n \"title\": \"Fill_Out_Contact_Form\",\n \"engine\": \"skyvern-1.0\",\n \"navigation_goal\": \"Find the contact form. Fill out the contact us form and submit it. Your goal is complete when the page says your message has been sent. In the case you can't find a contact us form, terminate.\n\nFill out required fields as best you can using the following information:\n{{name}}\n{{email}}\n{{additional_information}}\",\n \"error_code_mapping\": None,\n \"max_retries\": 0,\n \"max_steps_per_run\": None,\n \"complete_on_download\": False,\n \"download_suffix\": None,\n \"parameter_keys\": [],\n \"totp_identifier\": None,\n \"totp_verification_url\": None,\n \"complete_criterion\": \"\",\n \"terminate_criterion\": \"\",\n \"include_action_history_in_verification\": False,\n },\n {\n \"label\": \"Extract_Email\",\n \"continue_on_failure\": False,\n \"block_type\": \"extraction\",\n \"url\": \"\",\n \"title\": \"Extract_Email\",\n \"data_extraction_goal\": \"Extract a company email if available \",\n \"data_schema\": None,\n \"max_retries\": 0,\n \"max_steps_per_run\": None,\n \"parameter_keys\": [],\n },\n ],\n },\n}\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nworkflow = await skyvern.create_workflow(json_definition=workflow_definition)\nprint(workflow)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\n\n// Create a workflow in JSON format\nconst workflowDefinition = {\n title: \"Contact Forms Workflow\",\n description: \"Fill the contact form on the website\",\n proxy_location: \"RESIDENTIAL\",\n webhook_callback_url: \"https://example.com/webhook\",\n totp_verification_url: \"https://example.com/totp\",\n totp_identifier: \"4155555555\",\n model: { name: \"gpt-4.1\" },\n workflow_definition: {\n parameters: [\n {\n key: \"website_url\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: null\n },\n {\n key: \"name\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: null\n },\n {\n key: \"additional_information\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: \"Message: I'd love to learn more about your...\\nPhone: 123-456-7890\\nInquiry type: sales\\nOptional Subject: Hello from [Company Here]\"\n },\n {\n key: \"email\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: null\n }\n ],\n blocks: [\n {\n label: \"Fill_Out_Contact_Form\",\n continue_on_failure: true,\n block_type: \"navigation\",\n url: \"{{website_url}}\",\n title: \"Fill_Out_Contact_Form\",\n engine: \"skyvern-1.0\",\n navigation_goal: \"Find the contact form. Fill out the contact us form and submit it. Your goal is complete when the page says your message has been sent. In the case you can't find a contact us form, terminate.\\n\\nFill out required fields as best you can using the following information:\\n{{name}}\\n{{email}}\\n{{additional_information}}\",\n error_code_mapping: null,\n max_retries: 0,\n max_steps_per_run: null,\n complete_on_download: false,\n download_suffix: null,\n parameter_keys: [],\n totp_identifier: null,\n totp_verification_url: null,\n complete_criterion: \"\",\n terminate_criterion: \"\",\n include_action_history_in_verification: false\n },\n {\n label: \"Extract_Email\",\n continue_on_failure: false,\n block_type: \"extraction\",\n url: \"\",\n title: \"Extract_Email\",\n data_extraction_goal: \"Extract a company email if available \",\n data_schema: null,\n max_retries: 0,\n max_steps_per_run: null,\n parameter_keys: [],\n }\n ]\n }\n};\n\nconst workflow = await skyvern.createWorkflow({\n json_definition: workflowDefinition\n});\nconsole.log(workflow);\n"+ }+ ]+ }+ ]},"get": {"tags": [- "Workflows"+ "Agents"],- "summary": "Get Workflows",+ "summary": "Get all agents","description": "Get all workflows with the latest version for the organization.\n\nSearch semantics:\n- If `search_key` is provided, its value is used as a unified search term for\n `workflows.title`, `folders.title`, and workflow parameter metadata (key, description, and default_value for\n `WorkflowParameterModel`).\n- Falls back to deprecated `title` (title-only search) if `search_key` is not provided.\n- Parameter metadata search excludes soft-deleted parameter rows across all parameter tables.","operationId": "get_workflows_v1_workflows_get","parameters": [@@ -428,12 +640,23 @@"in": "query","required": false,"schema": {- "type": "string",- "nullable": true,- "description": "Unified search across workflow title, folder name, and parameter metadata (key, description, default_value).",+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Case-insensitive substring search across: workflow title, folder name, and parameter metadata (key, description, default_value). A workflow is returned if any of these fields match. Soft-deleted parameter definitions are excluded. Takes precedence over the deprecated `title` parameter.",+ "examples": [+ "my_workflow",+ "login_url",+ "production"+ ],"title": "Search Key"},- "description": "Unified search across workflow title, folder name, and parameter metadata (key, description, default_value)."+ "description": "Case-insensitive substring search across: workflow title, folder name, and parameter metadata (key, description, default_value). A workflow is returned if any of these fields match. Soft-deleted parameter definitions are excluded. Takes precedence over the deprecated `title` parameter."},{"name": "title",@@ -441,12 +664,12 @@"required": false,"schema": {"type": "string",- "description": "Deprecated: use search_key instead.",+ "description": "Deprecated: use search_key instead. Falls back to title-only search if search_key is not provided.","deprecated": true,"default": "","title": "Title"},- "description": "Deprecated: use search_key instead.",+ "description": "Deprecated: use search_key instead. Falls back to title-only search if search_key is not provided.","deprecated": true},{@@ -454,8 +677,14 @@"in": "query","required": false,"schema": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"description": "Filter workflows by folder ID","title": "Folder Id"},@@ -466,14 +695,46 @@"in": "query","required": false,"schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/WorkflowStatus"- },- "nullable": true,+ "anyOf": [+ {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/WorkflowStatus"+ }+ },+ {+ "type": "null"+ }+ ],"title": "Status"}},+ {+ "name": "tags",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "array",+ "items": {+ "type": "string"+ },+ "maxItems": 20+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter by tags as `key:value` pairs. Repeat the param or comma-separate (`?tags=env:prod,env:staging`). AND across distinct keys, OR within a key (`?tags=customer:acme,env:prod,env:staging` -> customer=acme AND env in (prod, staging)). Matches current tag values only. Not supported with `template=true`.",+ "examples": [+ "env:prod",+ "customer:acme,env:prod"+ ],+ "title": "Tags"+ },+ "description": "Filter by tags as `key:value` pairs. Repeat the param or comma-separate (`?tags=env:prod,env:staging`). AND across distinct keys, OR within a key (`?tags=customer:acme,env:prod,env:staging` -> customer=acme AND env in (prod, staging)). Matches current tag values only. Not supported with `template=true`."+ },{"name": "template","in": "query",@@ -489,8 +750,14 @@"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"},@@ -522,17 +789,32 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_workflows",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nworkflows = await skyvern.get_workflows()\nprint(workflows)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst workflows = await skyvern.getWorkflows();\nconsole.log(workflows);\n"+ }+ ]+ }+ ]}},- "/v1/workflows/{workflow_id}": {+ "/v1/agents/{workflow_id}": {"post": {"tags": [- "Workflows"+ "Agents"],- "summary": "Update a workflow",- "description": "Update a workflow",- "operationId": "update_workflow_v1_workflows__workflow_id__post",+ "summary": "Update an agent",+ "description": "Update an agent",+ "operationId": "update_workflow_v1_agents__workflow_id__post","parameters": [{"name": "workflow_id",@@ -540,19 +822,27 @@"required": true,"schema": {"type": "string",- "description": "The ID of the workflow to update. Workflow ID starts with `wpid_`.",- "example": "wpid_123",+ "description": "The ID of the agent to update. Starts with `wpid_`.",+ "examples": [+ "wpid_123"+ ],"title": "Workflow Id"},- "description": "The ID of the workflow to update. Workflow ID starts with `wpid_`."+ "description": "The ID of the agent to update. Starts with `wpid_`."},{"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"},@@ -571,7 +861,7 @@},"responses": {"200": {- "description": "Successfully updated workflow",+ "description": "Successfully updated agent","content": {"application/json": {"schema": {@@ -581,106 +871,66 @@}},"422": {- "description": "Invalid workflow definition"+ "description": "Invalid agent definition"}- }- }- },- "/v1/workflows/{workflow_id}/runs": {- "get": {- "tags": [- "Workflow Runs"- ],- "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.",- "operationId": "get_workflow_runs_by_id_v1_workflows__workflow_id__runs_get",- "parameters": [+ },+ "x-fern-sdk-method-name": "update_workflow",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "curl",+ "code": "curl -X POST https://api.skyvern.com/v1/workflows/wpid_123 --header 'x-api-key: {{x-api-key}}' --header 'Content-Type: text/plain' --data-raw 'title: Contact Forms\ndescription: Fill the contact form on the website\nproxy_location: RESIDENTIAL\nwebhook_callback_url: https://example.com/webhook\ntotp_verification_url: https://example.com/totp\npersist_browser_session: false\nmodel:\n name: gpt-4.1\nworkflow_definition:\n parameters:\n - key: website_url\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: null\n - key: name\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: null\n - key: additional_information\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: |-\n Message: I'd love to learn more about your...\n Phone: 123-456-7890\n Inquiry type: sales\n Optional Subject: Hello from [Company Here]\n - key: email\n description: null\n parameter_type: workflow\n workflow_parameter_type: string\n default_value: null\n blocks:\n - label: Fill_Out_Contact_Form\n continue_on_failure: true\n block_type: navigation\n url: \"{{website_url}}\"\n title: Fill_Out_Contact_Form\n engine: skyvern-1.0\n navigation_goal: >-\n Find the contact form. Fill out the contact us form and submit it. Your\n goal is complete when the page says your message has been sent. In the\n case you can't find a contact us form, terminate.\n\n\n Fill out required fields as best you can using the following\n information:\n\n {{name}}\n\n {{email}}\n\n {{additional_information}}\n error_code_mapping: null\n max_retries: 0\n max_steps_per_run: null\n complete_on_download: false\n download_suffix: null\n parameter_keys: []\n totp_identifier: null\n totp_verification_url: null\n complete_criterion: \"\"\n terminate_criterion: \"\"\n include_action_history_in_verification: false\n - label: Extract_Email\n continue_on_failure: false\n block_type: extraction\n url: \"\"\n title: Extract_Email\n data_extraction_goal: \"Extract a company email if available \"\n data_schema: null\n max_retries: 0\n max_steps_per_run: null\n parameter_keys: []\n'\n"+ },+ {+ "sdk": "python",+ "code": "\nfrom skyvern import Skyvern\n\nupdated_workflow_definition = {\n \"title\": \"Updated Contact Forms Workflow\",\n \"description\": \"Fill the contact form on the website\",\n \"proxy_location\": \"RESIDENTIAL\",\n \"webhook_callback_url\": \"https://example.com/webhook\",\n \"totp_verification_url\": \"https://example.com/totp\",\n \"totp_identifier\": \"4155555555\",\n \"model\": {\"name\": \"gpt-4.1\"},\n \"workflow_definition\": {\n \"parameters\": [\n {\n \"key\": \"website_url\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": None,\n },\n {\n \"key\": \"name\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": None,\n },\n {\n \"key\": \"additional_information\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": \"Message: I'd love to learn more about your...\nPhone: 123-456-7890\nInquiry type: sales\nOptional Subject: Hello from [Company Here]\",\n },\n {\n \"key\": \"email\",\n \"description\": None,\n \"parameter_type\": \"workflow\",\n \"workflow_parameter_type\": \"string\",\n \"default_value\": None,\n },\n ],\n \"blocks\": [\n {\n \"label\": \"Fill_Out_Contact_Form\",\n \"continue_on_failure\": True,\n \"block_type\": \"navigation\",\n \"url\": \"{{website_url}}\",\n \"title\": \"Fill_Out_Contact_Form\",\n \"engine\": \"skyvern-1.0\",\n \"navigation_goal\": \"Find the contact form. Fill out the contact us form and submit it. Your goal is complete when the page says your message has been sent. In the case you can't find a contact us form, terminate.\n\nFill out required fields as best you can using the following information:\n{{name}}\n{{email}}\n{{additional_information}}\",\n \"error_code_mapping\": None,\n \"max_retries\": 0,\n \"max_steps_per_run\": None,\n \"complete_on_download\": False,\n \"download_suffix\": None,\n \"parameter_keys\": [],\n \"totp_identifier\": None,\n \"totp_verification_url\": None,\n \"complete_criterion\": \"\",\n \"terminate_criterion\": \"\",\n \"include_action_history_in_verification\": False,\n },\n {\n \"label\": \"Extract_Email\",\n \"continue_on_failure\": False,\n \"block_type\": \"extraction\",\n \"url\": \"\",\n \"title\": \"Extract_Email\",\n \"data_extraction_goal\": \"Extract a company email if available \",\n \"data_schema\": None,\n \"max_retries\": 0,\n \"max_steps_per_run\": None,\n \"parameter_keys\": [],\n },\n ],\n },\n}\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nworkflow = await skyvern.update_workflow(workflow_id=\"wpid_123\", json_definition=updated_workflow_definition)\nprint(workflow)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\n\nconst updatedWorkflowDefinition = {\n title: \"Updated Contact Forms Workflow\",\n description: \"Fill the contact form on the website\",\n proxy_location: \"RESIDENTIAL\",\n webhook_callback_url: \"https://example.com/webhook\",\n totp_verification_url: \"https://example.com/totp\",\n totp_identifier: \"4155555555\",\n model: { name: \"gpt-4.1\" },\n workflow_definition: {\n parameters: [\n {\n key: \"website_url\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: null\n },\n {\n key: \"name\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: null\n },\n {\n key: \"additional_information\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: \"Message: I'd love to learn more about your...\\nPhone: 123-456-7890\\nInquiry type: sales\\nOptional Subject: Hello from [Company Here]\"\n },\n {\n key: \"email\",\n description: null,\n parameter_type: \"workflow\",\n workflow_parameter_type: \"string\",\n default_value: null\n }\n ],\n blocks: [\n {\n label: \"Fill_Out_Contact_Form\",\n continue_on_failure: true,\n block_type: \"navigation\",\n url: \"{{website_url}}\",\n title: \"Fill_Out_Contact_Form\",\n engine: \"skyvern-1.0\",\n navigation_goal: \"Find the contact form. Fill out the contact us form and submit it. Your goal is complete when the page says your message has been sent. In the case you can't find a contact us form, terminate.\\n\\nFill out required fields as best you can using the following information:\\n{{name}}\\n{{email}}\\n{{additional_information}}\",\n error_code_mapping: null,\n max_retries: 0,\n max_steps_per_run: null,\n complete_on_download: false,\n download_suffix: null,\n parameter_keys: [],\n totp_identifier: null,\n totp_verification_url: null,\n complete_criterion: \"\",\n terminate_criterion: \"\",\n include_action_history_in_verification: false\n },\n {\n label: \"Extract_Email\",\n continue_on_failure: false,\n block_type: \"extraction\",\n url: \"\",\n title: \"Extract_Email\",\n data_extraction_goal: \"Extract a company email if available \",\n data_schema: null,\n max_retries: 0,\n max_steps_per_run: null,\n parameter_keys: []\n }\n ]\n }\n};\n\nconst workflow = await skyvern.updateWorkflow(\"wpid_123\", {\n json_definition: updatedWorkflowDefinition\n});\nconsole.log(workflow);\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/agents/{workflow_id}/delete": {+ "post": {+ "tags": [+ "Agents"+ ],+ "summary": "Delete an agent",+ "description": "Delete an agent",+ "operationId": "delete_workflow_v1_agents__workflow_id__delete_post",+ "parameters": [{"name": "workflow_id","in": "path","required": true,"schema": {"type": "string",- "description": "Workflow permanent ID. Workflow ID starts with `wpid_`.",- "example": "wpid_123",+ "description": "The ID of the agent to delete. Starts with `wpid_`.",+ "examples": [+ "wpid_123"+ ],"title": "Workflow Id"},- "description": "Workflow permanent ID. Workflow ID starts with `wpid_`."- },- {- "name": "page",- "in": "query",- "required": false,- "schema": {- "type": "integer",- "minimum": 1,- "description": "Page number for pagination.",- "default": 1,- "title": "Page"- },- "description": "Page number for pagination."- },- {- "name": "page_size",- "in": "query",- "required": false,- "schema": {- "type": "integer",- "minimum": 1,- "description": "Number of runs to return per page.",- "default": 10,- "title": "Page Size"- },- "description": "Number of runs to return per page."- },- {- "name": "status",- "in": "query",- "required": false,- "schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/WorkflowRunStatus"- },- "nullable": true,- "description": "Filter by one or more run statuses.",- "title": "Status"- },- "description": "Filter by one or more run statuses."- },- {- "name": "search_key",- "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.",- "title": "Search Key"- },- "description": "Case-insensitive substring search across workflow run ID, parameter key, parameter description, run parameter value, and extra HTTP headers."- },- {- "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.",- "title": "Error Code"- },- "description": "Exact-match filter on the error_code field inside each task's errors JSON array."+ "description": "The ID of the agent to delete. Starts with `wpid_`."},{"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"},@@ -689,16 +939,10 @@],"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully deleted agent","content": {"application/json": {- "schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/WorkflowRun"- },- "title": "Response Get Workflow Runs By Id V1 Workflows Workflow Id Runs Get"- }+ "schema": {}}}},@@ -713,82 +957,74 @@}}},- "x-fern-sdk-method-name": "get_workflow_runs_by_id"+ "x-fern-sdk-method-name": "delete_workflow",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.delete_workflow(workflow_id=\"wpid_123\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.deleteWorkflow(\"wpid_123\");\n"+ }+ ]+ }+ ]}},- "/v1/workflows/runs/{workflow_run_id}/retry": {+ "/v1/folders": {"post": {"tags": [- "Workflow Runs",- "Workflows"+ "Folders"],- "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",+ "summary": "Create folder",+ "description": "Create a new folder to organize workflows",+ "operationId": "create_folder_v1_folders_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,+ "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": {- "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"- }}],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/FolderCreate"+ }+ }+ }+ },"responses": {"200": {- "description": "Successfully retried workflow run",+ "description": "Successfully created folder","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/WorkflowRunResponse"+ "$ref": "#/components/schemas/Folder"}}}},"400": {- "description": "Workflow run is not retryable"- },- "404": {- "description": "Workflow run not found"+ "description": "Invalid request"},"422": {"description": "Validation Error",@@ -801,37 +1037,74 @@}}},- "x-fern-sdk-method-name": "retry_workflow_run"- }- },- "/v1/workflows/{workflow_id}/delete": {- "post": {+ "x-fern-sdk-method-name": "create_folder"+ },+ "get": {"tags": [- "Workflows"+ "Folders"],- "summary": "Delete a workflow",- "description": "Delete a workflow",- "operationId": "delete_workflow_v1_workflows__workflow_id__delete_post",+ "summary": "Get folders",+ "description": "Get all folders for the organization",+ "operationId": "get_folders_v1_folders_get","parameters": [{- "name": "workflow_id",- "in": "path",- "required": true,+ "name": "page",+ "in": "query",+ "required": false,"schema": {- "type": "string",- "description": "The ID of the workflow to delete. Workflow ID starts with `wpid_`.",- "example": "wpid_123",- "title": "Workflow Id"+ "type": "integer",+ "minimum": 1,+ "description": "Page number",+ "default": 1,+ "title": "Page"+ },+ "description": "Page number"+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "maximum": 500,+ "minimum": 1,+ "description": "Number of folders per page",+ "default": 100,+ "title": "Page Size"+ },+ "description": "Number of folders per page"+ },+ {+ "name": "search",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Search folders by title or description",+ "title": "Search"},- "description": "The ID of the workflow to delete. Workflow ID starts with `wpid_`."+ "description": "Search folders by title or description"},{"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"},@@ -840,10 +1113,16 @@],"responses": {"200": {- "description": "Successfully deleted workflow",+ "description": "Successfully retrieved folders","content": {"application/json": {- "schema": {}+ "schema": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/Folder"+ },+ "title": "Response Get Folders V1 Folders Get"+ }}}},@@ -857,34 +1136,46 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_folders"}},- "/v1/artifacts/{artifact_id}": {+ "/v1/folders/{folder_id}": {"get": {"tags": [- "Artifacts"+ "Folders"],- "summary": "Get an artifact",- "description": "Get an artifact",- "operationId": "get_artifact_v1_artifacts__artifact_id__get",+ "summary": "Get folder",+ "description": "Get a specific folder by ID",+ "operationId": "get_folder_v1_folders__folder_id__get","parameters": [{- "name": "artifact_id",+ "name": "folder_id","in": "path","required": true,"schema": {"type": "string",- "title": "Artifact Id"- }+ "description": "Folder ID",+ "examples": [+ "fld_123"+ ],+ "title": "Folder Id"+ },+ "description": "Folder ID"},{"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"},@@ -893,17 +1184,17 @@],"responses": {"200": {- "description": "Successfully retrieved artifact",+ "description": "Successfully retrieved folder","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/Artifact"+ "$ref": "#/components/schemas/Folder"}}}},"404": {- "description": "Artifact not found"+ "description": "Folder not found"},"422": {"description": "Validation Error",@@ -915,70 +1206,74 @@}}}- }- }- },- "/v1/runs/{run_id}/artifacts": {- "get": {+ },+ "x-fern-sdk-method-name": "get_folder"+ },+ "put": {"tags": [- "Artifacts"+ "Folders"],- "summary": "Get artifacts for a run",- "description": "Get artifacts for a run",- "operationId": "get_run_artifacts_v1_runs__run_id__artifacts_get",+ "summary": "Update folder",+ "description": "Update a folder's title or description",+ "operationId": "update_folder_v1_folders__folder_id__put","parameters": [{- "name": "run_id",+ "name": "folder_id","in": "path","required": true,"schema": {"type": "string",- "description": "The id of the task run or the workflow run.",- "title": "Run Id"+ "description": "Folder ID",+ "examples": [+ "fld_123"+ ],+ "title": "Folder Id"},- "description": "The id of the task run or the workflow run."- },- {- "name": "artifact_type",- "in": "query",- "required": false,- "schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/ArtifactType"- },- "nullable": true,- "title": "Artifact Type"- }+ "description": "Folder ID"},{"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"+ "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/FolderUpdate"+ }+ }+ }+ },"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully updated folder","content": {"application/json": {"schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/Artifact"- },- "title": "Response Get Run Artifacts V1 Runs Run Id Artifacts Get"+ "$ref": "#/components/schemas/Folder"}}}},+ "404": {+ "description": "Folder not found"+ },"422": {"description": "Validation Error","content": {@@ -989,63 +1284,78 @@}}}- }- }- },- "/v1/runs/{run_id}/retry_webhook": {- "post": {+ },+ "x-fern-sdk-method-name": "update_folder"+ },+ "delete": {"tags": [- "Agent"+ "Folders"],- "summary": "Retry run webhook",- "description": "Retry sending the webhook for a run",- "operationId": "retry_run_webhook_v1_runs__run_id__retry_webhook_post",+ "summary": "Delete folder",+ "description": "Delete a folder. Optionally delete all workflows in the folder.",+ "operationId": "delete_folder_v1_folders__folder_id__delete","parameters": [{- "name": "run_id",+ "name": "folder_id","in": "path","required": true,"schema": {"type": "string",- "description": "The id of the task run or the workflow run.",- "example": "tsk_123",- "title": "Run Id"+ "description": "Folder ID",+ "examples": [+ "fld_123"+ ],+ "title": "Folder Id"},- "description": "The id of the task run or the workflow run."+ "description": "Folder ID"+ },+ {+ "name": "delete_workflows",+ "in": "query",+ "required": false,+ "schema": {+ "type": "boolean",+ "description": "If true, also delete all workflows in this folder",+ "default": false,+ "title": "Delete Workflows"+ },+ "description": "If true, also delete all workflows in this folder"},{"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"},"description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."}],- "requestBody": {- "content": {- "application/json": {- "schema": {- "$ref": "#/components/schemas/RetryRunWebhookRequest",- "nullable": true,- "title": "Request"- }- }- }- },"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully deleted folder","content": {"application/json": {- "schema": {}+ "schema": {+ "type": "object",+ "additionalProperties": true,+ "title": "Response Delete Folder V1 Folders Folder Id Delete"+ }}}},+ "404": {+ "description": "Folder not found"+ },"422": {"description": "Validation Error","content": {@@ -1056,39 +1366,32 @@}}}- }+ },+ "x-fern-sdk-method-name": "delete_folder"}},- "/v1/runs/{run_id}/timeline": {+ "/v1/tag-keys": {"get": {"tags": [- "Agent",- "Workflow Runs",- "Workflows"+ "Tags"],- "summary": "Get run timeline",- "description": "Get timeline for a run (workflow run or task_v2 run)",- "operationId": "get_run_timeline_v1_runs__run_id__timeline_get",+ "summary": "List tag keys",+ "description": "List all tag keys registered for the organization with their descriptions.",+ "operationId": "list_tag_keys_v1_tag_keys_get","parameters": [- {- "name": "run_id",- "in": "path",- "required": true,- "schema": {- "type": "string",- "description": "The id of the workflow run or task_v2 run.",- "example": "wr_123",- "title": "Run Id"- },- "description": "The id of the workflow run or task_v2 run."- },{"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"},@@ -1097,25 +1400,19 @@],"responses": {"200": {- "description": "Successfully retrieved run timeline",+ "description": "Successfully retrieved tag keys","content": {"application/json": {"schema": {"type": "array","items": {- "$ref": "#/components/schemas/WorkflowRunTimeline"+ "$ref": "#/components/schemas/TagKey"},- "title": "Response Get Run Timeline V1 Runs Run Id Timeline Get"+ "title": "Response List Tag Keys V1 Tag Keys Get"}}}},- "400": {- "description": "Timeline not available for this run type"- },- "404": {- "description": "Run not found"- },"422": {"description": "Validation Error","content": {@@ -1126,24 +1423,43 @@}}}- }+ },+ "x-fern-sdk-method-name": "list_tag_keys"}},- "/v1/upload_file": {- "post": {+ "/v1/tag-keys/{key}": {+ "patch": {"tags": [- "Files"+ "Tags"],- "summary": "Upload File",- "operationId": "upload_file_v1_upload_file_post",+ "summary": "Update tag key",+ "description": "Update the description for a tag key.",+ "operationId": "update_tag_key_v1_tag_keys__key__patch","parameters": [+ {+ "name": "key",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Tag key to update",+ "title": "Key"+ },+ "description": "Tag key to update"+ },{"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"},@@ -1153,85 +1469,96 @@"requestBody": {"required": true,"content": {- "multipart/form-data": {+ "application/json": {"schema": {- "$ref": "#/components/schemas/Body_upload_file_v1_upload_file_post"+ "$ref": "#/components/schemas/TagKeyUpdate"}}}},"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully updated tag key","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/UploadFileResponse"+ "$ref": "#/components/schemas/TagKey"}}}},+ "404": {+ "description": "Tag key not found"+ },"422": {- "description": "Validation Error",- "content": {- "application/json": {- "schema": {- "$ref": "#/components/schemas/HTTPValidationError"- }- }- }+ "description": "Description too long"}- }+ },+ "x-fern-sdk-method-name": "update_tag_key"}},- "/v1/browser_profiles": {- "post": {+ "/v1/workflow-tags": {+ "get": {"tags": [- "Browser Profiles"+ "Tags"],- "summary": "Create a browser profile",- "description": "Create a browser profile from a persistent browser session or workflow run.",- "operationId": "create_browser_profile_v1_browser_profiles_post",+ "summary": "Batch get agent tags",+ "description": "Batch fetch current tags for many workflows. Avoids N+1 on the workflows-list page.",+ "operationId": "batch_get_workflow_tags_v1_workflow_tags_get","parameters": [+ {+ "name": "workflow_permanent_ids",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Comma-separated workflow permanent IDs",+ "examples": [+ "wpid_123,wpid_456"+ ],+ "title": "Workflow Permanent Ids"+ },+ "description": "Comma-separated workflow permanent IDs"+ },{"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"},"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/CreateBrowserProfileRequest"- }- }- }- },"responses": {"200": {- "description": "Successfully created browser profile",+ "description": "Successfully retrieved tags","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/BrowserProfile"+ "$ref": "#/components/schemas/WorkflowTagsBatchResponse"}}}},"400": {- "description": "Invalid request - missing source or source not found"- },- "409": {- "description": "Browser profile name already exists"+ "description": "Too many workflow IDs requested"},"422": {"description": "Validation Error",@@ -1243,56 +1570,61 @@}}}- }+ },+ "x-hidden": true,+ "x-fern-sdk-method-name": "batch_get_workflow_tags"},- "get": {+ "post": {"tags": [- "Browser Profiles"+ "Tags"],- "summary": "List browser profiles",- "description": "Get all browser profiles for the organization",- "operationId": "list_browser_profiles_v1_browser_profiles_get",+ "summary": "Batch get agent tags (POST)",+ "description": "Batch fetch current tags for many workflows (POST variant for id lists exceeding URL length).",+ "operationId": "batch_get_workflow_tags_post_v1_workflow_tags_post","parameters": [- {- "name": "include_deleted",- "in": "query",- "required": false,- "schema": {- "type": "boolean",- "description": "Include deleted browser profiles",- "default": false,- "title": "Include Deleted"- },- "description": "Include deleted browser profiles"- },{"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"},"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/WorkflowTagsBatchRequest"+ }+ }+ }+ },"responses": {"200": {- "description": "Successfully retrieved browser profiles",+ "description": "Successfully retrieved tags","content": {"application/json": {"schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/BrowserProfile"- },- "title": "Response List Browser Profiles V1 Browser Profiles Get"+ "$ref": "#/components/schemas/WorkflowTagsBatchResponse"}}}},+ "400": {+ "description": "Too many workflow IDs requested"+ },"422": {"description": "Validation Error","content": {@@ -1303,56 +1635,50 @@}}}- }+ },+ "x-hidden": true,+ "x-fern-sdk-method-name": "batch_get_workflow_tags_post"}},- "/v1/browser_profiles/{profile_id}": {+ "/v1/artifacts/{artifact_id}/content": {"get": {"tags": [- "Browser Profiles"+ "Artifacts"],- "summary": "Get browser profile",- "description": "Get a specific browser profile by ID",- "operationId": "get_browser_profile_v1_browser_profiles__profile_id__get",+ "summary": "Get artifact content",+ "description": "Download the raw content of an artifact (supports bundled artifacts).",+ "operationId": "get_artifact_content_v1_artifacts__artifact_id__content_get","parameters": [{- "name": "profile_id",+ "name": "artifact_id","in": "path","required": true,"schema": {"type": "string",- "description": "The ID of the browser profile. browser_profile_id starts with `bp_`",- "example": "bp_123456",- "title": "Profile Id"- },- "description": "The ID of the browser profile. browser_profile_id starts with `bp_`"- },- {- "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."+ "title": "Artifact Id"+ }}],"responses": {"200": {- "description": "Successfully retrieved browser profile",+ "description": "Raw artifact content","content": {"application/json": {- "schema": {- "$ref": "#/components/schemas/BrowserProfile"- }+ "schema": {}}}},+ "206": {+ "description": "Partial artifact content (Range request)"+ },+ "403": {+ "description": "Invalid or expired artifact URL"+ },"404": {- "description": "Browser profile not found"+ "description": "Artifact not found or content unavailable"+ },+ "416": {+ "description": "Range not satisfiable"},"422": {"description": "Validation Error",@@ -1365,34 +1691,60 @@}}}- },- "delete": {+ }+ },+ "/v1/runs/{run_id}/artifacts": {+ "get": {"tags": [- "Browser Profiles"+ "Artifacts"],- "summary": "Delete browser profile",- "description": "Delete a browser profile (soft delete)",- "operationId": "delete_browser_profile_v1_browser_profiles__profile_id__delete",+ "summary": "Get artifacts for a run",+ "description": "Get artifacts for a run",+ "operationId": "get_run_artifacts_v1_runs__run_id__artifacts_get","parameters": [{- "name": "profile_id",+ "name": "run_id","in": "path","required": true,"schema": {"type": "string",- "description": "The ID of the browser profile to delete. browser_profile_id starts with `bp_`",- "example": "bp_123456",- "title": "Profile Id"+ "description": "The id of the task run or the workflow run.",+ "title": "Run Id"},- "description": "The ID of the browser profile to delete. browser_profile_id starts with `bp_`"+ "description": "The id of the task run or the workflow run."+ },+ {+ "name": "artifact_type",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/ArtifactType"+ }+ },+ {+ "type": "null"+ }+ ],+ "title": "Artifact Type"+ }},{"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"},@@ -1400,11 +1752,19 @@}],"responses": {- "204": {- "description": "Successfully deleted browser profile"- },- "404": {- "description": "Browser profile not found"+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/Artifact"+ },+ "title": "Response Get Run Artifacts V1 Runs Run Id Artifacts Get"+ }+ }+ }},"422": {"description": "Validation Error",@@ -1416,25 +1776,47 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_run_artifacts"}},- "/v1/browser_sessions": {+ "/v1/runs/{run_id}/retry_webhook": {"post": {"tags": [- "Browser Sessions"+ "Agents"],- "summary": "Create a session",- "description": "Create a browser session that persists across multiple runs",- "operationId": "create_browser_session_v1_browser_sessions_post",+ "summary": "Replay a run webhook",+ "description": "Retry sending the webhook for a run",+ "operationId": "retry_run_webhook_v1_runs__run_id__retry_webhook_post","parameters": [+ {+ "name": "run_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The id of the task run or the workflow run.",+ "examples": [+ "tsk_123",+ "wr_123"+ ],+ "title": "Run Id"+ },+ "description": "The id of the task run or the workflow run."+ },{"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"},@@ -1445,28 +1827,30 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CreateBrowserSessionRequest",- "default": {- "timeout": 60- }+ "anyOf": [+ {+ "$ref": "#/components/schemas/RetryRunWebhookRequest"+ },+ {+ "type": "null"+ }+ ],+ "title": "Request"}}}},"responses": {"200": {- "description": "Successfully created browser session",+ "description": "Successful Response","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/BrowserSessionResponse"+ "$ref": "#/components/schemas/RunWebhookReplayResponse"}}}},- "403": {- "description": "Unauthorized - Invalid or missing authentication"- },"422": {"description": "Validation Error","content": {@@ -1477,23 +1861,61 @@}}}- }- },+ },+ "x-fern-sdk-method-name": "retry_run_webhook",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.retry_run_webhook(run_id=\"tsk_v2_123\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.retryRunWebhook(\"tsk_v2_123\");\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/runs/{run_id}/timeline": {"get": {"tags": [- "Browser Sessions"+ "Agents"],- "summary": "Get active browser sessions",- "description": "Get all active browser sessions for the organization",- "operationId": "get_browser_sessions_v1_browser_sessions_get",+ "summary": "Get run timeline",+ "description": "Get timeline for a run (workflow run or task_v2 run)",+ "operationId": "get_run_timeline_v1_runs__run_id__timeline_get","parameters": [+ {+ "name": "run_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The id of the workflow run or task_v2 run.",+ "examples": [+ "wr_123",+ "tsk_v2_123"+ ],+ "title": "Run Id"+ },+ "description": "The id of the workflow run or task_v2 run."+ },{"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"},@@ -1502,21 +1924,24 @@],"responses": {"200": {- "description": "Successfully retrieved all active browser sessions",+ "description": "Successfully retrieved run timeline","content": {"application/json": {"schema": {"type": "array","items": {- "$ref": "#/components/schemas/BrowserSessionResponse"+ "$ref": "#/components/schemas/WorkflowRunTimeline"},- "title": "Response Get Browser Sessions V1 Browser Sessions Get"+ "title": "Response Get Run Timeline V1 Runs Run Id Timeline Get"}}}},- "403": {- "description": "Unauthorized - Invalid or missing authentication"+ "404": {+ "description": "Run not found"+ },+ "400": {+ "description": "Timeline not available for this run type"},"422": {"description": "Validation Error",@@ -1528,96 +1953,138 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_run_timeline",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\n# Get timeline for a workflow run\ntimeline = await skyvern.get_run_timeline(run_id=\"wr_123\")\nprint(timeline)\n\n# Get timeline for a task_v2 run\ntimeline = await skyvern.get_run_timeline(run_id=\"tsk_v2_123\")\nprint(timeline)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\n// Get timeline for a workflow run\nconst timeline = await skyvern.getRunTimeline(\"wr_123\");\nconsole.log(timeline);\n\n// Get timeline for a task_v2 run\nconst timeline2 = await skyvern.getRunTimeline(\"tsk_v2_123\");\nconsole.log(timeline2);\n"+ }+ ]+ }+ ]}},- "/v1/browser_sessions/{browser_session_id}/close": {- "post": {+ "/v1/version": {+ "get": {"tags": [- "Browser Sessions"- ],- "summary": "Close a session",- "description": "Close a session. Once closed, the session cannot be used again.",- "operationId": "close_browser_session_v1_browser_sessions__browser_session_id__close_post",- "parameters": [- {- "name": "browser_session_id",- "in": "path",- "required": true,- "schema": {- "type": "string",- "description": "The ID of the browser session to close. completed_at will be set when the browser session is closed. browser_session_id starts with `pbs_`",- "example": "pbs_123456",- "title": "Browser Session Id"- },- "description": "The ID of the browser session to close. completed_at will be set when the browser session is closed. browser_session_id starts with `pbs_`"- },- {- "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."- }+ "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": "Successfully closed browser session",- "content": {- "application/json": {- "schema": {}- }- }- },- "403": {- "description": "Unauthorized - Invalid or missing authentication"- },- "422": {- "description": "Validation Error",+ "description": "Current server version","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/HTTPValidationError"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object",+ "title": "Response Get Version V1 Version Get"}}}}- }+ },+ "x-fern-sdk-method-name": "get_version"}},- "/v1/browser_sessions/{browser_session_id}": {+ "/v1/runs": {"get": {"tags": [- "Browser Sessions"+ "agent"],- "summary": "Get a session",- "description": "Get details about a specific browser session, including the browser address for cdp connection.",- "operationId": "get_browser_session_v1_browser_sessions__browser_session_id__get",+ "summary": "Get Runs V2",+ "operationId": "get_runs_v2_v1_runs_get","parameters": [{- "name": "browser_session_id",- "in": "path",- "required": true,- "schema": {- "type": "string",- "description": "The ID of the browser session. browser_session_id starts with `pbs_`",- "example": "pbs_123456",- "title": "Browser Session Id"- },- "description": "The ID of the browser session. browser_session_id starts with `pbs_`"- },- {- "name": "x-api-key",- "in": "header",+ "name": "page",+ "in": "query","required": false,"schema": {- "type": "string",- "nullable": true,+ "type": "integer",+ "maximum": 100,+ "minimum": 1,+ "default": 1,+ "title": "Page"+ }+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "maximum": 100,+ "minimum": 1,+ "default": 10,+ "title": "Page Size"+ }+ },+ {+ "name": "status",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/RunStatus"+ }+ },+ {+ "type": "null"+ }+ ],+ "title": "Status"+ }+ },+ {+ "name": "search_key",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 3+ },+ {+ "type": "null"+ }+ ],+ "description": "Case-insensitive substring search (min 3 chars for trigram index).",+ "examples": [+ "login_url",+ "wr_abc123"+ ],+ "title": "Search Key"+ },+ "description": "Case-insensitive substring search (min 3 chars for trigram index)."+ },+ {+ "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"},@@ -1626,21 +2093,19 @@],"responses": {"200": {- "description": "Successfully retrieved browser session details",+ "description": "Successful Response","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/BrowserSessionResponse"+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/TaskRunListItem"+ },+ "title": "Response Get Runs V2 V1 Runs Get"}}}},- "403": {- "description": "Unauthorized - Invalid or missing authentication"- },- "404": {- "description": "Browser session not found"- },"422": {"description": "Validation Error","content": {@@ -1651,25 +2116,32 @@}}}- }+ },+ "x-hidden": true,+ "x-fern-sdk-method-name": "get_runs_v2"}},- "/v1/credentials/totp": {+ "/v1/upload_file": {"post": {"tags": [- "Credentials"+ "Files"],- "summary": "Send TOTP code",- "description": "Forward a TOTP (2FA, MFA) email or sms message containing the code to Skyvern. This endpoint stores the code in database so that Skyvern can use it while running tasks/workflows.",- "operationId": "send_totp_code_v1_credentials_totp_post",+ "summary": "Upload File",+ "operationId": "upload_file_v1_upload_file_post","parameters": [{"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"},@@ -1679,9 +2151,9 @@"requestBody": {"required": true,"content": {- "application/json": {+ "multipart/form-data": {"schema": {- "$ref": "#/components/schemas/TOTPCodeCreate"+ "$ref": "#/components/schemas/Body_upload_file_v1_upload_file_post"}}}@@ -1692,7 +2164,7 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/TOTPCode"+ "$ref": "#/components/schemas/UploadFileResponse"}}}@@ -1707,25 +2179,32 @@}}}- }+ },+ "x-fern-sdk-method-name": "upload_file"}},- "/v1/credentials": {+ "/v1/browser_profiles": {"post": {"tags": [- "Credentials"+ "Browser Profiles"],- "summary": "Create credential",- "description": "Creates a new credential for the current organization",- "operationId": "create_credential_v1_credentials_post",+ "summary": "Create a browser profile",+ "description": "Create a browser profile from a persistent browser session or workflow run.",+ "operationId": "create_browser_profile_v1_browser_profiles_post","parameters": [{"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"},@@ -1737,32 +2216,28 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CreateCredentialRequest",- "description": "The credential data to create"- },- "example": {- "name": "My Credential",- "credential_type": "PASSWORD",- "credential": {- "username": "[email protected]",- "password": "securepassword123",- "totp": "JBSWY3DPEHPK3PXP"- }+ "$ref": "#/components/schemas/CreateBrowserProfileRequest"}}}},"responses": {- "201": {- "description": "Successful Response",+ "200": {+ "description": "Successfully created browser profile","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CredentialResponse"+ "$ref": "#/components/schemas/BrowserProfile"}}}},+ "400": {+ "description": "Invalid request - missing source or source not found"+ },+ "409": {+ "description": "Browser profile name already exists"+ },"422": {"description": "Validation Error","content": {@@ -1773,15 +2248,30 @@}}}- }+ },+ "x-fern-sdk-method-name": "create_browser_profile",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\n# Create a browser profile from a persistent browser session\nbrowser_profile = await skyvern.browser_profiles.create_browser_profile(\n name=\"My Profile\",\n browser_session_id=\"pbs_123\",\n)\nprint(browser_profile)\n\n# Or create from a workflow run with persist_browser_session=True\nbrowser_profile = await skyvern.browser_profiles.create_browser_profile(\n name=\"My Profile\",\n workflow_run_id=\"wr_123\",\n)\nprint(browser_profile)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\n// Create a browser profile from a persistent browser session\nconst browserProfile = await skyvern.browserProfiles.createBrowserProfile({\n name: \"My Profile\",\n browser_session_id: \"pbs_123\",\n});\nconsole.log(browserProfile);\n\n// Or create from a workflow run with persist_browser_session=True\nconst browserProfile2 = await skyvern.browserProfiles.createBrowserProfile({\n name: \"My Profile\",\n workflow_run_id: \"wr_123\",\n});\nconsole.log(browserProfile2);\n"+ }+ ]+ }+ ]},"get": {"tags": [- "Credentials"+ "Browser Profiles"],- "summary": "Get all credentials",- "description": "Retrieves a paginated list of credentials for the current organization",- "operationId": "get_credentials_v1_credentials_get",+ "summary": "List browser profiles",+ "description": "Get all browser profiles for the organization",+ "operationId": "list_browser_profiles_v1_browser_profiles_get","parameters": [{"name": "page",@@ -1790,12 +2280,9 @@"schema": {"type": "integer","minimum": 1,- "description": "Page number for pagination",- "example": 1,"default": 1,"title": "Page"- },- "description": "Page number for pagination"+ }},{"name": "page_size",@@ -1804,20 +2291,57 @@"schema": {"type": "integer","minimum": 1,- "description": "Number of items per page",- "example": 10,"default": 10,"title": "Page Size"+ }+ },+ {+ "name": "include_deleted",+ "in": "query",+ "required": false,+ "schema": {+ "type": "boolean",+ "description": "Include deleted browser profiles",+ "default": false,+ "title": "Include Deleted"},- "description": "Number of items per page"+ "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","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"},@@ -1826,15 +2350,15 @@],"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully retrieved browser profiles","content": {"application/json": {"schema": {"type": "array","items": {- "$ref": "#/components/schemas/CredentialResponse"+ "$ref": "#/components/schemas/BrowserProfile"},- "title": "Response Get Credentials V1 Credentials Get"+ "title": "Response List Browser Profiles V1 Browser Profiles Get"}}}@@ -1849,37 +2373,60 @@}}}- }+ },+ "x-fern-sdk-method-name": "list_browser_profiles",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nbrowser_profiles = await skyvern.browser_profiles.list_browser_profiles()\nprint(browser_profiles)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst browserProfiles = await skyvern.browserProfiles.listBrowserProfiles();\nconsole.log(browserProfiles);\n"+ }+ ]+ }+ ]}},- "/v1/credentials/{credential_id}/delete": {- "post": {+ "/v1/browser_profiles/{profile_id}": {+ "get": {"tags": [- "Credentials"+ "Browser Profiles"],- "summary": "Delete credential",- "description": "Deletes a specific credential by its ID",- "operationId": "delete_credential_v1_credentials__credential_id__delete_post",+ "summary": "Get browser profile",+ "description": "Get a specific browser profile by ID",+ "operationId": "get_browser_profile_v1_browser_profiles__profile_id__get","parameters": [{- "name": "credential_id",+ "name": "profile_id","in": "path","required": true,"schema": {"type": "string",- "description": "The unique identifier of the credential to delete",- "example": "cred_1234567890",- "title": "Credential Id"+ "description": "The ID of the browser profile. browser_profile_id starts with `bp_`",+ "examples": [+ "bp_123456"+ ],+ "title": "Profile Id"},- "description": "The unique identifier of the credential to delete"+ "description": "The ID of the browser profile. browser_profile_id starts with `bp_`"},{"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"},@@ -1887,8 +2434,18 @@}],"responses": {- "204": {- "description": "Successful Response"+ "200": {+ "description": "Successfully retrieved browser profile",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/BrowserProfile"+ }+ }+ }+ },+ "404": {+ "description": "Browser profile not found"},"422": {"description": "Validation Error",@@ -1900,54 +2457,91 @@}}}- }- }- },- "/v1/credentials/{credential_id}": {- "get": {+ },+ "x-fern-sdk-method-name": "get_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.get_browser_profile(\"bp_123\")\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.getBrowserProfile(\"bp_123\");\nconsole.log(browserProfile);\n"+ }+ ]+ }+ ]+ },+ "patch": {"tags": [- "Credentials"+ "Browser Profiles"],- "summary": "Get credential by ID",- "description": "Retrieves a specific credential by its ID",- "operationId": "get_credential_v1_credentials__credential_id__get",+ "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": "credential_id",+ "name": "profile_id","in": "path","required": true,"schema": {"type": "string",- "description": "The unique identifier of the credential",- "example": "cred_1234567890",- "title": "Credential Id"+ "description": "The ID of the browser profile to update. browser_profile_id starts with `bp_`",+ "examples": [+ "bp_123456"+ ],+ "title": "Profile Id"},- "description": "The unique identifier of the credential"+ "description": "The ID of the browser profile to update. browser_profile_id starts with `bp_`"},{"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"},"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": "Successful Response",+ "description": "Successfully updated browser profile","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CredentialResponse"+ "$ref": "#/components/schemas/BrowserProfile"}}}},+ "404": {+ "description": "Browser profile not found"+ },+ "409": {+ "description": "Browser profile name already exists"+ },"422": {"description": "Validation Error","content": {@@ -1958,62 +2552,70 @@}}}- }- }- },- "/v1/run/tasks/login": {- "post": {- "x-excluded": true,+ },+ "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": [- "Agent"+ "Browser Profiles"],- "summary": "Login Task",- "description": "Log in to a website using either credential stored in Skyvern, Bitwarden, 1Password, or Azure Vault",- "operationId": "login_v1_run_tasks_login_post",+ "summary": "Delete browser profile",+ "description": "Delete a browser profile (soft delete)",+ "operationId": "delete_browser_profile_v1_browser_profiles__profile_id__delete","parameters": [{- "name": "x-api-key",- "in": "header",- "required": false,+ "name": "profile_id",+ "in": "path",+ "required": true,"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": "The ID of the browser profile to delete. browser_profile_id starts with `bp_`",+ "examples": [+ "bp_123456"+ ],+ "title": "Profile Id"},- "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."+ "description": "The ID of the browser profile to delete. browser_profile_id starts with `bp_`"},{- "name": "x-user-agent",+ "name": "x-api-key","in": "header","required": false,"schema": {- "type": "string",- "nullable": true,- "title": "X-User-Agent"- }+ "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/LoginRequest"- }- }- }- },"responses": {- "200": {- "description": "Successful Response",- "content": {- "application/json": {- "schema": {- "$ref": "#/components/schemas/WorkflowRunResponse"- }- }- }+ "204": {+ "description": "Successfully deleted browser profile"+ },+ "404": {+ "description": "Browser profile not found"},"422": {"description": "Validation Error",@@ -2026,63 +2628,80 @@}}},- "x-fern-sdk-method-name": "login"+ "x-fern-sdk-method-name": "delete_browser_profile",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.browser_profiles.delete_browser_profile(\"bp_123\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.browserProfiles.deleteBrowserProfile(\"bp_123\");\n"+ }+ ]+ }+ ]}},- "/v1/run/tasks/download_files": {+ "/v1/browser_sessions": {"post": {- "x-excluded": true,"tags": [- "Agent"+ "Browser Sessions"],- "summary": "File Download Task",- "description": "Download a file from a website by navigating and clicking download buttons",- "operationId": "download_files_v1_run_tasks_download_files_post",+ "summary": "Create a session",+ "description": "Create a browser session that persists across multiple runs",+ "operationId": "create_browser_session_v1_browser_sessions_post","parameters": [{"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"},"description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."- },- {- "name": "x-user-agent",- "in": "header",- "required": false,- "schema": {- "type": "string",- "nullable": true,- "title": "X-User-Agent"- }}],"requestBody": {- "required": true,"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/DownloadFilesRequest"+ "$ref": "#/components/schemas/CreateBrowserSessionRequest",+ "default": {+ "timeout": 60+ }}}}},"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully created browser session","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/WorkflowRunResponse"+ "$ref": "#/components/schemas/BrowserSessionResponse"}}}},+ "403": {+ "description": "Unauthorized - Invalid or missing authentication"+ },+ "404": {+ "description": "Browser profile not found"+ },"422": {"description": "Validation Error","content": {@@ -2094,52 +2713,67 @@}}},- "x-fern-sdk-method-name": "download_files"- }- },- "/v1/scripts": {- "post": {+ "x-fern-sdk-method-name": "create_browser_session",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nbrowser_session = await skyvern.create_browser_session(timeout=60)\nprint(browser_session)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst browserSession = await skyvern.createBrowserSession({\n timeout: 60\n});\nconsole.log(browserSession);\n"+ }+ ]+ }+ ]+ },+ "get": {"tags": [- "Scripts"+ "Browser Sessions"],- "summary": "Create script",- "description": "Create a new script with optional files and metadata",- "operationId": "create_script_v1_scripts_post",+ "summary": "Get active browser sessions",+ "description": "Get all active browser sessions for the organization",+ "operationId": "get_browser_sessions_v1_browser_sessions_get","parameters": [{"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"},"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/CreateScriptRequest"- }- }- }- },"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully retrieved all active browser sessions","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CreateScriptResponse"+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/BrowserSessionResponse"+ },+ "title": "Response Get Browser Sessions V1 Browser Sessions Get"}}}},+ "403": {+ "description": "Unauthorized - Invalid or missing authentication"+ },"422": {"description": "Validation Error","content": {@@ -2150,51 +2784,60 @@}}}- }- },- "get": {+ },+ "x-fern-sdk-method-name": "get_browser_sessions",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nbrowser_sessions = await skyvern.get_browser_sessions()\nprint(browser_sessions)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst browserSessions = await skyvern.getBrowserSessions();\nconsole.log(browserSessions);\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/browser_sessions/{browser_session_id}/close": {+ "post": {"tags": [- "Scripts"+ "Browser Sessions"],- "summary": "Get all scripts",- "description": "Retrieves a paginated list of scripts for the current organization",- "operationId": "get_scripts_v1_scripts_get",+ "summary": "Close a session",+ "description": "Close a session. Once closed, the session cannot be used again.",+ "operationId": "close_browser_session_v1_browser_sessions__browser_session_id__close_post","parameters": [{- "name": "page",- "in": "query",- "required": false,+ "name": "browser_session_id",+ "in": "path",+ "required": true,"schema": {- "type": "integer",- "minimum": 1,- "description": "Page number for pagination",- "example": 1,- "default": 1,- "title": "Page"- },- "description": "Page number for pagination"- },- {- "name": "page_size",- "in": "query",- "required": false,- "schema": {- "type": "integer",- "minimum": 1,- "description": "Number of items per page",- "example": 10,- "default": 10,- "title": "Page Size"+ "type": "string",+ "description": "The ID of the browser session to close. completed_at will be set when the browser session is closed. browser_session_id starts with `pbs_`",+ "examples": [+ "pbs_123456"+ ],+ "title": "Browser Session Id"},- "description": "Number of items per page"+ "description": "The ID of the browser session to close. completed_at will be set when the browser session is closed. browser_session_id starts with `pbs_`"},{"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"},@@ -2203,19 +2846,16 @@],"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully closed browser session","content": {"application/json": {- "schema": {- "type": "array",- "items": {- "$ref": "#/components/schemas/Script"- },- "title": "Response Get Scripts V1 Scripts Get"- }+ "schema": {}}}},+ "403": {+ "description": "Unauthorized - Invalid or missing authentication"+ },"422": {"description": "Validation Error","content": {@@ -2226,37 +2866,60 @@}}}- }+ },+ "x-fern-sdk-method-name": "close_browser_session",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.close_browser_session(browser_session_id=\"pbs_123\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.closeBrowserSession(\"pbs_123\");\n"+ }+ ]+ }+ ]}},- "/v1/scripts/{script_id}": {+ "/v1/browser_sessions/{browser_session_id}": {"get": {"tags": [- "Scripts"+ "Browser Sessions"],- "summary": "Get script by ID",- "description": "Retrieves a specific script by its ID",- "operationId": "get_script_v1_scripts__script_id__get",+ "summary": "Get a session",+ "description": "Get details about a specific browser session, including the browser address for cdp connection.",+ "operationId": "get_browser_session_v1_browser_sessions__browser_session_id__get","parameters": [{- "name": "script_id",+ "name": "browser_session_id","in": "path","required": true,"schema": {"type": "string",- "description": "The unique identifier of the script",- "example": "s_abc123",- "title": "Script Id"+ "description": "The ID of the browser session. browser_session_id starts with `pbs_`",+ "examples": [+ "pbs_123456"+ ],+ "title": "Browser Session Id"},- "description": "The unique identifier of the script"+ "description": "The ID of the browser session. browser_session_id starts with `pbs_`"},{"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"},@@ -2265,15 +2928,21 @@],"responses": {"200": {- "description": "Successful Response",+ "description": "Successfully retrieved browser session details","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/Script"+ "$ref": "#/components/schemas/BrowserSessionResponse"}}}},+ "404": {+ "description": "Browser session not found"+ },+ "403": {+ "description": "Unauthorized - Invalid or missing authentication"+ },"422": {"description": "Validation Error","content": {@@ -2284,37 +2953,46 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_browser_session",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nbrowser_session = await skyvern.get_browser_session(browser_session_id=\"pbs_123\")\nprint(browser_session)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst browserSession = await skyvern.getBrowserSession(\"pbs_123\");\nconsole.log(browserSession);\n"+ }+ ]+ }+ ]}},- "/v1/scripts/{script_id}/deploy": {+ "/v1/credentials/totp": {"post": {"tags": [- "Scripts"+ "Credentials"],- "summary": "Deploy script",- "description": "Deploy a script with updated files, creating a new version",- "operationId": "deploy_script_v1_scripts__script_id__deploy_post",+ "summary": "Send TOTP code",+ "description": "Forward a TOTP (2FA, MFA) email or sms message containing the code to Skyvern. This endpoint stores the code in database so that Skyvern can use it while running tasks/workflows.",+ "operationId": "send_totp_code_v1_credentials_totp_post","parameters": [- {- "name": "script_id",- "in": "path",- "required": true,- "schema": {- "type": "string",- "description": "The unique identifier of the script",- "example": "s_abc123",- "title": "Script Id"- },- "description": "The unique identifier of the script"- },{"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"},@@ -2326,7 +3004,7 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/DeployScriptRequest"+ "$ref": "#/components/schemas/TOTPCodeCreate"}}}@@ -2337,7 +3015,7 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CreateScriptResponse"+ "$ref": "#/components/schemas/TOTPCode"}}}@@ -2352,82 +3030,46 @@}}}- }- }- },- "/v1/scripts/{script_id}/run": {- "post": {- "tags": [- "Scripts"- ],- "summary": "Run script",- "description": "Run a script",- "operationId": "run_script_v1_scripts__script_id__run_post",- "parameters": [- {- "name": "script_id",- "in": "path",- "required": true,- "schema": {- "type": "string",- "description": "The unique identifier of the script",- "example": "s_abc123",- "title": "Script Id"- },- "description": "The unique identifier of the script"- },+ },+ "x-fern-sdk-method-name": "send_totp_code",+ "x-fern-examples": [{- "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."- }- ],- "responses": {- "200": {- "description": "Successful Response",- "content": {- "application/json": {- "schema": {}- }- }- },- "422": {- "description": "Validation Error",- "content": {- "application/json": {- "schema": {- "$ref": "#/components/schemas/HTTPValidationError"- }+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.send_totp_code(\n totp_identifier=\"[email protected]\",\n content=\"Hello, your verification code is 123456\"\n)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.sendTotpCode({\n totp_identifier: \"[email protected]\",\n content: \"Hello, your verification code is 123456\"\n});\n"}- }+ ]}- }+ ]}},- "/v1/sdk/run_action": {+ "/v1/credentials": {"post": {- "x-excluded": true,"tags": [- "SDK"+ "Credentials"],- "summary": "Run an SDK action",- "description": "Execute a single SDK action with the specified parameters",- "operationId": "run_sdk_action_v1_sdk_run_action_post",+ "summary": "Create credential",+ "description": "Creates a new credential for the current organization",+ "operationId": "create_credential_v1_credentials_post","parameters": [{"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"},@@ -2439,18 +3081,33 @@"content": {"application/json": {"schema": {- "$ref": "#/components/schemas/RunSdkActionRequest"+ "$ref": "#/components/schemas/CreateCredentialRequest",+ "description": "The credential data to create",+ "examples": [+ {+ "name": "My Credential",+ "credential_type": "PASSWORD",+ "credential": {+ "username": "[email protected]",+ "password": "securepassword123",+ "totp": "JBSWY3DPEHPK3PXP"+ }+ }+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "data"+ }}}}},"responses": {- "200": {+ "201": {"description": "Successful Response","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/RunSdkActionResponse"+ "$ref": "#/components/schemas/CredentialResponse"}}}@@ -2465,46 +3122,162 @@}}}- }- }- },- "/api/v1/billing/checkout": {- "post": {- "x-excluded": true,- "summary": "Create Checkout Session",- "description": "Create a Stripe Checkout Session for subscribing to a tier.\n\nFrontend should redirect the user to the returned URL.\nAfter successful checkout, Stripe will send a webhook that we handle\nto store the subscription and initialize billing state.\n\nReturns 400 if org already has an active subscription (use portal instead).",- "operationId": "create_checkout_session_api_v1_billing_checkout_post",+ },+ "x-fern-sdk-method-name": "create_credential",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.create_credential(\n name=\"My Credential\",\n credential_type=\"password\",\n credential={\"username\": \"username\", \"password\": \"password\"},\n)\n"+ },+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.create_credential(\n name=\"My Credit Card\",\n credential_type=\"credit_card\",\n credential={\n \"card_number\": \"4242424242424242\",\n \"card_cvv\": \"424\",\n \"card_exp_month\": \"12\",\n \"card_exp_year\": \"2028\",\n \"card_brand\": \"visa\",\n \"card_holder_name\": \"John Doe\",\n },\n)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.createCredential({\n name: \"My Credential\",\n credential_type: \"password\",\n credential: { username: \"username\", password: \"password\" }\n});\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.createCredential({\n name: \"My Credit Card\",\n credential_type: \"credit_card\",\n credential: {\n card_number: \"4242424242424242\",\n card_cvv: \"424\",\n card_exp_month: \"12\",\n card_exp_year: \"2028\",\n card_brand: \"visa\",\n card_holder_name: \"John Doe\"\n }\n});\n"+ }+ ]+ }+ ]+ },+ "get": {+ "tags": [+ "Credentials"+ ],+ "summary": "Get all credentials",+ "description": "Retrieves a paginated list of credentials for the current organization",+ "operationId": "get_credentials_v1_credentials_get","parameters": [{- "name": "x-api-key",- "in": "header",+ "name": "page",+ "in": "query","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"+ "type": "integer",+ "minimum": 1,+ "description": "Page number for pagination",+ "examples": [+ 1+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "page"+ },+ "default": 1,+ "title": "Page"},- "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/CheckoutSubscriptionRequest"- }- }+ "description": "Page number for pagination"+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Number of items per page",+ "examples": [+ 10+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "page_size"+ },+ "default": 10,+ "title": "Page Size"+ },+ "description": "Number of items per page"+ },+ {+ "name": "vault_type",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/CredentialVaultType"+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter credentials by vault type (e.g. 'custom', 'bitwarden', 'azure_vault')",+ "title": "Vault Type"+ },+ "description": "Filter credentials by vault type (e.g. 'custom', 'bitwarden', 'azure_vault')"+ },+ {+ "name": "credential_type",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/skyvern__forge__sdk__schemas__credentials__CredentialType"+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter credentials by type (e.g. 'password', 'credit_card', 'secret')",+ "title": "Credential Type"+ },+ "description": "Filter credentials by type (e.g. 'password', 'credit_card', 'secret')"+ },+ {+ "name": "search",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string",+ "maxLength": 200+ },+ {+ "type": "null"+ }+ ],+ "description": "Case-insensitive search across credential name, username, secret label, and card details",+ "title": "Search"+ },+ "description": "Case-insensitive search across credential name, username, secret label, and card details"+ },+ {+ "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."}- },+ ],"responses": {"200": {"description": "Successful Response","content": {"application/json": {"schema": {- "$ref": "#/components/schemas/CheckoutSessionResponse"+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/CredentialResponse"+ },+ "title": "Response Get Credentials V1 Credentials Get"}}}@@ -2519,351 +3292,10063 @@}}}- }+ },+ "x-fern-sdk-method-name": "get_credentials",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\ncredentials = await skyvern.get_credentials()\nprint(credentials)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst credentials = await skyvern.getCredentials();\nconsole.log(credentials);\n"+ }+ ]+ }+ ]}- }- },- "components": {- "schemas": {- "AWSSecretParameter": {- "properties": {- "parameter_type": {- "type": "string",- "enum": [- "aws_secret"- ],- "title": "Parameter Type",- "default": "aws_secret"- },- "key": {- "type": "string",- "title": "Key"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "aws_secret_parameter_id": {- "type": "string",- "title": "Aws Secret Parameter Id"- },- "workflow_id": {- "type": "string",- "title": "Workflow Id"- },- "aws_key": {- "type": "string",- "title": "Aws Key"- },- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"- },- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ },+ "/v1/credentials/{credential_id}/update": {+ "post": {+ "tags": [+ "Credentials"+ ],+ "summary": "Update credential",+ "description": "Overwrites the stored credential data (e.g. username/password) while keeping the same credential_id.",+ "operationId": "update_credential_v1_credentials__credential_id__update_post",+ "parameters": [+ {+ "name": "credential_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The unique identifier of the credential to update",+ "examples": [+ "cred_1234567890"+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "credential_id"+ },+ "title": "Credential Id"+ },+ "description": "The unique identifier of the credential to update"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ {+ "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."}- },- "type": "object",- "required": [- "key",- "aws_secret_parameter_id",- "workflow_id",- "aws_key",- "created_at",- "modified_at"],- "title": "AWSSecretParameter"- },- "AWSSecretParameterYAML": {- "properties": {- "parameter_type": {- "type": "string",- "enum": [- "aws_secret"- ],- "title": "Parameter Type",- "default": "aws_secret"- },- "key": {- "type": "string",- "title": "Key"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "aws_key": {- "type": "string",- "title": "Aws Key"+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/CreateCredentialRequest",+ "description": "The new credential data to store",+ "examples": [+ {+ "name": "My Credential",+ "credential_type": "PASSWORD",+ "credential": {+ "username": "[email protected]",+ "password": "newpassword123"+ }+ }+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "data"+ }+ }+ }}},- "type": "object",- "required": [- "key",- "aws_key"- ],- "title": "AWSSecretParameterYAML"- },- "ActAction": {- "properties": {- "type": {- "type": "string",- "enum": [- "ai_act"- ],- "title": "Type",- "default": "ai_act"- },- "intention": {- "type": "string",- "title": "Intention",- "description": "Natural language prompt for the action",- "default": ""+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/CredentialResponse"+ }+ }+ }},- "data": {- "anyOf": [+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "update_credential",+ "x-fern-examples": [+ {+ "code-samples": [{- "type": "string"+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nupdated = await skyvern.update_credential(\n credential_id=\"cred_123\",\n name=\"My Credential\",\n credential_type=\"password\",\n credential={\"username\": \"[email protected]\", \"password\": \"newpassword123\"},\n)\nprint(updated)\n"},{- "additionalProperties": true,- "type": "object"+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst updated = await skyvern.updateCredential(\"cred_123\", {\n name: \"My Credential\",\n credential_type: \"password\",\n credential: { username: \"[email protected]\", password: \"newpassword123\" }\n});\nconsole.log(updated);\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/credentials/{credential_id}/delete": {+ "post": {+ "tags": [+ "Credentials"+ ],+ "summary": "Delete credential",+ "description": "Deletes a specific credential by its ID",+ "operationId": "delete_credential_v1_credentials__credential_id__delete_post",+ "parameters": [+ {+ "name": "credential_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The unique identifier of the credential to delete",+ "examples": [+ "cred_1234567890"+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "credential_id"+ },+ "title": "Credential Id"+ },+ "description": "The unique identifier of the credential to delete"+ },+ {+ "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."+ }+ ],+ "responses": {+ "204": {+ "description": "Successful Response"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "delete_credential",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.delete_credential(credential_id=\"cred_123\")\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.deleteCredential(\"cred_123\");\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/credentials/{credential_id}": {+ "get": {+ "tags": [+ "Credentials"+ ],+ "summary": "Get credential by ID",+ "description": "Retrieves a specific credential by its ID",+ "operationId": "get_credential_v1_credentials__credential_id__get",+ "parameters": [+ {+ "name": "credential_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The unique identifier of the credential",+ "examples": [+ "cred_1234567890"+ ],+ "openapi_extra": {+ "x-fern-sdk-parameter-name": "credential_id"+ },+ "title": "Credential Id"+ },+ "description": "The unique identifier of the credential"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/CredentialResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_credential",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\ncredential = await skyvern.get_credential(credential_id=\"cred_123\")\nprint(credential)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nconst credential = await skyvern.getCredential(\"cred_123\");\nconsole.log(credential);\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/run/tasks/login": {+ "post": {+ "tags": [+ "Agents"+ ],+ "summary": "Login Task",+ "description": "Log in to a website using either credential stored in Skyvern, Bitwarden, 1Password, or Azure Vault",+ "operationId": "login_v1_run_tasks_login_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."+ },+ {+ "name": "x-user-agent",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "X-User-Agent"+ }+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/LoginRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowRunResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-hidden": true,+ "x-excluded": true,+ "x-fern-sdk-method-name": "login",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "# Login with password saved in Skyvern\nfrom skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.login(\n url=\"https://example.com\",\n credential_type=\"skyvern\",\n credential_id=\"cred_123\"),\n)\n"+ },+ {+ "sdk": "python",+ "code": "# Login with password saved in Bitwarden\nfrom skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\n# Login with a Bitwarden collection and website url filter\nawait skyvern.login(\n url=\"https://example.com\",\n credential_type=\"bitwarden\",\n bitwarden_collection_id=\"BITWARDEN COLLECTION ID\",\n)\n\n# Login with a Bitwarden item\nawait skyvern.login(\n url=\"https://example.com\",\n credential_type=\"bitwarden\",\n bitwarden_item_id=\"BITWARDEN ITEM ID\",\n)\n"+ },+ {+ "sdk": "python",+ "code": "# Login with password saved in 1Password\nfrom skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.login(\n url=\"https://example.com\",\n credential_type=\"onepassword\",\n onepassword_vault_id=\"1PASSWORD VAULT ID\",\n onepassword_item_id=\"1PASSWORD ITEM ID\",\n)\n"+ },+ {+ "sdk": "typescript",+ "code": "// Login with password saved in Skyvern\nimport { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.login({\n url: \"https://example.com\",\n credential_type: \"skyvern\",\n credential_id: \"cred_123\"\n});\n"+ },+ {+ "sdk": "typescript",+ "code": "// Login with password saved in Bitwarden\nimport { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\n// Login with a Bitwarden collection and website url filter\nawait skyvern.login({\n url: \"https://example.com\",\n credential_type: \"bitwarden\",\n bitwarden_collection_id: \"BITWARDEN COLLECTION ID\"\n});\n\n// Login with a Bitwarden item\nawait skyvern.login({\n url: \"https://example.com\",\n credential_type: \"bitwarden\",\n bitwarden_item_id: \"BITWARDEN ITEM ID\"\n});\n"+ },+ {+ "sdk": "typescript",+ "code": "// Login with password saved in 1Password\nimport { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.login({\n url: \"https://example.com\",\n credential_type: \"onepassword\",\n onepassword_vault_id: \"1PASSWORD VAULT ID\",\n onepassword_item_id: \"1PASSWORD ITEM ID\"\n});\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/run/tasks/download_files": {+ "post": {+ "tags": [+ "Agents"+ ],+ "summary": "File Download Task",+ "description": "Download a file from a website by navigating and clicking download buttons",+ "operationId": "download_files_v1_run_tasks_download_files_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."+ },+ {+ "name": "x-user-agent",+ "in": "header",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "X-User-Agent"+ }+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/DownloadFilesRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowRunResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-hidden": true,+ "x-excluded": true,+ "x-fern-sdk-method-name": "download_files",+ "x-fern-examples": [+ {+ "code-samples": [+ {+ "sdk": "python",+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\nawait skyvern.download_files(\n url=\"https://example.com/downloads\",\n navigation_goal=\"Navigate to the downloads page and click the 'Download PDF' button\",\n download_suffix=\"report.pdf\"\n)\n"+ },+ {+ "sdk": "typescript",+ "code": "import { SkyvernClient } from \"@skyvern/client\";\n\nconst skyvern = new SkyvernClient({ apiKey: \"YOUR_API_KEY\" });\nawait skyvern.downloadFiles({\n url: \"https://example.com/downloads\",\n navigation_goal: \"Navigate to the downloads page and click the 'Download PDF' button\",\n download_suffix: \"report.pdf\"\n});\n"+ }+ ]+ }+ ]+ }+ },+ "/v1/scripts": {+ "post": {+ "tags": [+ "Scripts"+ ],+ "summary": "Create script",+ "description": "Create a new script with optional files and metadata",+ "operationId": "create_script_v1_scripts_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/CreateScriptRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/CreateScriptResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "create_script"+ },+ "get": {+ "tags": [+ "Scripts"+ ],+ "summary": "Get all scripts",+ "description": "Retrieves a paginated list of scripts for the current organization",+ "operationId": "get_scripts_v1_scripts_get",+ "parameters": [+ {+ "name": "page",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Page number for pagination",+ "examples": [+ 1+ ],+ "default": 1,+ "title": "Page"+ },+ "description": "Page number for pagination"+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Number of items per page",+ "examples": [+ 10+ ],+ "default": 10,+ "title": "Page Size"+ },+ "description": "Number of items per page"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/Script"+ },+ "title": "Response Get Scripts V1 Scripts Get"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_scripts"+ }+ },+ "/v1/scripts/{script_id}": {+ "get": {+ "tags": [+ "Scripts"+ ],+ "summary": "Get script by ID",+ "description": "Retrieves a specific script by its ID",+ "operationId": "get_script_v1_scripts__script_id__get",+ "parameters": [+ {+ "name": "script_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The unique identifier of the script",+ "examples": [+ "s_abc123"+ ],+ "title": "Script Id"+ },+ "description": "The unique identifier of the script"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/Script"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_script"+ }+ },+ "/v1/scripts/{script_id}/deploy": {+ "post": {+ "tags": [+ "Scripts"+ ],+ "summary": "Deploy script",+ "description": "Deploy a script with updated files, creating a new version",+ "operationId": "deploy_script_v1_scripts__script_id__deploy_post",+ "parameters": [+ {+ "name": "script_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The unique identifier of the script",+ "examples": [+ "s_abc123"+ ],+ "title": "Script Id"+ },+ "description": "The unique identifier of the script"+ },+ {+ "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/DeployScriptRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/CreateScriptResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "deploy_script"+ }+ },+ "/v1/scripts/{script_id}/run": {+ "post": {+ "tags": [+ "Scripts"+ ],+ "summary": "Run script",+ "description": "Run a script",+ "operationId": "run_script_v1_scripts__script_id__run_post",+ "parameters": [+ {+ "name": "script_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The unique identifier of the script",+ "examples": [+ "s_abc123"+ ],+ "title": "Script Id"+ },+ "description": "The unique identifier of the script"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {}+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ }+ },+ "/v1/sdk/run_action": {+ "post": {+ "tags": [+ "SDK"+ ],+ "summary": "Run an SDK action",+ "description": "Execute a single SDK action with the specified parameters",+ "operationId": "run_sdk_action_v1_sdk_run_action_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/RunSdkActionRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/RunSdkActionResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-excluded": true,+ "x-fern-sdk-method-name": "run_sdk_action"+ }+ },+ "/v1/schedules": {+ "get": {+ "tags": [+ "Schedules"+ ],+ "summary": "List all schedules for the organization",+ "operationId": "schedules_list_all",+ "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",+ "maximum": 100,+ "minimum": 1,+ "default": 10,+ "title": "Page Size"+ }+ },+ {+ "name": "status",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "enum": [+ "active",+ "paused"+ ],+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter by status: 'active' or 'paused'",+ "title": "Status"+ },+ "description": "Filter by status: 'active' or 'paused'"+ },+ {+ "name": "search",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Search by workflow title or schedule name",+ "title": "Search"+ },+ "description": "Search by workflow title or schedule name"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/OrganizationScheduleListResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ }+ },+ "/v1/agents/{workflow_permanent_id}/folder": {+ "put": {+ "tags": [+ "Folders"+ ],+ "summary": "Update agent folder",+ "description": "Update a workflow's folder assignment for the latest version",+ "operationId": "update_workflow_folder_v1_workflows__workflow_permanent_id__folder_put",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Workflow permanent ID",+ "examples": [+ "wpid_123"+ ],+ "title": "Workflow Permanent Id"+ },+ "description": "Workflow permanent ID"+ },+ {+ "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/UpdateWorkflowFolderRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successfully updated workflow folder",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/Workflow"+ }+ }+ }+ },+ "404": {+ "description": "Workflow not found"+ },+ "400": {+ "description": "Folder not found"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "update_workflow_folder"+ }+ },+ "/v1/agents/{workflow_permanent_id}/tags": {+ "post": {+ "tags": [+ "Tags"+ ],+ "summary": "Apply agent tags",+ "description": "Atomically apply tag changes to a workflow. Sets and deletes happen in one transaction; same-key collisions resolve set-wins.",+ "operationId": "apply_workflow_tags_v1_workflows__workflow_permanent_id__tags_post",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Workflow permanent ID",+ "examples": [+ "wpid_123"+ ],+ "title": "Workflow Permanent Id"+ },+ "description": "Workflow permanent ID"+ }+ ],+ "requestBody": {+ "required": true,+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/TagApplyRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successfully applied tag changes",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/TagsResponse"+ }+ }+ }+ },+ "404": {+ "description": "Workflow not found"+ },+ "422": {+ "description": "Invalid tag key or value"+ }+ },+ "x-fern-sdk-method-name": "apply_workflow_tags"+ },+ "get": {+ "tags": [+ "Tags"+ ],+ "summary": "Get agent tags",+ "description": "Get the current tag state for a workflow.",+ "operationId": "get_workflow_tags_v1_workflows__workflow_permanent_id__tags_get",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Workflow permanent ID",+ "examples": [+ "wpid_123"+ ],+ "title": "Workflow Permanent Id"+ },+ "description": "Workflow permanent ID"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successfully retrieved tags",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/TagsResponse"+ }+ }+ }+ },+ "404": {+ "description": "Workflow not found"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_workflow_tags"+ }+ },+ "/v1/agents/{workflow_permanent_id}/tags/{key}": {+ "delete": {+ "tags": [+ "Tags"+ ],+ "summary": "Delete agent tag",+ "description": "Soft-delete a single tag from a workflow. Writes a DELETE event row.",+ "operationId": "delete_workflow_tag_v1_workflows__workflow_permanent_id__tags__key__delete",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Workflow permanent ID",+ "examples": [+ "wpid_123"+ ],+ "title": "Workflow Permanent Id"+ },+ "description": "Workflow permanent ID"+ },+ {+ "name": "key",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Tag key to delete",+ "examples": [+ "env"+ ],+ "title": "Key"+ },+ "description": "Tag key to delete"+ }+ ],+ "responses": {+ "200": {+ "description": "Successfully deleted tag (or no-op if absent)",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/TagsResponse"+ }+ }+ }+ },+ "404": {+ "description": "Workflow not found"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "delete_workflow_tag"+ }+ },+ "/v1/agents/{workflow_permanent_id}/tags/history": {+ "get": {+ "tags": [+ "Tags"+ ],+ "summary": "Get agent tag history",+ "description": "Chronological tag-event log for a workflow (newest first). Includes SET and DELETE events.",+ "operationId": "get_workflow_tag_history_v1_workflows__workflow_permanent_id__tags_history_get",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "Workflow permanent ID",+ "examples": [+ "wpid_123"+ ],+ "title": "Workflow Permanent Id"+ },+ "description": "Workflow permanent ID"+ },+ {+ "name": "limit",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "maximum": 500,+ "minimum": 1,+ "description": "Max events to return",+ "default": 100,+ "title": "Limit"+ },+ "description": "Max events to return"+ },+ {+ "name": "since",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "description": "Only return events at or after this timestamp",+ "title": "Since"+ },+ "description": "Only return events at or after this timestamp"+ },+ {+ "name": "key",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter to events for a single tag key",+ "title": "Key"+ },+ "description": "Filter to events for a single tag key"+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successfully retrieved tag history",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/TagHistoryResponse"+ }+ }+ }+ },+ "404": {+ "description": "Workflow not found"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_workflow_tag_history"+ }+ },+ "/v1/agents/runs/{workflow_run_id}/retry": {+ "post": {+ "tags": [+ "Agents"+ ],+ "summary": "Retry a 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/agents/runs": {+ "get": {+ "tags": [+ "Agents"+ ],+ "summary": "Get all runs",+ "description": "List workflow runs across all workflows for the current organization.\n\nResults are paginated and can be filtered by **status**, **search_key**, and **error_code**. All filters are combined with **AND** logic — a run must match every supplied filter to be returned.\n\n### search_key\n\nA case-insensitive substring search that matches against **any** of the following fields:\n\n| Searched field | Description |\n|---|---|\n| `workflow_run_id` | The unique run identifier (e.g. `wr_123…`) |\n| Parameter **key** | The `key` of any workflow parameter definition associated with the run |\n| Parameter **description** | The `description` of any workflow parameter definition |\n| Run parameter **value** | The actual value supplied for any parameter when the run was created |\n| `extra_http_headers` | Extra HTTP headers attached to the run (searched as raw JSON text) |\n\nSoft-deleted parameter definitions are excluded from key/description matching. A run is returned if **any** of the fields above contain the search term.\n\n### error_code\n\nAn **exact-match** filter against the `error_code` field inside each task's `errors` JSON array. A run matches if **any** of its tasks contains an error object with a matching `error_code` value. Error codes are user-defined strings set during workflow execution (e.g. `INVALID_CREDENTIALS`, `LOGIN_FAILED`, `CAPTCHA_DETECTED`).\n\n### Combining filters\n\nAll query parameters use AND logic:\n- `?status=failed` — only failed runs\n- `?status=failed&error_code=LOGIN_FAILED` — failed runs **and** have a LOGIN_FAILED error\n- `?status=failed&error_code=LOGIN_FAILED&search_key=prod_credential` — all three conditions must match",+ "operationId": "get_workflow_runs_v1_workflows_runs_get",+ "parameters": [+ {+ "name": "page",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Page number for pagination.",+ "default": 1,+ "title": "Page"+ },+ "description": "Page number for pagination."+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Number of runs to return per page.",+ "default": 10,+ "title": "Page Size"+ },+ "description": "Number of runs to return per page."+ },+ {+ "name": "status",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/WorkflowRunStatus"+ }+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter by one or more run statuses.",+ "title": "Status"+ },+ "description": "Filter by one or more run statuses."+ },+ {+ "name": "search_key",+ "in": "query",+ "required": false,+ "schema": {+ "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. 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": {+ "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. 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": {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/WorkflowRun"+ },+ "title": "Response Get Workflow Runs V1 Workflows Runs Get"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_workflow_runs"+ }+ },+ "/v1/agents/{workflow_id}/runs": {+ "get": {+ "tags": [+ "Agents"+ ],+ "summary": "Get all runs by agent",+ "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": [+ {+ "name": "workflow_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Id"+ }+ },+ {+ "name": "page",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Page number for pagination.",+ "default": 1,+ "title": "Page"+ },+ "description": "Page number for pagination."+ },+ {+ "name": "page_size",+ "in": "query",+ "required": false,+ "schema": {+ "type": "integer",+ "minimum": 1,+ "description": "Number of runs to return per page.",+ "default": 10,+ "title": "Page Size"+ },+ "description": "Number of runs to return per page."+ },+ {+ "name": "status",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/WorkflowRunStatus"+ }+ },+ {+ "type": "null"+ }+ ],+ "description": "Filter by one or more run statuses.",+ "title": "Status"+ },+ "description": "Filter by one or more run statuses."+ },+ {+ "name": "search_key",+ "in": "query",+ "required": false,+ "schema": {+ "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. 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": {+ "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. 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": {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/WorkflowRun"+ },+ "title": "Response Get Workflow Runs By Id V1 Workflows Workflow Id Runs Get"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_workflow_runs_by_id"+ }+ },+ "/v1/agents/{workflow_permanent_id}": {+ "get": {+ "tags": [+ "Agents"+ ],+ "summary": "Get an agent by id",+ "operationId": "get_workflow_v1_workflows__workflow_permanent_id__get",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "version",+ "in": "query",+ "required": false,+ "schema": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Version"+ }+ },+ {+ "name": "template",+ "in": "query",+ "required": false,+ "schema": {+ "type": "boolean",+ "default": false,+ "title": "Template"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/Workflow"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_workflow"+ }+ },+ "/v1/agents/{workflow_permanent_id}/versions": {+ "get": {+ "tags": [+ "Agents"+ ],+ "summary": "Get agent versions",+ "description": "Get all versions of a workflow by its permanent ID.",+ "operationId": "get_workflow_versions_v1_workflows__workflow_permanent_id__versions_get",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "template",+ "in": "query",+ "required": false,+ "schema": {+ "type": "boolean",+ "default": false,+ "title": "Template"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/Workflow"+ },+ "title": "Response Get Workflow Versions V1 Workflows Workflow Permanent Id Versions Get"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-fern-sdk-method-name": "get_workflow_versions"+ }+ },+ "/v1/agents/{workflow_permanent_id}/browser_session/reset_profile": {+ "post": {+ "tags": [+ "Agents"+ ],+ "summary": "Reset persisted browser profile",+ "description": "Clear the persisted browser profile for a workflow that uses `Save & Reuse Session`. The next run will start from a fresh browser state. Use when a saved profile is corrupted.",+ "operationId": "reset_workflow_browser_profile",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "description": "The permanent ID of the workflow. Starts with `wpid_`.",+ "examples": [+ "wpid_123"+ ],+ "title": "Workflow Permanent Id"+ },+ "description": "The permanent ID of the workflow. Starts with `wpid_`."+ },+ {+ "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."+ }+ ],+ "responses": {+ "204": {+ "description": "Successfully cleared persisted browser profile"+ },+ "404": {+ "description": "Workflow not found"+ },+ "500": {+ "description": "Storage deletion failed; retry"+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ },+ "x-hidden": true+ }+ },+ "/v1/agents/{workflow_permanent_id}/schedules": {+ "post": {+ "tags": [+ "Schedules"+ ],+ "summary": "Create a schedule for an agent",+ "operationId": "schedules_create",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "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/WorkflowScheduleUpsertRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowScheduleResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ },+ "get": {+ "tags": [+ "Schedules"+ ],+ "summary": "List schedules for an agent",+ "operationId": "schedules_list",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowScheduleListResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ }+ },+ "/v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}": {+ "get": {+ "tags": [+ "Schedules"+ ],+ "summary": "Get an agent schedule by id",+ "operationId": "schedules_get",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "workflow_schedule_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Schedule Id"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowScheduleResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ },+ "put": {+ "tags": [+ "Schedules"+ ],+ "summary": "Update an agent schedule",+ "operationId": "schedules_update",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "workflow_schedule_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Schedule Id"+ }+ },+ {+ "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/WorkflowScheduleUpsertRequest"+ }+ }+ }+ },+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowScheduleResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ },+ "delete": {+ "tags": [+ "Schedules"+ ],+ "summary": "Delete an agent schedule",+ "operationId": "schedules_delete",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "workflow_schedule_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Schedule Id"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/DeleteScheduleResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ }+ },+ "/v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/enable": {+ "post": {+ "tags": [+ "Schedules"+ ],+ "summary": "Enable an agent schedule",+ "operationId": "schedules_enable",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "workflow_schedule_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Schedule Id"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowScheduleResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ }+ },+ "/v1/agents/{workflow_permanent_id}/schedules/{workflow_schedule_id}/disable": {+ "post": {+ "tags": [+ "Schedules"+ ],+ "summary": "Disable an agent schedule",+ "operationId": "schedules_disable",+ "parameters": [+ {+ "name": "workflow_permanent_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Permanent Id"+ }+ },+ {+ "name": "workflow_schedule_id",+ "in": "path",+ "required": true,+ "schema": {+ "type": "string",+ "title": "Workflow Schedule Id"+ }+ },+ {+ "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."+ }+ ],+ "responses": {+ "200": {+ "description": "Successful Response",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/WorkflowScheduleResponse"+ }+ }+ }+ },+ "422": {+ "description": "Validation Error",+ "content": {+ "application/json": {+ "schema": {+ "$ref": "#/components/schemas/HTTPValidationError"+ }+ }+ }+ }+ }+ }+ }+ },+ "components": {+ "schemas": {+ "AIFallbackMode": {+ "type": "string",+ "enum": [+ "fallback",+ "proactive"+ ],+ "title": "AIFallbackMode",+ "description": "Controls how an action block uses a CSS/XPath selector relative to AI.\n\n- `fallback`: attempt the selector first; fall back to AI on failure.\n- `proactive`: always use AI; the selector (if any) is a hint only.\n\nWhen `selector` is None, both modes degrade to AI-only — the difference\nis purely semantic (whether the author expected to have a selector here)."+ },+ "AWSSecretParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "aws_secret",+ "title": "Parameter Type",+ "default": "aws_secret"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "aws_secret_parameter_id": {+ "type": "string",+ "title": "Aws Secret Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "aws_key": {+ "type": "string",+ "title": "Aws Key"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "aws_secret_parameter_id",+ "workflow_id",+ "aws_key",+ "created_at",+ "modified_at"+ ],+ "title": "AWSSecretParameter"+ },+ "AWSSecretParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "aws_secret",+ "title": "Parameter Type",+ "default": "aws_secret"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "aws_key": {+ "type": "string",+ "title": "Aws Key"+ }+ },+ "type": "object",+ "required": [+ "key",+ "aws_key"+ ],+ "title": "AWSSecretParameterYAML"+ },+ "ActAction": {+ "properties": {+ "type": {+ "type": "string",+ "const": "ai_act",+ "title": "Type",+ "default": "ai_act"+ },+ "intention": {+ "type": "string",+ "title": "Intention",+ "description": "Natural language prompt for the action",+ "default": ""+ },+ "data": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data",+ "description": "Additional context data"+ }+ },+ "type": "object",+ "title": "ActAction",+ "description": "AI act action parameters."+ },+ "Action": {+ "properties": {+ "action_type": {+ "$ref": "#/components/schemas/ActionType"+ },+ "status": {+ "$ref": "#/components/schemas/ActionStatus",+ "default": "pending"+ },+ "action_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Action Id"+ },+ "source_action_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Action Id"+ },+ "organization_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Organization Id"+ },+ "workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Id"+ },+ "task_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Task Id"+ },+ "step_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Step Id"+ },+ "step_order": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Step Order"+ },+ "action_order": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Action Order"+ },+ "confidence_float": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Confidence Float"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "reasoning": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Reasoning"+ },+ "intention": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Intention"+ },+ "response": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Response"+ },+ "element_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Element Id"+ },+ "skyvern_element_hash": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Skyvern Element Hash"+ },+ "skyvern_element_data": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Skyvern Element Data"+ },+ "screenshot_artifact_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Screenshot Artifact Id"+ },+ "tool_call_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Tool Call Id"+ },+ "xpath": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Xpath"+ },+ "errors": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/UserDefinedError"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Errors"+ },+ "terminal_user_errors": {+ "type": "boolean",+ "title": "Terminal User Errors",+ "default": false+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"+ },+ "output": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output"+ },+ "file_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "File Name"+ },+ "file_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "File Url"+ },+ "download": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download"+ },+ "download_triggered": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Triggered"+ },+ "downloaded_files": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Downloaded Files"+ },+ "is_upload_file_tag": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Upload File Tag"+ },+ "text": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Text"+ },+ "input_or_select_context": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/InputOrSelectContext"+ },+ {+ "type": "null"+ }+ ]+ },+ "option": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/SelectOption"+ },+ {+ "type": "null"+ }+ ]+ },+ "is_checked": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Checked"+ },+ "verified": {+ "type": "boolean",+ "title": "Verified",+ "default": false+ },+ "click_context": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ClickContext"+ },+ {+ "type": "null"+ }+ ]+ },+ "totp_timing_info": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Timing Info"+ },+ "has_mini_agent": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Has Mini Agent"+ },+ "skip_auto_complete_tab": {+ "type": "boolean",+ "title": "Skip Auto Complete Tab",+ "default": false+ },+ "created_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Created At"+ },+ "modified_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Modified At"+ },+ "created_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Created By"+ }+ },+ "type": "object",+ "required": [+ "action_type"+ ],+ "title": "Action"+ },+ "ActionBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "action",+ "title": "Block Type",+ "default": "action"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "task_type": {+ "type": "string",+ "title": "Task Type",+ "default": "general"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"+ },+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true+ },+ "selector": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Selector"+ },+ "ai_fallback": {+ "$ref": "#/components/schemas/AIFallbackMode",+ "default": "fallback"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter"+ ],+ "title": "ActionBlock"+ },+ "ActionBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "action",+ "title": "Block Type",+ "default": "action"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "selector": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Selector"+ },+ "ai_fallback": {+ "$ref": "#/components/schemas/AIFallbackMode",+ "default": "fallback"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ }+ },+ "type": "object",+ "required": [+ "label"+ ],+ "title": "ActionBlockYAML"+ },+ "ActionStatus": {+ "type": "string",+ "enum": [+ "pending",+ "skipped",+ "failed",+ "completed"+ ],+ "title": "ActionStatus"+ },+ "ActionType": {+ "type": "string",+ "enum": [+ "click",+ "input_text",+ "upload_file",+ "download_file",+ "select_option",+ "checkbox",+ "wait",+ "hover",+ "null_action",+ "solve_captcha",+ "terminate",+ "complete",+ "reload_page",+ "close_page",+ "extract",+ "verification_code",+ "goto_url",+ "go_back",+ "go_forward",+ "scroll",+ "keypress",+ "move",+ "drag",+ "left_mouse",+ "execute_js"+ ],+ "title": "ActionType"+ },+ "Artifact": {+ "properties": {+ "created_at": {+ "type": "string",+ "title": "Created At",+ "description": "The creation datetime of the task.",+ "examples": [+ "2023-01-01T00:00:00Z"+ ]+ },+ "modified_at": {+ "type": "string",+ "title": "Modified At",+ "description": "The modification datetime of the task.",+ "examples": [+ "2023-01-01T00:00:00Z"+ ]+ },+ "artifact_id": {+ "type": "string",+ "title": "Artifact Id"+ },+ "artifact_type": {+ "$ref": "#/components/schemas/ArtifactType"+ },+ "uri": {+ "type": "string",+ "title": "Uri"+ },+ "bundle_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bundle Key"+ },+ "checksum": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Checksum"+ },+ "file_size": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "File Size"+ },+ "task_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Task Id"+ },+ "step_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Step Id"+ },+ "workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Id"+ },+ "workflow_run_block_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Block Id"+ },+ "run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run Id"+ },+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id"+ },+ "observer_cruise_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Observer Cruise Id"+ },+ "observer_thought_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Observer Thought Id"+ },+ "ai_suggestion_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Ai Suggestion Id"+ },+ "signed_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Signed Url"+ },+ "archived": {+ "type": "boolean",+ "title": "Archived",+ "default": false+ },+ "organization_id": {+ "type": "string",+ "title": "Organization Id"+ }+ },+ "type": "object",+ "required": [+ "created_at",+ "modified_at",+ "artifact_id",+ "artifact_type",+ "uri",+ "organization_id"+ ],+ "title": "Artifact"+ },+ "ArtifactType": {+ "type": "string",+ "enum": [+ "recording",+ "browser_console_log",+ "skyvern_log",+ "skyvern_log_raw",+ "screenshot",+ "screenshot_llm",+ "screenshot_action",+ "screenshot_final",+ "llm_prompt",+ "llm_request",+ "llm_response",+ "llm_response_parsed",+ "llm_response_rendered",+ "visible_elements_id_css_map",+ "visible_elements_id_frame_map",+ "visible_elements_tree",+ "visible_elements_tree_trimmed",+ "visible_elements_tree_in_prompt",+ "hashed_href_map",+ "visible_elements_id_xpath_map",+ "html",+ "html_scrape",+ "html_action",+ "trace",+ "har",+ "script_file",+ "pdf",+ "step_archive",+ "task_archive",+ "download"+ ],+ "title": "ArtifactType"+ },+ "AzureSecretParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "azure_secret",+ "title": "Parameter Type",+ "default": "azure_secret"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "azure_secret_parameter_id": {+ "type": "string",+ "title": "Azure Secret Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "azure_key": {+ "type": "string",+ "title": "Azure Key"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "azure_secret_parameter_id",+ "workflow_id",+ "azure_key",+ "created_at",+ "modified_at"+ ],+ "title": "AzureSecretParameter"+ },+ "AzureVaultCredentialParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "azure_vault_credential",+ "title": "Parameter Type",+ "default": "azure_vault_credential"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "azure_vault_credential_parameter_id": {+ "type": "string",+ "title": "Azure Vault Credential Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "vault_name": {+ "type": "string",+ "title": "Vault Name"+ },+ "username_key": {+ "type": "string",+ "title": "Username Key"+ },+ "password_key": {+ "type": "string",+ "title": "Password Key"+ },+ "totp_secret_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Secret Key"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "azure_vault_credential_parameter_id",+ "workflow_id",+ "vault_name",+ "username_key",+ "password_key",+ "created_at",+ "modified_at"+ ],+ "title": "AzureVaultCredentialParameter"+ },+ "AzureVaultCredentialParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "azure_vault_credential",+ "title": "Parameter Type",+ "default": "azure_vault_credential"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "vault_name": {+ "type": "string",+ "title": "Vault Name"+ },+ "username_key": {+ "type": "string",+ "title": "Username Key"+ },+ "password_key": {+ "type": "string",+ "title": "Password Key"+ },+ "totp_secret_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Secret Key"+ }+ },+ "type": "object",+ "required": [+ "key",+ "vault_name",+ "username_key",+ "password_key"+ ],+ "title": "AzureVaultCredentialParameterYAML"+ },+ "BitwardenCreditCardDataParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "bitwarden_credit_card_data",+ "title": "Parameter Type",+ "default": "bitwarden_credit_card_data"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "bitwarden_credit_card_data_parameter_id": {+ "type": "string",+ "title": "Bitwarden Credit Card Data Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "bitwarden_client_id_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Id Aws Secret Key"+ },+ "bitwarden_client_secret_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Secret Aws Secret Key"+ },+ "bitwarden_master_password_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Master Password Aws Secret Key"+ },+ "bitwarden_collection_id": {+ "type": "string",+ "title": "Bitwarden Collection Id"+ },+ "bitwarden_item_id": {+ "type": "string",+ "title": "Bitwarden Item Id"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "bitwarden_credit_card_data_parameter_id",+ "workflow_id",+ "bitwarden_client_id_aws_secret_key",+ "bitwarden_client_secret_aws_secret_key",+ "bitwarden_master_password_aws_secret_key",+ "bitwarden_collection_id",+ "bitwarden_item_id",+ "created_at",+ "modified_at"+ ],+ "title": "BitwardenCreditCardDataParameter"+ },+ "BitwardenCreditCardDataParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "bitwarden_credit_card_data",+ "title": "Parameter Type",+ "default": "bitwarden_credit_card_data"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "bitwarden_client_id_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Id Aws Secret Key"+ },+ "bitwarden_client_secret_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Secret Aws Secret Key"+ },+ "bitwarden_master_password_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Master Password Aws Secret Key"+ },+ "bitwarden_collection_id": {+ "type": "string",+ "title": "Bitwarden Collection Id"+ },+ "bitwarden_item_id": {+ "type": "string",+ "title": "Bitwarden Item Id"+ }+ },+ "type": "object",+ "required": [+ "key",+ "bitwarden_client_id_aws_secret_key",+ "bitwarden_client_secret_aws_secret_key",+ "bitwarden_master_password_aws_secret_key",+ "bitwarden_collection_id",+ "bitwarden_item_id"+ ],+ "title": "BitwardenCreditCardDataParameterYAML"+ },+ "BitwardenLoginCredentialParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "bitwarden_login_credential",+ "title": "Parameter Type",+ "default": "bitwarden_login_credential"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "bitwarden_login_credential_parameter_id": {+ "type": "string",+ "title": "Bitwarden Login Credential Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "bitwarden_client_id_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Id Aws Secret Key"+ },+ "bitwarden_client_secret_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Secret Aws Secret Key"+ },+ "bitwarden_master_password_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Master Password Aws Secret Key"+ },+ "url_parameter_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url Parameter Key"+ },+ "bitwarden_collection_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bitwarden Collection Id"+ },+ "bitwarden_item_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bitwarden Item Id"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "bitwarden_login_credential_parameter_id",+ "workflow_id",+ "bitwarden_client_id_aws_secret_key",+ "bitwarden_client_secret_aws_secret_key",+ "bitwarden_master_password_aws_secret_key",+ "created_at",+ "modified_at"+ ],+ "title": "BitwardenLoginCredentialParameter"+ },+ "BitwardenLoginCredentialParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "bitwarden_login_credential",+ "title": "Parameter Type",+ "default": "bitwarden_login_credential"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "bitwarden_client_id_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Id Aws Secret Key"+ },+ "bitwarden_client_secret_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Secret Aws Secret Key"+ },+ "bitwarden_master_password_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Master Password Aws Secret Key"+ },+ "url_parameter_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url Parameter Key"+ },+ "bitwarden_collection_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bitwarden Collection Id"+ },+ "bitwarden_item_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bitwarden Item Id"+ }+ },+ "type": "object",+ "required": [+ "key",+ "bitwarden_client_id_aws_secret_key",+ "bitwarden_client_secret_aws_secret_key",+ "bitwarden_master_password_aws_secret_key"+ ],+ "title": "BitwardenLoginCredentialParameterYAML"+ },+ "BitwardenSensitiveInformationParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "bitwarden_sensitive_information",+ "title": "Parameter Type",+ "default": "bitwarden_sensitive_information"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "bitwarden_sensitive_information_parameter_id": {+ "type": "string",+ "title": "Bitwarden Sensitive Information Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "bitwarden_client_id_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Id Aws Secret Key"+ },+ "bitwarden_client_secret_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Secret Aws Secret Key"+ },+ "bitwarden_master_password_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Master Password Aws Secret Key"+ },+ "bitwarden_collection_id": {+ "type": "string",+ "title": "Bitwarden Collection Id"+ },+ "bitwarden_identity_key": {+ "type": "string",+ "title": "Bitwarden Identity Key"+ },+ "bitwarden_identity_fields": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Bitwarden Identity Fields"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "bitwarden_sensitive_information_parameter_id",+ "workflow_id",+ "bitwarden_client_id_aws_secret_key",+ "bitwarden_client_secret_aws_secret_key",+ "bitwarden_master_password_aws_secret_key",+ "bitwarden_collection_id",+ "bitwarden_identity_key",+ "bitwarden_identity_fields",+ "created_at",+ "modified_at"+ ],+ "title": "BitwardenSensitiveInformationParameter"+ },+ "BitwardenSensitiveInformationParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "bitwarden_sensitive_information",+ "title": "Parameter Type",+ "default": "bitwarden_sensitive_information"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "bitwarden_client_id_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Id Aws Secret Key"+ },+ "bitwarden_client_secret_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Client Secret Aws Secret Key"+ },+ "bitwarden_master_password_aws_secret_key": {+ "type": "string",+ "title": "Bitwarden Master Password Aws Secret Key"+ },+ "bitwarden_collection_id": {+ "type": "string",+ "title": "Bitwarden Collection Id"+ },+ "bitwarden_identity_key": {+ "type": "string",+ "title": "Bitwarden Identity Key"+ },+ "bitwarden_identity_fields": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Bitwarden Identity Fields"+ }+ },+ "type": "object",+ "required": [+ "key",+ "bitwarden_client_id_aws_secret_key",+ "bitwarden_client_secret_aws_secret_key",+ "bitwarden_master_password_aws_secret_key",+ "bitwarden_collection_id",+ "bitwarden_identity_key",+ "bitwarden_identity_fields"+ ],+ "title": "BitwardenSensitiveInformationParameterYAML"+ },+ "BlockType": {+ "type": "string",+ "enum": [+ "task",+ "task_v2",+ "for_loop",+ "while_loop",+ "conditional",+ "code",+ "text_prompt",+ "download_to_s3",+ "upload_to_s3",+ "file_upload",+ "send_email",+ "file_url_parser",+ "validation",+ "action",+ "navigation",+ "extraction",+ "login",+ "wait",+ "file_download",+ "goto_url",+ "pdf_parser",+ "http_request",+ "human_interaction",+ "print_page",+ "workflow_trigger",+ "google_sheets_read",+ "google_sheets_write"+ ],+ "title": "BlockType"+ },+ "Body_upload_file_v1_upload_file_post": {+ "properties": {+ "file": {+ "type": "string",+ "contentMediaType": "application/octet-stream",+ "title": "File"+ }+ },+ "type": "object",+ "required": [+ "file"+ ],+ "title": "Body_upload_file_v1_upload_file_post"+ },+ "BranchCondition": {+ "properties": {+ "id": {+ "type": "string",+ "title": "Id"+ },+ "criteria": {+ "anyOf": [+ {+ "oneOf": [+ {+ "$ref": "#/components/schemas/JinjaBranchCriteria"+ },+ {+ "$ref": "#/components/schemas/PromptBranchCriteria"+ }+ ],+ "discriminator": {+ "propertyName": "criteria_type",+ "mapping": {+ "jinja2_template": "#/components/schemas/JinjaBranchCriteria",+ "prompt": "#/components/schemas/PromptBranchCriteria"+ }+ }+ },+ {+ "type": "null"+ }+ ],+ "title": "Criteria"+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "is_default": {+ "type": "boolean",+ "title": "Is Default",+ "default": false+ }+ },+ "type": "object",+ "title": "BranchCondition",+ "description": "Represents a single conditional branch edge within a ConditionalBlock."+ },+ "BranchConditionYAML": {+ "properties": {+ "criteria": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/BranchCriteriaYAML"+ },+ {+ "type": "null"+ }+ ]+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "is_default": {+ "type": "boolean",+ "title": "Is Default",+ "default": false+ }+ },+ "type": "object",+ "title": "BranchConditionYAML"+ },+ "BranchCriteriaYAML": {+ "properties": {+ "criteria_type": {+ "type": "string",+ "enum": [+ "jinja2_template",+ "prompt"+ ],+ "title": "Criteria Type",+ "default": "jinja2_template"+ },+ "expression": {+ "type": "string",+ "title": "Expression"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ }+ },+ "type": "object",+ "required": [+ "expression"+ ],+ "title": "BranchCriteriaYAML"+ },+ "BrowserProfile": {+ "properties": {+ "browser_profile_id": {+ "type": "string",+ "title": "Browser Profile Id"+ },+ "organization_id": {+ "type": "string",+ "title": "Organization Id"+ },+ "name": {+ "type": "string",+ "title": "Name"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "source_browser_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source Browser Type"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "browser_profile_id",+ "organization_id",+ "name",+ "created_at",+ "modified_at"+ ],+ "title": "BrowserProfile"+ },+ "BrowserSessionResponse": {+ "properties": {+ "browser_session_id": {+ "type": "string",+ "title": "Browser Session Id",+ "description": "Unique identifier for the browser session. browser_session_id starts with `pbs_`.",+ "examples": [+ "pbs_123456"+ ]+ },+ "organization_id": {+ "type": "string",+ "title": "Organization Id",+ "description": "ID of the organization that owns this session"+ },+ "status": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Status",+ "description": "Current status of the browser session",+ "examples": [+ "created",+ "running",+ "completed",+ "failed",+ "timeout"+ ]+ },+ "runnable_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Runnable Type",+ "description": "Type of the current runnable associated with this session (workflow, task etc)",+ "examples": [+ "task",+ "workflow_run"+ ]+ },+ "runnable_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Runnable Id",+ "description": "ID of the current runnable",+ "examples": [+ "tsk_123456",+ "wr_123456"+ ]+ },+ "timeout": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Timeout",+ "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Defaults to 60 minutes.",+ "examples": [+ 60,+ 120+ ]+ },+ "browser_address": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Address",+ "description": "Url for connecting to the browser",+ "examples": [+ "http://localhost:9222",+ "https://3.12.10.11/browser/123456"+ ]+ },+ "app_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "App Url",+ "description": "Url for the browser session page",+ "examples": [+ "https://app.skyvern.com/browser-session/pbs_123456"+ ]+ },+ "extensions": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/Extensions"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extensions",+ "description": "A list of extensions installed in the browser session."+ },+ "browser_type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/PersistentBrowserType"+ },+ {+ "type": "null"+ }+ ],+ "description": "The type of browser used for the session."+ },+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of the browser profile loaded into this session, if any. browser_profile_id starts with `bp_`."+ },+ "vnc_streaming_supported": {+ "type": "boolean",+ "title": "Vnc Streaming Supported",+ "description": "Whether the browser session supports VNC streaming",+ "default": false+ },+ "download_path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Path",+ "description": "The path where the browser session downloads files"+ },+ "downloaded_files": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/FileInfo"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Downloaded Files",+ "description": "The list of files downloaded by the browser session"+ },+ "recordings": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/FileInfo"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Recordings",+ "description": "The list of video recordings from the browser session"+ },+ "started_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Started At",+ "description": "Timestamp when the session was started"+ },+ "completed_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Completed At",+ "description": "Timestamp when the session was completed"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At",+ "description": "Timestamp when the session was created (the timestamp for the initial request)"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At",+ "description": "Timestamp when the session was last modified"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At",+ "description": "Timestamp when the session was deleted, if applicable"+ }+ },+ "type": "object",+ "required": [+ "browser_session_id",+ "organization_id",+ "created_at",+ "modified_at"+ ],+ "title": "BrowserSessionResponse",+ "description": "Response model for browser session information."+ },+ "BulkCancelRunsRequest": {+ "properties": {+ "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",+ "title": "Intention",+ "description": "The intention or goal of the click",+ "default": ""+ },+ "data": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data",+ "description": "Additional context data"+ },+ "timeout": {+ "type": "number",+ "title": "Timeout",+ "description": "Timeout in milliseconds",+ "default": 5000+ }+ },+ "type": "object",+ "title": "ClickAction",+ "description": "Click action parameters."+ },+ "ClickContext": {+ "properties": {+ "thought": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Thought"+ },+ "single_option_click": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Single Option Click"+ }+ },+ "type": "object",+ "title": "ClickContext"+ },+ "CodeBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "code",+ "title": "Block Type",+ "default": "code"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "code": {+ "type": "string",+ "title": "Code"+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "code"+ ],+ "title": "CodeBlock"+ },+ "CodeBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "code",+ "title": "Block Type",+ "default": "code"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "code": {+ "type": "string",+ "title": "Code"+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ }+ },+ "type": "object",+ "required": [+ "label",+ "code"+ ],+ "title": "CodeBlockYAML"+ },+ "ConditionalBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "conditional",+ "title": "Block Type",+ "default": "conditional"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "branch_conditions": {+ "items": {+ "$ref": "#/components/schemas/BranchCondition"+ },+ "type": "array",+ "title": "Branch Conditions"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter"+ ],+ "title": "ConditionalBlock",+ "description": "Branching block that selects the next block label based on list-ordered conditions."+ },+ "ConditionalBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "conditional",+ "title": "Block Type",+ "default": "conditional"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "branch_conditions": {+ "items": {+ "$ref": "#/components/schemas/BranchConditionYAML"+ },+ "type": "array",+ "title": "Branch Conditions"+ }+ },+ "type": "object",+ "required": [+ "label"+ ],+ "title": "ConditionalBlockYAML"+ },+ "ContextParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "context",+ "title": "Parameter Type",+ "default": "context"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "source": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "title": "Source"+ },+ "value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Value"+ }+ },+ "type": "object",+ "required": [+ "key",+ "source"+ ],+ "title": "ContextParameter"+ },+ "ContextParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "context",+ "title": "Parameter Type",+ "default": "context"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "source_parameter_key": {+ "type": "string",+ "title": "Source Parameter Key"+ }+ },+ "type": "object",+ "required": [+ "key",+ "source_parameter_key"+ ],+ "title": "ContextParameterYAML"+ },+ "CreateBrowserProfileRequest": {+ "properties": {+ "name": {+ "type": "string",+ "minLength": 1,+ "title": "Name",+ "description": "Name for the browser profile"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Optional profile description"+ },+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "Persistent browser session to convert into a profile"+ },+ "workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Id",+ "description": "Workflow run whose persisted session should be captured"+ }+ },+ "type": "object",+ "required": [+ "name"+ ],+ "title": "CreateBrowserProfileRequest"+ },+ "CreateBrowserSessionRequest": {+ "properties": {+ "timeout": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 1440.0,+ "minimum": 5.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Timeout",+ "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 1440. Defaults to 60.",+ "default": 60+ },+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "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\"}, or a custom proxy URL dict for self-hosted deployments: {\"url\": \"http://user:[email protected]:8080\"}"+ },+ "extensions": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/Extensions"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extensions",+ "description": "A list of extensions to install in the browser session."+ },+ "browser_type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/PersistentBrowserType"+ },+ {+ "type": "null"+ }+ ],+ "description": "The type of browser to use for the session."+ },+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string",+ "pattern": "^bp_"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of a browser profile to load into this session (restores cookies, localStorage, etc.). browser_profile_id starts with `bp_`."+ }+ },+ "type": "object",+ "title": "CreateBrowserSessionRequest"+ },+ "CreateCredentialRequest": {+ "properties": {+ "name": {+ "type": "string",+ "title": "Name",+ "description": "Name of the credential",+ "examples": [+ "Amazon Login"+ ]+ },+ "credential_type": {+ "$ref": "#/components/schemas/skyvern__forge__sdk__schemas__credentials__CredentialType",+ "description": "Type of credential to create"+ },+ "credential": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/NonEmptyPasswordCredential"+ },+ {+ "$ref": "#/components/schemas/NonEmptyCreditCardCredential"+ },+ {+ "$ref": "#/components/schemas/SecretCredential"+ }+ ],+ "title": "Credential",+ "description": "The credential data to store",+ "examples": [+ {+ "password": "securepassword123",+ "username": "[email protected]"+ }+ ]+ },+ "vault_type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/CredentialVaultType"+ },+ {+ "type": "null"+ }+ ],+ "description": "Which vault to store this credential in. If omitted, uses the instance default. Use this to mix Skyvern-hosted and custom credentials within the same organization.",+ "examples": [+ "custom",+ "azure_vault",+ "bitwarden"+ ]+ }+ },+ "type": "object",+ "required": [+ "name",+ "credential_type",+ "credential"+ ],+ "title": "CreateCredentialRequest",+ "description": "Request model for creating a new credential."+ },+ "CreateScriptRequest": {+ "properties": {+ "workflow_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Id",+ "description": "Associated workflow ID"+ },+ "run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run Id",+ "description": "Associated run ID"+ },+ "files": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/ScriptFileCreate"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Files",+ "description": "Array of files to include in the script",+ "examples": [+ {+ "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",+ "encoding": "base64",+ "mime_type": "text/x-python",+ "path": "main.py"+ },+ {+ "content": "cmVxdWVzdHM9PTIuMjguMQ==",+ "encoding": "base64",+ "mime_type": "text/plain",+ "path": "requirements.txt"+ }+ ]+ }+ },+ "type": "object",+ "title": "CreateScriptRequest"+ },+ "CreateScriptResponse": {+ "properties": {+ "script_id": {+ "type": "string",+ "title": "Script Id",+ "description": "Unique script identifier",+ "examples": [+ "s_abc123"+ ]+ },+ "version": {+ "type": "integer",+ "title": "Version",+ "description": "Script version number",+ "examples": [+ 1+ ]+ },+ "run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run Id",+ "description": "ID of the workflow run or task run that generated this script"+ },+ "file_count": {+ "type": "integer",+ "title": "File Count",+ "description": "Total number of files in the script"+ },+ "file_tree": {+ "additionalProperties": {+ "$ref": "#/components/schemas/FileNode"+ },+ "type": "object",+ "title": "File Tree",+ "description": "Hierarchical file tree structure"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At",+ "description": "Timestamp when the script was created"+ }+ },+ "type": "object",+ "required": [+ "script_id",+ "version",+ "file_count",+ "file_tree",+ "created_at"+ ],+ "title": "CreateScriptResponse"+ },+ "CredentialParameter": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "credential",+ "title": "Parameter Type",+ "default": "credential"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "credential_parameter_id": {+ "type": "string",+ "title": "Credential Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "credential_id": {+ "type": "string",+ "title": "Credential Id"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "key",+ "credential_parameter_id",+ "workflow_id",+ "credential_id",+ "created_at",+ "modified_at"+ ],+ "title": "CredentialParameter"+ },+ "CredentialParameterYAML": {+ "properties": {+ "parameter_type": {+ "type": "string",+ "const": "credential",+ "title": "Parameter Type",+ "default": "credential"+ },+ "key": {+ "type": "string",+ "title": "Key"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "credential_id": {+ "type": "string",+ "title": "Credential Id"+ }+ },+ "type": "object",+ "required": [+ "key",+ "credential_id"+ ],+ "title": "CredentialParameterYAML"+ },+ "CredentialResponse": {+ "properties": {+ "credential_id": {+ "type": "string",+ "title": "Credential Id",+ "description": "Unique identifier for the credential",+ "examples": [+ "cred_1234567890"+ ]+ },+ "credential": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/PasswordCredentialResponse"+ },+ {+ "$ref": "#/components/schemas/CreditCardCredentialResponse"+ },+ {+ "$ref": "#/components/schemas/SecretCredentialResponse"+ }+ ],+ "title": "Credential",+ "description": "The credential data"+ },+ "credential_type": {+ "$ref": "#/components/schemas/CredentialType-Output",+ "description": "Type of the credential"+ },+ "name": {+ "type": "string",+ "title": "Name",+ "description": "Name of the credential",+ "examples": [+ "Amazon Login"+ ]+ },+ "vault_type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/CredentialVaultType"+ },+ {+ "type": "null"+ }+ ],+ "description": "Which vault stores this credential (e.g., 'bitwarden', 'azure_vault', 'custom')"+ },+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "Browser profile ID linked to this credential"+ },+ "tested_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Tested Url",+ "description": "Login page URL used during the credential test"+ },+ "user_context": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "User Context",+ "description": "User-provided context describing the login sequence (e.g., 'click SSO button first')"+ },+ "save_browser_session_intent": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Save Browser Session Intent",+ "description": "Whether the user intends to save a browser session, regardless of test outcome"+ },+ "folder_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Folder Id",+ "description": "ID of the credential folder this credential belongs to, if any",+ "examples": [+ "cfld_1234567890"+ ]+ }+ },+ "type": "object",+ "required": [+ "credential_id",+ "credential",+ "credential_type",+ "name"+ ],+ "title": "CredentialResponse",+ "description": "Response model for credential operations."+ },+ "CredentialType-Output": {+ "type": "string",+ "enum": [+ "password",+ "credit_card",+ "secret"+ ],+ "title": "CredentialType",+ "description": "Type of credential stored in the system."+ },+ "CredentialVaultType": {+ "type": "string",+ "enum": [+ "bitwarden",+ "azure_vault",+ "custom"+ ],+ "title": "CredentialVaultType"+ },+ "CreditCardCredentialResponse": {+ "properties": {+ "last_four": {+ "type": "string",+ "title": "Last Four",+ "description": "Last four digits of the credit card number",+ "examples": [+ "1234"+ ]+ },+ "brand": {+ "type": "string",+ "title": "Brand",+ "description": "Brand of the credit card",+ "examples": [+ "visa"+ ]+ }+ },+ "type": "object",+ "required": [+ "last_four",+ "brand"+ ],+ "title": "CreditCardCredentialResponse",+ "description": "Response model for credit card credentials — non-sensitive fields only.\n\nSECURITY: Must NEVER include full card number, CVV, expiration date, or card holder name."+ },+ "DeleteScheduleResponse": {+ "properties": {+ "ok": {+ "type": "boolean",+ "title": "Ok"+ }+ },+ "type": "object",+ "required": [+ "ok"+ ],+ "title": "DeleteScheduleResponse"+ },+ "DeployScriptRequest": {+ "properties": {+ "files": {+ "items": {+ "$ref": "#/components/schemas/ScriptFileCreate"+ },+ "type": "array",+ "title": "Files",+ "description": "Array of files to include in the script",+ "examples": [+ {+ "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",+ "encoding": "base64",+ "mime_type": "text/x-python",+ "path": "src/main.py"+ }+ ]+ }+ },+ "type": "object",+ "required": [+ "files"+ ],+ "title": "DeployScriptRequest",+ "description": "Request model for deploying a script with updated files."+ },+ "DownloadFilesRequest": {+ "properties": {+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url",+ "description": "Website URL"+ },+ "webhook_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Webhook Url",+ "description": "Webhook URL to send status updates"+ },+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "type": "null"+ }+ ],+ "description": "Proxy location to use"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier",+ "description": "Identifier for TOTP (Time-based One-Time Password) if required"+ },+ "totp_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Url",+ "description": "TOTP URL to fetch one-time passwords"+ },+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "ID of the browser session to use, which is prefixed by `pbs_` e.g. `pbs_123456`",+ "examples": [+ "pbs_123456"+ ]+ },+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of a browser profile to reuse for this run"+ },+ "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"+ ]+ },+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "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": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Screenshot Scrolling Times",+ "description": "Maximum number of times to scroll for screenshots"+ },+ "navigation_goal": {+ "type": "string",+ "title": "Navigation Goal",+ "description": "Instructions for navigating to and downloading the file"+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix",+ "description": "Suffix or complete filename for the downloaded file"+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout",+ "description": "Timeout in seconds for the download operation"+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run",+ "description": "Maximum number of steps to execute"+ }+ },+ "type": "object",+ "required": [+ "navigation_goal"+ ],+ "title": "DownloadFilesRequest"+ },+ "DownloadToS3Block": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "download_to_s3",+ "title": "Block Type",+ "default": "download_to_s3"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "url": {+ "type": "string",+ "title": "Url"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "url"+ ],+ "title": "DownloadToS3Block"+ },+ "DownloadToS3BlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "download_to_s3",+ "title": "Block Type",+ "default": "download_to_s3"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "url": {+ "type": "string",+ "title": "Url"+ }+ },+ "type": "object",+ "required": [+ "label",+ "url"+ ],+ "title": "DownloadToS3BlockYAML"+ },+ "Extensions": {+ "type": "string",+ "enum": [+ "ad-blocker",+ "captcha-solver"+ ],+ "title": "Extensions"+ },+ "ExtractAction": {+ "properties": {+ "type": {+ "type": "string",+ "const": "extract",+ "title": "Type",+ "default": "extract"+ },+ "prompt": {+ "type": "string",+ "title": "Prompt",+ "description": "Extraction prompt",+ "default": ""+ },+ "extract_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extract Schema",+ "description": "Schema for extraction"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping",+ "description": "Error code mapping for extraction"+ },+ "intention": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Intention",+ "description": "The intention or goal of the extraction"+ },+ "data": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data",+ "description": "Additional context data"+ }+ },+ "type": "object",+ "title": "ExtractAction",+ "description": "Extract data action parameters."+ },+ "ExtractionBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "extraction",+ "title": "Block Type",+ "default": "extraction"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "task_type": {+ "type": "string",+ "title": "Task Type",+ "default": "general"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "type": "string",+ "title": "Data Extraction Goal"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"+ },+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": false+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "data_extraction_goal"+ ],+ "title": "ExtractionBlock"+ },+ "ExtractionBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "extraction",+ "title": "Block Type",+ "default": "extraction"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "data_extraction_goal": {+ "type": "string",+ "title": "Data Extraction Goal"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ }+ },+ "type": "object",+ "required": [+ "label",+ "data_extraction_goal"+ ],+ "title": "ExtractionBlockYAML"+ },+ "FileDownloadBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "file_download",+ "title": "Block Type",+ "default": "file_download"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "task_type": {+ "type": "string",+ "title": "Task Type",+ "default": "general"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"+ },+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter"+ ],+ "title": "FileDownloadBlock"+ },+ "FileDownloadBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "file_download",+ "title": "Block Type",+ "default": "file_download"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "navigation_goal": {+ "type": "string",+ "title": "Navigation Goal"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"+ }+ },+ "type": "object",+ "required": [+ "label",+ "navigation_goal"+ ],+ "title": "FileDownloadBlockYAML"+ },+ "FileEncoding": {+ "type": "string",+ "enum": [+ "base64",+ "utf-8"+ ],+ "title": "FileEncoding",+ "description": "Supported file content encodings."+ },+ "FileInfo": {+ "properties": {+ "url": {+ "type": "string",+ "title": "Url",+ "description": "URL to access the file"+ },+ "checksum": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Checksum",+ "description": "SHA-256 checksum of the file"+ },+ "filename": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Filename",+ "description": "Original filename"+ },+ "file_size": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "File Size",+ "description": "Size of the file in bytes"+ },+ "modified_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Modified At",+ "description": "Modified time of the file"+ },+ "artifact_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Artifact Id",+ "description": "Artifact row id for refresh-on-read"+ }+ },+ "type": "object",+ "required": [+ "url"+ ],+ "title": "FileInfo",+ "description": "Information about a downloaded file, including URL and checksum."+ },+ "FileNode": {+ "properties": {+ "type": {+ "type": "string",+ "title": "Type",+ "description": "Type of node: 'file' or 'directory'"+ },+ "size": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Size",+ "description": "File size in bytes"+ },+ "mime_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mime Type",+ "description": "MIME type of the file"+ },+ "content_hash": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Content Hash",+ "description": "SHA256 hash of file content"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At",+ "description": "Timestamp when the file was created"+ },+ "children": {+ "anyOf": [+ {+ "additionalProperties": {+ "$ref": "#/components/schemas/FileNode"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Children",+ "description": "Child nodes for directories"+ }+ },+ "type": "object",+ "required": [+ "type",+ "created_at"+ ],+ "title": "FileNode",+ "description": "Model representing a file or directory in the file tree."+ },+ "FileParserBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "file_url_parser",+ "title": "Block Type",+ "default": "file_url_parser"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "file_url": {+ "type": "string",+ "title": "File Url"+ },+ "file_type": {+ "$ref": "#/components/schemas/FileType",+ "default": "auto_detect"+ },+ "json_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Json Schema"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "file_url"+ ],+ "title": "FileParserBlock"+ },+ "FileParserBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "file_url_parser",+ "title": "Block Type",+ "default": "file_url_parser"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "file_url": {+ "type": "string",+ "title": "File Url"+ },+ "file_type": {+ "$ref": "#/components/schemas/FileType",+ "default": "auto_detect"+ },+ "json_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Json Schema"+ }+ },+ "type": "object",+ "required": [+ "label",+ "file_url"+ ],+ "title": "FileParserBlockYAML"+ },+ "FileStorageType": {+ "type": "string",+ "enum": [+ "s3",+ "azure"+ ],+ "title": "FileStorageType"+ },+ "FileType": {+ "type": "string",+ "enum": [+ "auto_detect",+ "csv",+ "excel",+ "pdf",+ "image",+ "docx"+ ],+ "title": "FileType"+ },+ "FileUploadBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "file_upload",+ "title": "Block Type",+ "default": "file_upload"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "storage_type": {+ "$ref": "#/components/schemas/FileStorageType",+ "default": "s3"+ },+ "s3_bucket": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "S3 Bucket"+ },+ "aws_access_key_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Access Key Id"+ },+ "aws_secret_access_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Secret Access Key"+ },+ "region_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Region Name"+ },+ "azure_storage_account_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Storage Account Name"+ },+ "azure_storage_account_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Storage Account Key"+ },+ "azure_blob_container_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Blob Container Name"+ },+ "path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Path"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter"+ ],+ "title": "FileUploadBlock"+ },+ "FileUploadBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "file_upload",+ "title": "Block Type",+ "default": "file_upload"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "storage_type": {+ "$ref": "#/components/schemas/FileStorageType",+ "default": "s3"+ },+ "s3_bucket": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "S3 Bucket"+ },+ "aws_access_key_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Access Key Id"+ },+ "aws_secret_access_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Aws Secret Access Key"+ },+ "region_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Region Name"+ },+ "azure_storage_account_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Storage Account Name"+ },+ "azure_storage_account_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Storage Account Key"+ },+ "azure_blob_container_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Blob Container Name"+ },+ "azure_folder_path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Folder Path"+ },+ "path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Path"+ }+ },+ "type": "object",+ "required": [+ "label"+ ],+ "title": "FileUploadBlockYAML"+ },+ "Folder": {+ "properties": {+ "title": {+ "type": "string",+ "maxLength": 255,+ "minLength": 1,+ "title": "Title",+ "description": "Folder title"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Folder description"+ },+ "folder_id": {+ "type": "string",+ "title": "Folder Id"+ },+ "organization_id": {+ "type": "string",+ "title": "Organization Id"+ },+ "workflow_count": {+ "type": "integer",+ "title": "Workflow Count",+ "description": "Number of workflows in this folder",+ "default": 0+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ }+ },+ "type": "object",+ "required": [+ "title",+ "folder_id",+ "organization_id",+ "created_at",+ "modified_at"+ ],+ "title": "Folder",+ "description": "Response model for a folder"+ },+ "FolderCreate": {+ "properties": {+ "title": {+ "type": "string",+ "maxLength": 255,+ "minLength": 1,+ "title": "Title",+ "description": "Folder title"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Folder description"+ }+ },+ "type": "object",+ "required": [+ "title"+ ],+ "title": "FolderCreate",+ "description": "Request model for creating a folder"+ },+ "FolderUpdate": {+ "properties": {+ "title": {+ "anyOf": [+ {+ "type": "string",+ "maxLength": 255,+ "minLength": 1+ },+ {+ "type": "null"+ }+ ],+ "title": "Title",+ "description": "Folder title"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Folder description"+ }+ },+ "type": "object",+ "title": "FolderUpdate",+ "description": "Request model for updating a folder"+ },+ "ForLoopBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "for_loop",+ "title": "Block Type",+ "default": "for_loop"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "loop_blocks": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/ConditionalBlock"+ },+ {+ "$ref": "#/components/schemas/ForLoopBlock"+ },+ {+ "$ref": "#/components/schemas/WhileLoopBlock"+ },+ {+ "$ref": "#/components/schemas/TaskBlock"+ },+ {+ "$ref": "#/components/schemas/CodeBlock"+ },+ {+ "$ref": "#/components/schemas/TextPromptBlock"+ },+ {+ "$ref": "#/components/schemas/DownloadToS3Block"+ },+ {+ "$ref": "#/components/schemas/UploadToS3Block"+ },+ {+ "$ref": "#/components/schemas/SendEmailBlock"+ },+ {+ "$ref": "#/components/schemas/FileParserBlock"+ },+ {+ "$ref": "#/components/schemas/PDFParserBlock"+ },+ {+ "$ref": "#/components/schemas/ValidationBlock"+ },+ {+ "$ref": "#/components/schemas/ActionBlock"+ },+ {+ "$ref": "#/components/schemas/NavigationBlock"+ },+ {+ "$ref": "#/components/schemas/ExtractionBlock"+ },+ {+ "$ref": "#/components/schemas/LoginBlock"+ },+ {+ "$ref": "#/components/schemas/WaitBlock"+ },+ {+ "$ref": "#/components/schemas/HumanInteractionBlock"+ },+ {+ "$ref": "#/components/schemas/FileDownloadBlock"+ },+ {+ "$ref": "#/components/schemas/UrlBlock"+ },+ {+ "$ref": "#/components/schemas/TaskV2Block"+ },+ {+ "$ref": "#/components/schemas/FileUploadBlock"+ },+ {+ "$ref": "#/components/schemas/HttpRequestBlock"+ },+ {+ "$ref": "#/components/schemas/PrintPageBlock"+ },+ {+ "$ref": "#/components/schemas/WorkflowTriggerBlock"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsReadBlock"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsWriteBlock"+ }+ ],+ "discriminator": {+ "propertyName": "block_type",+ "mapping": {+ "action": "#/components/schemas/ActionBlock",+ "code": "#/components/schemas/CodeBlock",+ "conditional": "#/components/schemas/ConditionalBlock",+ "download_to_s3": "#/components/schemas/DownloadToS3Block",+ "extraction": "#/components/schemas/ExtractionBlock",+ "file_download": "#/components/schemas/FileDownloadBlock",+ "file_upload": "#/components/schemas/FileUploadBlock",+ "file_url_parser": "#/components/schemas/FileParserBlock",+ "for_loop": "#/components/schemas/ForLoopBlock",+ "google_sheets_read": "#/components/schemas/GoogleSheetsReadBlock",+ "google_sheets_write": "#/components/schemas/GoogleSheetsWriteBlock",+ "goto_url": "#/components/schemas/UrlBlock",+ "http_request": "#/components/schemas/HttpRequestBlock",+ "human_interaction": "#/components/schemas/HumanInteractionBlock",+ "login": "#/components/schemas/LoginBlock",+ "navigation": "#/components/schemas/NavigationBlock",+ "pdf_parser": "#/components/schemas/PDFParserBlock",+ "print_page": "#/components/schemas/PrintPageBlock",+ "send_email": "#/components/schemas/SendEmailBlock",+ "task": "#/components/schemas/TaskBlock",+ "task_v2": "#/components/schemas/TaskV2Block",+ "text_prompt": "#/components/schemas/TextPromptBlock",+ "upload_to_s3": "#/components/schemas/UploadToS3Block",+ "validation": "#/components/schemas/ValidationBlock",+ "wait": "#/components/schemas/WaitBlock",+ "while_loop": "#/components/schemas/WhileLoopBlock",+ "workflow_trigger": "#/components/schemas/WorkflowTriggerBlock"+ }+ }+ },+ "type": "array",+ "title": "Loop Blocks"+ },+ "loop_over": {+ "anyOf": [+ {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ {+ "type": "null"+ }+ ],+ "title": "Loop Over"+ },+ "loop_variable_reference": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Loop Variable Reference"+ },+ "complete_if_empty": {+ "type": "boolean",+ "title": "Complete If Empty",+ "default": false+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "loop_blocks"+ ],+ "title": "ForLoopBlock"+ },+ "ForLoopBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "for_loop",+ "title": "Block Type",+ "default": "for_loop"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "loop_blocks": {+ "items": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/TaskBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ForLoopBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WhileLoopBlockYAML"+ },+ {+ "$ref": "#/components/schemas/CodeBlockYAML"+ },+ {+ "$ref": "#/components/schemas/TextPromptBlockYAML"+ },+ {+ "$ref": "#/components/schemas/DownloadToS3BlockYAML"+ },+ {+ "$ref": "#/components/schemas/UploadToS3BlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileUploadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/SendEmailBlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileParserBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ValidationBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ActionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/NavigationBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ExtractionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/LoginBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WaitBlockYAML"+ },+ {+ "$ref": "#/components/schemas/HumanInteractionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileDownloadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/UrlBlockYAML"+ },+ {+ "$ref": "#/components/schemas/PDFParserBlockYAML"+ },+ {+ "$ref": "#/components/schemas/TaskV2BlockYAML"+ },+ {+ "$ref": "#/components/schemas/HttpRequestBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ConditionalBlockYAML"+ },+ {+ "$ref": "#/components/schemas/PrintPageBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WorkflowTriggerBlockYAML"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsReadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsWriteBlockYAML"+ }+ ]+ },+ "type": "array",+ "title": "Loop Blocks"+ },+ "loop_over_parameter_key": {+ "type": "string",+ "title": "Loop Over Parameter Key",+ "default": ""+ },+ "loop_variable_reference": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Loop Variable Reference"+ },+ "complete_if_empty": {+ "type": "boolean",+ "title": "Complete If Empty",+ "default": false+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ }+ },+ "type": "object",+ "required": [+ "label",+ "loop_blocks"+ ],+ "title": "ForLoopBlockYAML"+ },+ "GeoTarget": {+ "properties": {+ "country": {+ "type": "string",+ "maxLength": 2,+ "minLength": 2,+ "title": "Country",+ "description": "ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'DE')",+ "examples": [+ "US",+ "GB",+ "DE",+ "FR"+ ]+ },+ "subdivision": {+ "anyOf": [+ {+ "type": "string",+ "maxLength": 10+ },+ {+ "type": "null"+ }+ ],+ "title": "Subdivision",+ "description": "ISO 3166-2 subdivision code without country prefix (e.g., 'CA' for California, 'NY' for New York)",+ "examples": [+ "CA",+ "NY",+ "TX",+ "ENG"+ ]+ },+ "city": {+ "anyOf": [+ {+ "type": "string",+ "maxLength": 100+ },+ {+ "type": "null"+ }+ ],+ "title": "City",+ "description": "City name in English from GeoNames (e.g., 'New York', 'Los Angeles', 'London')",+ "examples": [+ "New York",+ "Los Angeles",+ "London",+ "Berlin"+ ]+ }+ },+ "type": "object",+ "required": [+ "country"+ ],+ "title": "GeoTarget",+ "description": "Granular proxy geo-targeting request with country, optional subdivision, and optional city."+ },+ "GoogleSheetsReadBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "google_sheets_read",+ "title": "Block Type",+ "default": "google_sheets_read"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "spreadsheet_url": {+ "type": "string",+ "title": "Spreadsheet Url"+ },+ "sheet_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Sheet Name"+ },+ "range": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Range"+ },+ "credential_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Credential Id"+ },+ "has_header_row": {+ "type": "boolean",+ "title": "Has Header Row",+ "default": true+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "spreadsheet_url"+ ],+ "title": "GoogleSheetsReadBlock"+ },+ "GoogleSheetsReadBlockYAML": {+ "properties": {+ "block_type": {+ "type": "string",+ "const": "google_sheets_read",+ "title": "Block Type",+ "default": "google_sheets_read"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"}],- "title": "Data",- "description": "Additional context data",- "nullable": true+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "spreadsheet_url": {+ "type": "string",+ "title": "Spreadsheet Url"+ },+ "sheet_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Sheet Name"+ },+ "range": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Range"+ },+ "credential_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Credential Id"+ },+ "has_header_row": {+ "type": "boolean",+ "title": "Has Header Row",+ "default": true+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"}},"type": "object",- "title": "ActAction",- "description": "AI act action parameters."+ "required": [+ "label",+ "spreadsheet_url"+ ],+ "title": "GoogleSheetsReadBlockYAML"+ },+ "GoogleSheetsWriteBlock": {+ "properties": {+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "google_sheets_write",+ "title": "Block Type",+ "default": "google_sheets_write"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "spreadsheet_url": {+ "type": "string",+ "title": "Spreadsheet Url"+ },+ "sheet_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Sheet Name"+ },+ "range": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Range"+ },+ "credential_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Credential Id"+ },+ "write_mode": {+ "type": "string",+ "enum": [+ "append",+ "update"+ ],+ "title": "Write Mode",+ "default": "append"+ },+ "values": {+ "type": "string",+ "title": "Values",+ "default": ""+ },+ "column_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Column Mapping"+ },+ "create_sheet_if_missing": {+ "type": "boolean",+ "title": "Create Sheet If Missing",+ "default": false+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "spreadsheet_url"+ ],+ "title": "GoogleSheetsWriteBlock"},- "Action": {+ "GoogleSheetsWriteBlockYAML": {"properties": {- "action_type": {- "$ref": "#/components/schemas/ActionType"- },- "status": {- "$ref": "#/components/schemas/ActionStatus",- "default": "pending"- },- "action_id": {+ "block_type": {"type": "string",- "nullable": true,- "title": "Action Id"+ "const": "google_sheets_write",+ "title": "Block Type",+ "default": "google_sheets_write"},- "source_action_id": {+ "label": {"type": "string",- "nullable": true,- "title": "Source Action Id"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "organization_id": {- "type": "string",- "nullable": true,- "title": "Organization Id"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "workflow_run_id": {- "type": "string",- "nullable": true,- "title": "Workflow Run Id"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "task_id": {- "type": "string",- "nullable": true,- "title": "Task Id"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "step_id": {+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "spreadsheet_url": {"type": "string",- "nullable": true,- "title": "Step Id"+ "title": "Spreadsheet Url"},- "step_order": {- "type": "integer",- "nullable": true,- "title": "Step Order"+ "sheet_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Sheet Name"},- "action_order": {- "type": "integer",- "nullable": true,- "title": "Action Order"+ "range": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Range"},- "confidence_float": {- "type": "number",- "nullable": true,- "title": "Confidence Float"+ "credential_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Credential Id"},- "description": {+ "write_mode": {"type": "string",- "nullable": true,- "title": "Description"+ "enum": [+ "append",+ "update"+ ],+ "title": "Write Mode",+ "default": "append"},- "reasoning": {+ "values": {"type": "string",- "nullable": true,- "title": "Reasoning"+ "title": "Values",+ "default": ""},- "intention": {+ "column_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Column Mapping"+ },+ "create_sheet_if_missing": {+ "type": "boolean",+ "title": "Create Sheet If Missing",+ "default": false+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ }+ },+ "type": "object",+ "required": [+ "label",+ "spreadsheet_url"+ ],+ "title": "GoogleSheetsWriteBlockYAML"+ },+ "HTTPValidationError": {+ "properties": {+ "detail": {+ "items": {+ "$ref": "#/components/schemas/ValidationError"+ },+ "type": "array",+ "title": "Detail"+ }+ },+ "type": "object",+ "title": "HTTPValidationError"+ },+ "HttpRequestBlock": {+ "properties": {+ "label": {"type": "string",- "nullable": true,- "title": "Intention"+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."},- "response": {+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {"type": "string",- "nullable": true,- "title": "Response"+ "const": "http_request",+ "title": "Block Type",+ "default": "http_request"},- "element_id": {+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "method": {"type": "string",- "nullable": true,- "title": "Element Id"+ "title": "Method",+ "default": "GET"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Headers"+ },+ "body": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Body"},- "skyvern_element_hash": {- "type": "string",- "nullable": true,- "title": "Skyvern Element Hash"+ "files": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Files"},- "skyvern_element_data": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Skyvern Element Data"+ "timeout": {+ "type": "integer",+ "title": "Timeout",+ "default": 30},- "screenshot_artifact_id": {- "type": "string",- "nullable": true,- "title": "Screenshot Artifact Id"+ "follow_redirects": {+ "type": "boolean",+ "title": "Follow Redirects",+ "default": true},- "tool_call_id": {- "type": "string",- "nullable": true,- "title": "Tool Call Id"+ "download_filename": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Filename"},- "xpath": {- "type": "string",- "nullable": true,- "title": "Xpath"+ "save_response_as_file": {+ "type": "boolean",+ "title": "Save Response As File",+ "default": false},- "errors": {+ "parameters": {"items": {- "$ref": "#/components/schemas/UserDefinedError"+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }},"type": "array",- "nullable": true,- "title": "Errors"- },- "data_extraction_goal": {+ "title": "Parameters",+ "default": []+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter"+ ],+ "title": "HttpRequestBlock"+ },+ "HttpRequestBlockYAML": {+ "properties": {+ "block_type": {"type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "const": "http_request",+ "title": "Block Type",+ "default": "http_request"},- "file_name": {+ "label": {"type": "string",- "nullable": true,- "title": "File Name"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "file_url": {- "type": "string",- "nullable": true,- "title": "File Url"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "download": {+ "continue_on_failure": {"type": "boolean",- "nullable": true,- "title": "Download"+ "title": "Continue On Failure",+ "default": false},- "download_triggered": {- "type": "boolean",- "nullable": true,- "title": "Download Triggered"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "downloaded_files": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Downloaded Files"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "is_upload_file_tag": {+ "next_loop_on_failure": {"type": "boolean",- "nullable": true,- "title": "Is Upload File Tag"+ "title": "Next Loop On Failure",+ "default": false},- "text": {+ "method": {"type": "string",- "nullable": true,- "title": "Text"- },- "input_or_select_context": {- "$ref": "#/components/schemas/InputOrSelectContext",- "nullable": true+ "title": "Method",+ "default": "GET"},- "option": {- "$ref": "#/components/schemas/SelectOption",- "nullable": true+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"},- "is_checked": {- "type": "boolean",- "nullable": true,- "title": "Is Checked"+ "headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Headers"},- "verified": {- "type": "boolean",- "title": "Verified",- "default": false+ "body": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Body"},- "click_context": {- "$ref": "#/components/schemas/ClickContext",- "nullable": true+ "files": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Files"},- "totp_timing_info": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Totp Timing Info"+ "timeout": {+ "type": "integer",+ "title": "Timeout",+ "default": 30},- "has_mini_agent": {+ "follow_redirects": {"type": "boolean",- "nullable": true,- "title": "Has Mini Agent"+ "title": "Follow Redirects",+ "default": true},- "created_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Created At"+ "download_filename": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Filename"},- "modified_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Modified At"+ "save_response_as_file": {+ "type": "boolean",+ "title": "Save Response As File",+ "default": false},- "created_by": {- "type": "string",- "nullable": true,- "title": "Created By"+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"}},"type": "object","required": [- "action_type"+ "label"],- "title": "Action"+ "title": "HttpRequestBlockYAML"},- "ActionBlock": {+ "HumanInteractionBlock": {"properties": {"label": {"type": "string",@@ -2871,18 +13356,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "action"- ],+ "const": "human_interaction","title": "Block Type",- "default": "action"+ "default": "human_interaction"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -2893,9 +13382,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -2903,6 +13398,11 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure",@@ -2914,8 +13414,14 @@"default": "general"},"url": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Url"},"title": {@@ -2928,23 +13434,47 @@"default": "skyvern-1.0"},"complete_criterion": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Complete Criterion"},"terminate_criterion": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Terminate Criterion"},"navigation_goal": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Navigation Goal"},"data_extraction_goal": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Data Extraction Goal"},"data_schema": {@@ -2959,17 +13489,25 @@},{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true+ "title": "Data Schema"},"error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Error Code Mapping"},"max_retries": {@@ -2978,8 +13516,14 @@"default": 0},"max_steps_per_run": {- "type": "integer",- "nullable": true,+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],"title": "Max Steps Per Run"},"parameters": {@@ -3022,143 +13566,23 @@"discriminator": {"propertyName": "parameter_type","mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }- }- },- "type": "array",- "title": "Parameters",- "default": []- },- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"- }- },- "type": "object",- "required": [- "label",- "output_parameter"- ],- "title": "ActionBlock"- },- "ActionBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "action"- ],- "title": "Block Type",- "default": "action"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"- },- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "parameter_keys": {- "items": {- "type": "string"+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }},"type": "array",- "nullable": true,- "title": "Parameter Keys"+ "title": "Parameters",+ "default": []},"complete_on_download": {"type": "boolean",@@ -3166,1384 +13590,1399 @@"default": false},"download_suffix": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Download Suffix"},"totp_verification_url": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Totp Verification Url"},"totp_identifier": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Totp Identifier"},- "disable_cache": {+ "complete_verification": {"type": "boolean",- "title": "Disable Cache",- "default": false- }- },- "type": "object",- "required": [- "label"- ],- "title": "ActionBlockYAML"- },- "ActionStatus": {- "type": "string",- "enum": [- "pending",- "skipped",- "failed",- "completed"- ],- "title": "ActionStatus"- },- "ActionType": {- "type": "string",- "enum": [- "click",- "input_text",- "upload_file",- "download_file",- "select_option",- "checkbox",- "wait",- "hover",- "null_action",- "solve_captcha",- "terminate",- "complete",- "reload_page",- "close_page",- "extract",- "verification_code",- "goto_url",- "scroll",- "keypress",- "move",- "drag",- "left_mouse"- ],- "title": "ActionType"- },- "Artifact": {- "properties": {- "created_at": {- "type": "string",- "title": "Created At",- "description": "The creation datetime of the task.",- "example": "2023-01-01T00:00:00Z"- },- "modified_at": {- "type": "string",- "title": "Modified At",- "description": "The modification datetime of the task.",- "example": "2023-01-01T00:00:00Z"- },- "artifact_id": {- "type": "string",- "title": "Artifact Id"- },- "artifact_type": {- "$ref": "#/components/schemas/ArtifactType"+ "title": "Complete Verification",+ "default": true},- "uri": {- "type": "string",- "title": "Uri"+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false},- "task_id": {- "type": "string",- "nullable": true,- "title": "Task Id"+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"},- "step_id": {- "type": "string",- "nullable": true,- "title": "Step Id"+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true},- "workflow_run_id": {+ "instructions": {"type": "string",- "nullable": true,- "title": "Workflow Run Id"+ "title": "Instructions",+ "default": "Please review and approve or reject to continue the workflow."},- "workflow_run_block_id": {+ "positive_descriptor": {"type": "string",- "nullable": true,- "title": "Workflow Run Block Id"+ "title": "Positive Descriptor",+ "default": "Approve"},- "run_id": {+ "negative_descriptor": {"type": "string",- "nullable": true,- "title": "Run Id"+ "title": "Negative Descriptor",+ "default": "Reject"},- "observer_cruise_id": {- "type": "string",- "nullable": true,- "title": "Observer Cruise Id"+ "timeout_seconds": {+ "type": "integer",+ "title": "Timeout Seconds",+ "default": 7200},- "observer_thought_id": {+ "sender": {"type": "string",- "nullable": true,- "title": "Observer Thought Id"+ "title": "Sender",+ "default": "[email protected]"},- "ai_suggestion_id": {- "type": "string",- "nullable": true,- "title": "Ai Suggestion Id"+ "recipients": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Recipients",+ "default": []},- "signed_url": {+ "subject": {"type": "string",- "nullable": true,- "title": "Signed Url"+ "title": "Subject",+ "default": "Human interaction required for workflow run"},- "organization_id": {+ "body": {"type": "string",- "title": "Organization Id"+ "title": "Body",+ "default": "Your interaction is required for a workflow run!"}},"type": "object","required": [- "created_at",- "modified_at",- "artifact_id",- "artifact_type",- "uri",- "organization_id"- ],- "title": "Artifact"- },- "ArtifactType": {- "type": "string",- "enum": [- "recording",- "browser_console_log",- "skyvern_log",- "skyvern_log_raw",- "screenshot",- "screenshot_llm",- "screenshot_action",- "screenshot_final",- "llm_prompt",- "llm_request",- "llm_response",- "llm_response_parsed",- "llm_response_rendered",- "visible_elements_id_css_map",- "visible_elements_id_frame_map",- "visible_elements_tree",- "visible_elements_tree_trimmed",- "visible_elements_tree_in_prompt",- "hashed_href_map",- "visible_elements_id_xpath_map",- "html",- "html_scrape",- "html_action",- "trace",- "har",- "script_file",- "pdf"+ "label",+ "output_parameter"],- "title": "ArtifactType"+ "title": "HumanInteractionBlock",+ "description": "A block for human/agent interaction.\n\nFor the first pass at this, the implicit behaviour is that the user is given a single binary\nchoice (a go//no-go).\n\nIf the human:\n - chooses positively, the workflow continues\n - chooses negatively, the workflow is terminated\n - does not respond within the timeout period, the workflow terminates"},- "AzureSecretParameter": {+ "HumanInteractionBlockYAML": {"properties": {- "parameter_type": {+ "block_type": {"type": "string",- "enum": [- "azure_secret"+ "const": "human_interaction",+ "title": "Block Type",+ "default": "human_interaction"+ },+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "azure_secret"+ "title": "Model"},- "key": {- "type": "string",- "title": "Key"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "azure_secret_parameter_id": {+ "instructions": {"type": "string",- "title": "Azure Secret Parameter Id"+ "title": "Instructions",+ "default": "Please review and approve or reject to continue the workflow."},- "workflow_id": {+ "positive_descriptor": {"type": "string",- "title": "Workflow Id"+ "title": "Positive Descriptor",+ "default": "Approve"},- "azure_key": {+ "negative_descriptor": {"type": "string",- "title": "Azure Key"+ "title": "Negative Descriptor",+ "default": "Reject"},- "created_at": {+ "timeout_seconds": {+ "type": "integer",+ "title": "Timeout Seconds"+ },+ "sender": {"type": "string",- "format": "date-time",- "title": "Created At"+ "title": "Sender"},- "modified_at": {+ "recipients": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Recipients"+ },+ "subject": {"type": "string",- "format": "date-time",- "title": "Modified At"+ "title": "Subject"},- "deleted_at": {+ "body": {"type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "title": "Body"}},"type": "object","required": [- "key",- "azure_secret_parameter_id",- "workflow_id",- "azure_key",- "created_at",- "modified_at"+ "label",+ "timeout_seconds",+ "sender",+ "recipients",+ "subject",+ "body"],- "title": "AzureSecretParameter"+ "title": "HumanInteractionBlockYAML"},- "AzureVaultCredentialParameter": {+ "InputOrSelectContext": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "azure_vault_credential"+ "intention": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "azure_vault_credential"+ "title": "Intention"},- "key": {- "type": "string",- "title": "Key"+ "field": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Field"},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "is_required": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Required"},- "azure_vault_credential_parameter_id": {- "type": "string",- "title": "Azure Vault Credential Parameter Id"+ "is_search_bar": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Search Bar"},- "workflow_id": {- "type": "string",- "title": "Workflow Id"+ "is_location_input": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Location Input"},- "vault_name": {- "type": "string",- "title": "Vault Name"+ "is_date_related": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Date Related"},- "username_key": {- "type": "string",- "title": "Username Key"+ "date_format": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Date Format"},- "password_key": {+ "is_text_captcha": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Is Text Captcha"+ }+ },+ "type": "object",+ "title": "InputOrSelectContext"+ },+ "InputTextAction": {+ "properties": {+ "type": {"type": "string",- "title": "Password Key"+ "const": "ai_input_text",+ "title": "Type",+ "default": "ai_input_text"},- "totp_secret_key": {- "type": "string",- "nullable": true,- "title": "Totp Secret Key"+ "selector": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Selector",+ "description": "CSS selector for the element",+ "default": ""},- "created_at": {+ "value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Value",+ "description": "Value to input",+ "default": ""+ },+ "intention": {"type": "string",- "format": "date-time",- "title": "Created At"+ "title": "Intention",+ "description": "The intention or goal of the input",+ "default": ""+ },+ "data": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data",+ "description": "Additional context data"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier",+ "description": "TOTP identifier for input_text actions"},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "totp_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Url",+ "description": "TOTP URL for input_text actions"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "timeout": {+ "type": "number",+ "title": "Timeout",+ "description": "Timeout in milliseconds",+ "default": 5000}},"type": "object",- "required": [- "key",- "azure_vault_credential_parameter_id",- "workflow_id",- "vault_name",- "username_key",- "password_key",- "created_at",- "modified_at"- ],- "title": "AzureVaultCredentialParameter"+ "title": "InputTextAction",+ "description": "Input text action parameters."},- "AzureVaultCredentialParameterYAML": {+ "JinjaBranchCriteria": {"properties": {- "parameter_type": {+ "criteria_type": {"type": "string",- "enum": [- "azure_vault_credential"- ],- "title": "Parameter Type",- "default": "azure_vault_credential"+ "const": "jinja2_template",+ "title": "Criteria Type",+ "default": "jinja2_template"},- "key": {+ "expression": {"type": "string",- "title": "Key"+ "title": "Expression"},"description": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Description"- },- "vault_name": {- "type": "string",- "title": "Vault Name"- },- "username_key": {- "type": "string",- "title": "Username Key"- },- "password_key": {- "type": "string",- "title": "Password Key"- },- "totp_secret_key": {- "type": "string",- "nullable": true,- "title": "Totp Secret Key"}},"type": "object","required": [- "key",- "vault_name",- "username_key",- "password_key"+ "expression"],- "title": "AzureVaultCredentialParameterYAML"+ "title": "JinjaBranchCriteria",+ "description": "Jinja2-templated branch criteria (only supported criteria type for now)."},- "BillingStateResponse": {+ "LocateElementAction": {"properties": {- "billing_id": {- "type": "string",- "title": "Billing Id"- },- "organization_id": {- "type": "string",- "title": "Organization Id"- },- "plan_tier": {- "$ref": "#/components/schemas/PlanTier"- },- "current_period_start": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Current Period Start"- },- "current_period_end": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Current Period End"- },- "included_credits_this_period": {- "type": "integer",- "title": "Included Credits This Period"- },- "credits_consumed_this_period": {- "type": "integer",- "title": "Credits Consumed This Period"- },- "cached_credits_consumed_this_period": {- "type": "integer",- "title": "Cached Credits Consumed This Period"- },- "overage_enabled": {- "type": "boolean",- "title": "Overage Enabled"- },- "browser_uptime_seconds_consumed": {- "type": "integer",- "title": "Browser Uptime Seconds Consumed"- },- "topup_credits_total": {- "type": "integer",- "title": "Topup Credits Total"- },- "topup_credits_used": {- "type": "integer",- "title": "Topup Credits Used"- },- "topup_credits_remaining": {- "type": "integer",- "title": "Topup Credits Remaining"- },- "credits_remaining": {- "type": "integer",- "title": "Credits Remaining"- },- "created_at": {+ "type": {"type": "string",- "format": "date-time",- "title": "Created At"+ "const": "locate_element",+ "title": "Type",+ "default": "locate_element"},- "modified_at": {+ "prompt": {"type": "string",- "format": "date-time",- "title": "Modified At"+ "title": "Prompt",+ "description": "Natural language prompt to locate an element",+ "default": ""}},"type": "object",- "required": [- "billing_id",- "organization_id",- "plan_tier",- "current_period_start",- "current_period_end",- "included_credits_this_period",- "credits_consumed_this_period",- "cached_credits_consumed_this_period",- "overage_enabled",- "browser_uptime_seconds_consumed",- "topup_credits_total",- "topup_credits_used",- "topup_credits_remaining",- "credits_remaining",- "created_at",- "modified_at"- ],- "title": "BillingStateResponse"+ "title": "LocateElementAction",+ "description": "Locate element action parameters."},- "BitwardenCreditCardDataParameter": {+ "LoginBlock": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "bitwarden_credit_card_data"- ],- "title": "Parameter Type",- "default": "bitwarden_credit_card_data"- },- "key": {- "type": "string",- "title": "Key"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "bitwarden_credit_card_data_parameter_id": {- "type": "string",- "title": "Bitwarden Credit Card Data Parameter Id"- },- "workflow_id": {- "type": "string",- "title": "Workflow Id"- },- "bitwarden_client_id_aws_secret_key": {+ "label": {"type": "string",- "title": "Bitwarden Client Id Aws Secret Key"+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."},- "bitwarden_client_secret_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Secret Aws Secret Key"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},- "bitwarden_master_password_aws_secret_key": {+ "block_type": {"type": "string",- "title": "Bitwarden Master Password Aws Secret Key"+ "const": "login",+ "title": "Block Type",+ "default": "login"},- "bitwarden_collection_id": {- "type": "string",- "title": "Bitwarden Collection Id"+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"},- "bitwarden_item_id": {- "type": "string",- "title": "Bitwarden Item Id"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"- }- },- "type": "object",- "required": [- "key",- "bitwarden_credit_card_data_parameter_id",- "workflow_id",- "bitwarden_client_id_aws_secret_key",- "bitwarden_client_secret_aws_secret_key",- "bitwarden_master_password_aws_secret_key",- "bitwarden_collection_id",- "bitwarden_item_id",- "created_at",- "modified_at"- ],- "title": "BitwardenCreditCardDataParameter"- },- "BitwardenCreditCardDataParameterYAML": {- "properties": {- "parameter_type": {- "type": "string",- "enum": [- "bitwarden_credit_card_data"- ],- "title": "Parameter Type",- "default": "bitwarden_credit_card_data"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "key": {- "type": "string",- "title": "Key"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "description": {+ "task_type": {"type": "string",- "nullable": true,- "title": "Description"+ "title": "Task Type",+ "default": "general"},- "bitwarden_client_id_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Id Aws Secret Key"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"},- "bitwarden_client_secret_aws_secret_key": {+ "title": {"type": "string",- "title": "Bitwarden Client Secret Aws Secret Key"+ "title": "Title",+ "default": ""},- "bitwarden_master_password_aws_secret_key": {- "type": "string",- "title": "Bitwarden Master Password Aws Secret Key"+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"},- "bitwarden_collection_id": {- "type": "string",- "title": "Bitwarden Collection Id"+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"},- "bitwarden_item_id": {- "type": "string",- "title": "Bitwarden Item Id"- }- },- "type": "object",- "required": [- "key",- "bitwarden_client_id_aws_secret_key",- "bitwarden_client_secret_aws_secret_key",- "bitwarden_master_password_aws_secret_key",- "bitwarden_collection_id",- "bitwarden_item_id"- ],- "title": "BitwardenCreditCardDataParameterYAML"- },- "BitwardenLoginCredentialParameter": {- "properties": {- "parameter_type": {- "type": "string",- "enum": [- "bitwarden_login_credential"+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "bitwarden_login_credential"+ "title": "Terminate Criterion"},- "key": {- "type": "string",- "title": "Key"+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"},- "bitwarden_login_credential_parameter_id": {- "type": "string",- "title": "Bitwarden Login Credential Parameter Id"+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"},- "workflow_id": {- "type": "string",- "title": "Workflow Id"+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"},- "bitwarden_client_id_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Id Aws Secret Key"+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0},- "bitwarden_client_secret_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Secret Aws Secret Key"+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"},- "bitwarden_master_password_aws_secret_key": {- "type": "string",- "title": "Bitwarden Master Password Aws Secret Key"+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []},- "url_parameter_key": {- "type": "string",- "nullable": true,- "title": "Url Parameter Key"+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false},- "bitwarden_collection_id": {- "type": "string",- "nullable": true,- "title": "Bitwarden Collection Id"+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "bitwarden_item_id": {- "type": "string",- "nullable": true,- "title": "Bitwarden Item Id"+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true}},"type": "object","required": [- "key",- "bitwarden_login_credential_parameter_id",- "workflow_id",- "bitwarden_client_id_aws_secret_key",- "bitwarden_client_secret_aws_secret_key",- "bitwarden_master_password_aws_secret_key",- "created_at",- "modified_at"+ "label",+ "output_parameter"],- "title": "BitwardenLoginCredentialParameter"+ "title": "LoginBlock"},- "BitwardenLoginCredentialParameterYAML": {+ "LoginBlockYAML": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "bitwarden_login_credential"- ],- "title": "Parameter Type",- "default": "bitwarden_login_credential"- },- "key": {+ "block_type": {"type": "string",- "title": "Key"+ "const": "login",+ "title": "Block Type",+ "default": "login"},- "description": {+ "label": {"type": "string",- "nullable": true,- "title": "Description"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "bitwarden_client_id_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Id Aws Secret Key"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "bitwarden_client_secret_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Secret Aws Secret Key"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "bitwarden_master_password_aws_secret_key": {- "type": "string",- "title": "Bitwarden Master Password Aws Secret Key"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "url_parameter_key": {- "type": "string",- "nullable": true,- "title": "Url Parameter Key"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "bitwarden_collection_id": {- "type": "string",- "nullable": true,- "title": "Bitwarden Collection Id"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "bitwarden_item_id": {- "type": "string",- "nullable": true,- "title": "Bitwarden Item Id"- }- },- "type": "object",- "required": [- "key",- "bitwarden_client_id_aws_secret_key",- "bitwarden_client_secret_aws_secret_key",- "bitwarden_master_password_aws_secret_key"- ],- "title": "BitwardenLoginCredentialParameterYAML"- },- "BitwardenSensitiveInformationParameter": {- "properties": {- "parameter_type": {- "type": "string",- "enum": [- "bitwarden_sensitive_information"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "bitwarden_sensitive_information"- },- "key": {- "type": "string",- "title": "Key"+ "title": "Url"},- "description": {+ "title": {"type": "string",- "nullable": true,- "title": "Description"+ "title": "Title",+ "default": ""},- "bitwarden_sensitive_information_parameter_id": {- "type": "string",- "title": "Bitwarden Sensitive Information Parameter Id"+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"},- "workflow_id": {- "type": "string",- "title": "Workflow Id"+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"},- "bitwarden_client_id_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Id Aws Secret Key"+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"},- "bitwarden_client_secret_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Secret Aws Secret Key"+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0},- "bitwarden_master_password_aws_secret_key": {- "type": "string",- "title": "Bitwarden Master Password Aws Secret Key"+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"},- "bitwarden_collection_id": {- "type": "string",- "title": "Bitwarden Collection Id"+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"},- "bitwarden_identity_key": {- "type": "string",- "title": "Bitwarden Identity Key"+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"},- "bitwarden_identity_fields": {- "items": {- "type": "string"- },- "type": "array",- "title": "Bitwarden Identity Fields"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true}},"type": "object","required": [- "key",- "bitwarden_sensitive_information_parameter_id",- "workflow_id",- "bitwarden_client_id_aws_secret_key",- "bitwarden_client_secret_aws_secret_key",- "bitwarden_master_password_aws_secret_key",- "bitwarden_collection_id",- "bitwarden_identity_key",- "bitwarden_identity_fields",- "created_at",- "modified_at"+ "label"],- "title": "BitwardenSensitiveInformationParameter"+ "title": "LoginBlockYAML"},- "BitwardenSensitiveInformationParameterYAML": {+ "LoginRequest": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "bitwarden_sensitive_information"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "bitwarden_sensitive_information"- },- "key": {- "type": "string",- "title": "Key"+ "title": "Url",+ "description": "Website URL"},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "webhook_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Webhook Url",+ "description": "Webhook URL to send status updates"},- "bitwarden_client_id_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Id Aws Secret Key"+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "type": "null"+ }+ ],+ "description": "Proxy location to use"},- "bitwarden_client_secret_aws_secret_key": {- "type": "string",- "title": "Bitwarden Client Secret Aws Secret Key"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier",+ "description": "Identifier for TOTP (Time-based One-Time Password) if required"},- "bitwarden_master_password_aws_secret_key": {- "type": "string",- "title": "Bitwarden Master Password Aws Secret Key"+ "totp_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Url",+ "description": "TOTP URL to fetch one-time passwords"},- "bitwarden_collection_id": {- "type": "string",- "title": "Bitwarden Collection Id"+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "ID of the browser session to use, which is prefixed by `pbs_` e.g. `pbs_123456`",+ "examples": [+ "pbs_123456"+ ]},- "bitwarden_identity_key": {- "type": "string",- "title": "Bitwarden Identity Key"+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of a browser profile to reuse for this run"},- "bitwarden_identity_fields": {- "items": {- "type": "string"- },- "type": "array",- "title": "Bitwarden Identity Fields"- }- },- "type": "object",- "required": [- "key",- "bitwarden_client_id_aws_secret_key",- "bitwarden_client_secret_aws_secret_key",- "bitwarden_master_password_aws_secret_key",- "bitwarden_collection_id",- "bitwarden_identity_key",- "bitwarden_identity_fields"- ],- "title": "BitwardenSensitiveInformationParameterYAML"- },- "BlockType": {- "type": "string",- "enum": [- "task",- "task_v2",- "for_loop",- "while_loop",- "conditional",- "code",- "text_prompt",- "download_to_s3",- "upload_to_s3",- "file_upload",- "send_email",- "file_url_parser",- "validation",- "action",- "navigation",- "extraction",- "login",- "wait",- "file_download",- "goto_url",- "pdf_parser",- "http_request",- "human_interaction",- "print_page"- ],- "title": "BlockType"- },- "Body_upload_file_v1_upload_file_post": {- "properties": {- "file": {- "type": "string",- "format": "binary",- "title": "File"- }- },- "type": "object",- "required": [- "file"- ],- "title": "Body_upload_file_v1_upload_file_post"- },- "BranchCondition": {- "properties": {- "id": {- "type": "string",- "title": "Id"+ "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"+ ]},- "criteria": {- "oneOf": [+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Http Headers",+ "description": "Additional HTTP headers to include in requests"+ },+ "cdp_connect_headers": {+ "anyOf": [{- "$ref": "#/components/schemas/JinjaBranchCriteria"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{- "$ref": "#/components/schemas/PromptBranchCriteria"+ "type": "null"}],- "discriminator": {- "propertyName": "criteria_type",- "mapping": {- "jinja2_template": "#/components/schemas/JinjaBranchCriteria",- "prompt": "#/components/schemas/PromptBranchCriteria"- }- },- "nullable": true,- "title": "Criteria"- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "is_default": {- "type": "boolean",- "title": "Is Default",- "default": false- }- },- "type": "object",- "title": "BranchCondition",- "description": "Represents a single conditional branch edge within a ConditionalBlock."- },- "BranchConditionYAML": {- "properties": {- "criteria": {- "$ref": "#/components/schemas/BranchCriteriaYAML",- "nullable": true- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "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."},- "is_default": {- "type": "boolean",- "title": "Is Default",- "default": false- }- },- "type": "object",- "title": "BranchConditionYAML"- },- "BranchCriteriaYAML": {- "properties": {- "criteria_type": {- "type": "string",- "enum": [- "jinja2_template",- "prompt"+ "max_screenshot_scrolling_times": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }],- "title": "Criteria Type",- "default": "jinja2_template"- },- "expression": {- "type": "string",- "title": "Expression"+ "title": "Max Screenshot Scrolling Times",+ "description": "Maximum number of times to scroll for screenshots"},- "description": {- "type": "string",- "nullable": true,- "title": "Description"- }- },- "type": "object",- "required": [- "expression"- ],- "title": "BranchCriteriaYAML"- },- "BrowserProfile": {- "properties": {- "browser_profile_id": {- "type": "string",- "title": "Browser Profile Id"+ "credential_type": {+ "$ref": "#/components/schemas/skyvern__schemas__credential_type__CredentialType",+ "description": "Where to get the credential from"},- "organization_id": {- "type": "string",- "title": "Organization Id"+ "prompt": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Prompt",+ "description": "Login instructions. Skyvern has default prompt/instruction for login if this field is not provided."},- "name": {- "type": "string",- "title": "Name"+ "credential_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Credential Id",+ "description": "ID of the Skyvern credential to use for login.",+ "examples": [+ "cred_123"+ ]},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "bitwarden_collection_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bitwarden Collection Id",+ "description": "Bitwarden collection ID. You can find it in the Bitwarden collection URL. e.g. `https://vault.bitwarden.com/vaults/collection_id/items`"},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "bitwarden_item_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Bitwarden Item Id",+ "description": "Bitwarden item ID"},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "onepassword_vault_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Onepassword Vault Id",+ "description": "1Password vault ID"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"- }- },- "type": "object",- "required": [- "browser_profile_id",- "organization_id",- "name",- "created_at",- "modified_at"- ],- "title": "BrowserProfile"- },- "BrowserSessionResponse": {- "properties": {- "browser_session_id": {- "type": "string",- "title": "Browser Session Id",- "description": "Unique identifier for the browser session. browser_session_id starts with `pbs_`.",- "example": "pbs_123456"+ "onepassword_item_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Onepassword Item Id",+ "description": "1Password item ID"},- "organization_id": {- "type": "string",- "title": "Organization Id",- "description": "ID of the organization that owns this session"+ "azure_vault_name": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Vault Name",+ "description": "Azure Vault Name"},- "status": {- "type": "string",- "nullable": true,- "title": "Status",- "description": "Current status of the browser session",- "example": "created"+ "azure_vault_username_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Vault Username Key",+ "description": "Azure Vault username key"},- "runnable_type": {- "type": "string",- "nullable": true,- "title": "Runnable Type",- "description": "Type of the current runnable associated with this session (workflow, task etc)",- "example": "task"+ "azure_vault_password_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Vault Password Key",+ "description": "Azure Vault password key"},- "runnable_id": {+ "azure_vault_totp_secret_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Azure Vault Totp Secret Key",+ "description": "Azure Vault TOTP secret key"+ }+ },+ "type": "object",+ "required": [+ "credential_type"+ ],+ "title": "LoginRequest"+ },+ "NavigationBlock": {+ "properties": {+ "label": {"type": "string",- "nullable": true,- "title": "Runnable Id",- "description": "ID of the current runnable",- "example": "tsk_123456"+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."},- "timeout": {- "type": "integer",- "nullable": true,- "title": "Timeout",- "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Defaults to 60 minutes.",- "example": 60+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},- "browser_address": {+ "block_type": {"type": "string",- "nullable": true,- "title": "Browser Address",- "description": "Url for connecting to the browser",- "example": "http://localhost:9222"+ "const": "navigation",+ "title": "Block Type",+ "default": "navigation"},- "app_url": {- "type": "string",- "nullable": true,- "title": "App Url",- "description": "Url for the browser session page",- "example": "https://app.skyvern.com/browser-session/pbs_123456"+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"},- "extensions": {- "items": {- "$ref": "#/components/schemas/Extensions"- },- "type": "array",- "nullable": true,- "title": "Extensions",- "description": "A list of extensions installed in the browser session."+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "browser_type": {- "$ref": "#/components/schemas/PersistentBrowserType",- "nullable": true,- "description": "The type of browser used for the session."+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "vnc_streaming_supported": {+ "disable_cache": {"type": "boolean",- "title": "Vnc Streaming Supported",- "description": "Whether the browser session supports VNC streaming",+ "title": "Disable Cache","default": false},- "download_path": {- "type": "string",- "nullable": true,- "title": "Download Path",- "description": "The path where the browser session downloads files"- },- "downloaded_files": {- "items": {- "$ref": "#/components/schemas/FileInfo"- },- "type": "array",- "nullable": true,- "title": "Downloaded Files",- "description": "The list of files downloaded by the browser session"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "recordings": {- "items": {- "$ref": "#/components/schemas/FileInfo"- },- "type": "array",- "nullable": true,- "title": "Recordings",- "description": "The list of video recordings from the browser session"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "started_at": {+ "task_type": {"type": "string",- "format": "date-time",- "nullable": true,- "title": "Started At",- "description": "Timestamp when the session was started"+ "title": "Task Type",+ "default": "general"},- "completed_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Completed At",- "description": "Timestamp when the session was completed"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"},- "created_at": {+ "title": {"type": "string",- "format": "date-time",- "title": "Created At",- "description": "Timestamp when the session was created (the timestamp for the initial request)"+ "title": "Title",+ "default": ""},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At",- "description": "Timestamp when the session was last modified"+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At",- "description": "Timestamp when the session was deleted, if applicable"- }- },- "type": "object",- "required": [- "browser_session_id",- "organization_id",- "created_at",- "modified_at"- ],- "title": "BrowserSessionResponse",- "description": "Response model for browser session information."- },- "ChangeTierRequest": {- "properties": {- "tier": {- "$ref": "#/components/schemas/PlanTier"- }- },- "type": "object",- "required": [- "tier"- ],- "title": "ChangeTierRequest"- },- "ChangeTierResponse": {- "properties": {- "status": {- "type": "string",- "title": "Status"+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"},- "tier": {- "type": "string",- "title": "Tier"+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"},- "redirect_url": {- "type": "string",- "nullable": true,- "title": "Redirect Url"- }- },- "type": "object",- "required": [- "status",- "tier"- ],- "title": "ChangeTierResponse"- },- "CheckoutSessionResponse": {- "properties": {- "id": {+ "navigation_goal": {"type": "string",- "title": "Id"+ "title": "Navigation Goal"},- "url": {- "type": "string",- "title": "Url"- }- },- "type": "object",- "required": [- "id",- "url"- ],- "title": "CheckoutSessionResponse"- },- "CheckoutSubscriptionRequest": {- "properties": {- "tier": {- "$ref": "#/components/schemas/PlanTier"- }- },- "type": "object",- "required": [- "tier"- ],- "title": "CheckoutSubscriptionRequest"- },- "ClickAction": {- "properties": {- "type": {- "type": "string",- "enum": [- "ai_click"+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Type",- "default": "ai_click"- },- "selector": {- "type": "string",- "nullable": true,- "title": "Selector",- "description": "CSS selector for the element",- "default": ""+ "title": "Data Extraction Goal"},- "intention": {- "type": "string",- "title": "Intention",- "description": "The intention or goal of the click",- "default": ""+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"},- "data": {+ "error_code_mapping": {"anyOf": [{- "type": "string"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{- "additionalProperties": true,- "type": "object"+ "type": "null"}],- "title": "Data",- "description": "Additional context data",- "nullable": true- },- "timeout": {- "type": "number",- "title": "Timeout",- "description": "Timeout in milliseconds",- "default": 10000- }- },- "type": "object",- "title": "ClickAction",- "description": "Click action parameters."- },- "ClickContext": {- "properties": {- "thought": {- "type": "string",- "nullable": true,- "title": "Thought"- },- "single_option_click": {- "type": "boolean",- "nullable": true,- "title": "Single Option Click"- }- },- "type": "object",- "title": "ClickContext"- },- "CodeBlock": {- "properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "title": "Error Code Mapping"},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0},- "block_type": {- "type": "string",- "enum": [- "code"+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "code"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "code": {- "type": "string",- "title": "Code"+ "title": "Max Steps Per Run"},"parameters": {"items": {@@ -4602,143 +15041,87 @@"type": "array","title": "Parameters","default": []- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "code"- ],- "title": "CodeBlock"- },- "CodeBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "code"- ],- "title": "Block Type",- "default": "code"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"},- "next_loop_on_failure": {+ "complete_on_download": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Complete On Download","default": false},- "code": {- "type": "string",- "title": "Code"- },- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"- }- },- "type": "object",- "required": [- "label",- "code"- ],- "title": "CodeBlockYAML"- },- "ConditionalBlock": {- "properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"},- "block_type": {- "type": "string",- "enum": [- "conditional"+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "conditional"+ "title": "Totp Verification Url"},- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "continue_on_failure": {+ "complete_verification": {"type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "title": "Complete Verification",+ "default": true},- "disable_cache": {+ "include_action_history_in_verification": {"type": "boolean",- "title": "Disable Cache",+ "title": "Include Action History In Verification","default": false},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"},- "branch_conditions": {- "items": {- "$ref": "#/components/schemas/BranchCondition"- },- "type": "array",- "title": "Branch Conditions"+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true}},"type": "object","required": ["label",- "output_parameter"+ "output_parameter",+ "navigation_goal"],- "title": "ConditionalBlock",- "description": "Branching block that selects the next block label based on list-ordered conditions."+ "title": "NavigationBlock"},- "ConditionalBlockYAML": {+ "NavigationBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "conditional"- ],+ "const": "navigation","title": "Block Type",- "default": "conditional"+ "default": "navigation"},"label": {"type": "string",@@ -4746,8 +15129,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -4757,373 +15146,601 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "branch_conditions": {- "items": {- "$ref": "#/components/schemas/BranchConditionYAML"- },- "type": "array",- "title": "Branch Conditions"- }- },- "type": "object",- "required": [- "label"- ],- "title": "ConditionalBlockYAML"- },- "ContextParameter": {- "properties": {- "parameter_type": {+ "navigation_goal": {"type": "string",- "enum": [- "context"+ "title": "Navigation Goal"+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "context"+ "title": "Url"},- "key": {+ "title": {"type": "string",- "title": "Key"+ "title": "Title",+ "default": ""},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"},- "source": {+ "error_code_mapping": {"anyOf": [{- "$ref": "#/components/schemas/WorkflowParameter"+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{- "$ref": "#/components/schemas/ContextParameter"- },+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [{- "$ref": "#/components/schemas/AWSSecretParameter"+ "type": "integer"},{- "$ref": "#/components/schemas/AzureSecretParameter"- },+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameter_keys": {+ "anyOf": [{- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ "items": {+ "type": "string"+ },+ "type": "array"},{- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [{- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ "type": "string"},{- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [{- "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ "type": "string"},{- "$ref": "#/components/schemas/OutputParameter"+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"},{- "$ref": "#/components/schemas/CredentialParameter"+ "type": "null"}],- "title": "Source"+ "title": "Totp Identifier"},- "value": {+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false+ },+ "complete_criterion": {"anyOf": [{"type": "string"},{- "type": "integer"- },+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [{- "type": "number"+ "type": "string"},{- "type": "boolean"+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ }+ },+ "type": "object",+ "required": [+ "label",+ "navigation_goal"+ ],+ "title": "NavigationBlockYAML"+ },+ "NonEmptyCreditCardCredential": {+ "properties": {+ "card_number": {+ "type": "string",+ "minLength": 1,+ "title": "Card Number",+ "description": "The full credit card number (must not be empty)",+ "examples": [+ "4111111111111111"+ ]+ },+ "card_cvv": {+ "type": "string",+ "minLength": 1,+ "title": "Card Cvv",+ "description": "The card's CVV (must not be empty)",+ "examples": [+ "123"+ ]+ },+ "card_exp_month": {+ "type": "string",+ "minLength": 1,+ "title": "Card Exp Month",+ "description": "The card's expiration month (must not be empty)",+ "examples": [+ "12"+ ]+ },+ "card_exp_year": {+ "type": "string",+ "minLength": 1,+ "title": "Card Exp Year",+ "description": "The card's expiration year (must not be empty)",+ "examples": [+ "2025"+ ]+ },+ "card_brand": {+ "type": "string",+ "minLength": 1,+ "title": "Card Brand",+ "description": "The card's brand (must not be empty)",+ "examples": [+ "visa"+ ]+ },+ "card_holder_name": {+ "type": "string",+ "minLength": 1,+ "title": "Card Holder Name",+ "description": "The name of the card holder (must not be empty)",+ "examples": [+ "John Doe"+ ]+ }+ },+ "type": "object",+ "required": [+ "card_number",+ "card_cvv",+ "card_exp_month",+ "card_exp_year",+ "card_brand",+ "card_holder_name"+ ],+ "title": "NonEmptyCreditCardCredential",+ "description": "Credit card credential model that requires non-empty values."+ },+ "NonEmptyPasswordCredential": {+ "properties": {+ "password": {+ "type": "string",+ "minLength": 1,+ "title": "Password",+ "description": "The password value (must not be empty)",+ "examples": [+ "securepassword123"+ ]+ },+ "username": {+ "type": "string",+ "minLength": 1,+ "title": "Username",+ "description": "The username associated with the credential (must not be empty)",+ "examples": [+ ]+ },+ "totp": {+ "anyOf": [+ {+ "type": "string"},{- "additionalProperties": true,- "type": "object"+ "type": "null"+ }+ ],+ "title": "Totp",+ "description": "Optional TOTP (Time-based One-Time Password) string used to generate 2FA codes",+ "examples": [+ "JBSWY3DPEHPK3PXP"+ ]+ },+ "totp_type": {+ "$ref": "#/components/schemas/TotpType",+ "description": "Type of 2FA method used for this credential",+ "default": "none",+ "examples": [+ "authenticator"+ ]+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"},{- "items": {},- "type": "array"+ "type": "null"}],- "title": "Value",- "nullable": true+ "title": "Totp Identifier",+ "description": "Identifier (email or phone number) used to fetch TOTP codes",+ "examples": [+ "[email protected]",+ "+14155550123"+ ]}},"type": "object","required": [- "key",- "source"+ "password",+ "username"],- "title": "ContextParameter"+ "title": "NonEmptyPasswordCredential",+ "description": "Password credential model that requires non-empty values."},- "ContextParameterYAML": {+ "OTPType": {+ "type": "string",+ "enum": [+ "totp",+ "magic_link"+ ],+ "title": "OTPType"+ },+ "OnePasswordCredentialParameter": {"properties": {"parameter_type": {"type": "string",- "enum": [- "context"- ],+ "const": "onepassword","title": "Parameter Type",- "default": "context"+ "default": "onepassword"},"key": {"type": "string","title": "Key"},"description": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Description"},- "source_parameter_key": {+ "onepassword_credential_parameter_id": {"type": "string",- "title": "Source Parameter Key"+ "title": "Onepassword Credential Parameter Id"+ },+ "workflow_id": {+ "type": "string",+ "title": "Workflow Id"+ },+ "vault_id": {+ "type": "string",+ "title": "Vault Id"+ },+ "item_id": {+ "type": "string",+ "title": "Item Id"+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"}},"type": "object","required": ["key",- "source_parameter_key"+ "onepassword_credential_parameter_id",+ "workflow_id",+ "vault_id",+ "item_id",+ "created_at",+ "modified_at"],- "title": "ContextParameterYAML"+ "title": "OnePasswordCredentialParameter"},- "CreateBrowserProfileRequest": {+ "OnePasswordCredentialParameterYAML": {"properties": {- "name": {+ "parameter_type": {"type": "string",- "title": "Name",- "description": "Name for the browser profile"+ "const": "onepassword",+ "title": "Parameter Type",+ "default": "onepassword"},- "description": {+ "key": {"type": "string",- "nullable": true,- "title": "Description",- "description": "Optional profile description"+ "title": "Key"},- "browser_session_id": {+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "vault_id": {"type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "Persistent browser session to convert into a profile"+ "title": "Vault Id"},- "workflow_run_id": {+ "item_id": {"type": "string",- "nullable": true,- "title": "Workflow Run Id",- "description": "Workflow run whose persisted session should be captured"+ "title": "Item Id"}},"type": "object","required": [- "name"+ "key",+ "vault_id",+ "item_id"],- "title": "CreateBrowserProfileRequest"+ "title": "OnePasswordCredentialParameterYAML"},- "CreateBrowserSessionRequest": {+ "OrganizationScheduleItem": {"properties": {- "timeout": {- "type": "integer",- "maximum": 1440,- "minimum": 5,- "nullable": true,- "title": "Timeout",- "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 1440. Defaults to 60.",- "default": 60+ "workflow_schedule_id": {+ "type": "string",+ "title": "Workflow Schedule Id"},- "proxy_location": {- "$ref": "#/components/schemas/ProxyLocation",- "nullable": true,- "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_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\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"+ "organization_id": {+ "type": "string",+ "title": "Organization Id"},- "extensions": {- "items": {- "$ref": "#/components/schemas/Extensions"- },- "type": "array",- "nullable": true,- "title": "Extensions",- "description": "A list of extensions to install in the browser session."+ "workflow_permanent_id": {+ "type": "string",+ "title": "Workflow Permanent Id"},- "browser_type": {- "$ref": "#/components/schemas/PersistentBrowserType",- "nullable": true,- "description": "The type of browser to use for the session."- }- },- "type": "object",- "title": "CreateBrowserSessionRequest"- },- "CreateCredentialRequest": {- "properties": {- "name": {+ "workflow_title": {"type": "string",- "title": "Name",- "description": "Name of the credential",- "example": "Amazon Login"+ "title": "Workflow Title"},- "credential_type": {- "$ref": "#/components/schemas/skyvern__forge__sdk__schemas__credentials__CredentialType",- "description": "Type of credential to create"+ "cron_expression": {+ "type": "string",+ "title": "Cron Expression"},- "credential": {+ "timezone": {+ "type": "string",+ "title": "Timezone"+ },+ "enabled": {+ "type": "boolean",+ "title": "Enabled"+ },+ "parameters": {"anyOf": [{- "$ref": "#/components/schemas/NonEmptyPasswordCredential"+ "additionalProperties": true,+ "type": "object"},{- "$ref": "#/components/schemas/NonEmptyCreditCardCredential"+ "type": "null"+ }+ ],+ "title": "Parameters"+ },+ "name": {+ "anyOf": [+ {+ "type": "string"},{- "$ref": "#/components/schemas/SecretCredential"+ "type": "null"}],- "title": "Credential",- "description": "The credential data to store",- "example": {- "password": "securepassword123",- "username": "[email protected]"- }- }- },- "type": "object",- "required": [- "name",- "credential_type",- "credential"- ],- "title": "CreateCredentialRequest",- "description": "Request model for creating a new credential."- },- "CreateScriptRequest": {- "properties": {- "workflow_id": {- "type": "string",- "nullable": true,- "title": "Workflow Id",- "description": "Associated workflow ID"+ "title": "Name"},- "run_id": {+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ },+ "next_run": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Run"+ },+ "created_at": {"type": "string",- "nullable": true,- "title": "Run Id",- "description": "Associated run ID"+ "format": "date-time",+ "title": "Created At"},- "files": {- "items": {- "$ref": "#/components/schemas/ScriptFileCreate"- },- "type": "array",- "nullable": true,- "title": "Files",- "description": "Array of files to include in the script",- "example": {- "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",- "encoding": "base64",- "mime_type": "text/x-python",- "path": "main.py"- }+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"}},"type": "object",- "title": "CreateScriptRequest"- },- "CreateScriptResponse": {- "properties": {- "script_id": {- "type": "string",- "title": "Script Id",- "description": "Unique script identifier",- "example": "s_abc123"+ "required": [+ "workflow_schedule_id",+ "organization_id",+ "workflow_permanent_id",+ "workflow_title",+ "cron_expression",+ "timezone",+ "enabled",+ "created_at",+ "modified_at"+ ],+ "title": "OrganizationScheduleItem",+ "description": "Compact schedule projection for the org-wide list endpoint.\n\nIntentionally omits `backend_schedule_id` — the list view is for browsing\nschedules in the dashboard, not for managing the underlying execution-backend\nbinding. Callers that need the backend id should fetch the individual\nschedule via the per-workflow get endpoint."+ },+ "OrganizationScheduleListResponse": {+ "properties": {+ "schedules": {+ "items": {+ "$ref": "#/components/schemas/OrganizationScheduleItem"+ },+ "type": "array",+ "title": "Schedules"},- "version": {+ "total_count": {"type": "integer",- "title": "Version",- "description": "Script version number",- "example": 1- },- "run_id": {- "type": "string",- "nullable": true,- "title": "Run Id",- "description": "ID of the workflow run or task run that generated this script"+ "title": "Total Count"},- "file_count": {+ "page": {"type": "integer",- "title": "File Count",- "description": "Total number of files in the script"- },- "file_tree": {- "additionalProperties": {- "$ref": "#/components/schemas/FileNode"- },- "type": "object",- "title": "File Tree",- "description": "Hierarchical file tree structure"+ "title": "Page"},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At",- "description": "Timestamp when the script was created"+ "page_size": {+ "type": "integer",+ "title": "Page Size"}},"type": "object","required": [- "script_id",- "version",- "file_count",- "file_tree",- "created_at"+ "schedules",+ "total_count",+ "page",+ "page_size"],- "title": "CreateScriptResponse"+ "title": "OrganizationScheduleListResponse"},- "CredentialParameter": {+ "OutputParameter": {"properties": {"parameter_type": {"type": "string",- "enum": [- "credential"- ],+ "const": "output","title": "Parameter Type",- "default": "credential"+ "default": "output"},"key": {"type": "string","title": "Key"},"description": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Description"},- "credential_parameter_id": {+ "output_parameter_id": {"type": "string",- "title": "Credential Parameter Id"+ "title": "Output Parameter Id"},"workflow_id": {"type": "string","title": "Workflow Id"},- "credential_id": {- "type": "string",- "title": "Credential Id"- },"created_at": {"type": "string","format": "date-time",@@ -5135,252 +15752,69 @@"title": "Modified At"},"deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],"title": "Deleted At"}},"type": "object","required": ["key",- "credential_parameter_id",+ "output_parameter_id","workflow_id",- "credential_id","created_at","modified_at"],- "title": "CredentialParameter"+ "title": "OutputParameter"},- "CredentialParameterYAML": {+ "OutputParameterYAML": {"properties": {"parameter_type": {"type": "string",- "enum": [- "credential"- ],+ "const": "output","title": "Parameter Type",- "default": "credential"+ "default": "output"},"key": {"type": "string","title": "Key"},"description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "credential_id": {- "type": "string",- "title": "Credential Id"- }- },- "type": "object",- "required": [- "key",- "credential_id"- ],- "title": "CredentialParameterYAML"- },- "CredentialResponse": {- "properties": {- "credential_id": {- "type": "string",- "title": "Credential Id",- "description": "Unique identifier for the credential",- "example": "cred_1234567890"- },- "credential": {"anyOf": [{- "$ref": "#/components/schemas/PasswordCredentialResponse"- },- {- "$ref": "#/components/schemas/CreditCardCredentialResponse"+ "type": "string"},{- "$ref": "#/components/schemas/SecretCredentialResponse"+ "type": "null"}],- "title": "Credential",- "description": "The credential data"- },- "credential_type": {- "$ref": "#/components/schemas/CredentialType-Output",- "description": "Type of the credential"- },- "name": {- "type": "string",- "title": "Name",- "description": "Name of the credential",- "example": "Amazon Login"+ "title": "Description"}},"type": "object","required": [- "credential_id",- "credential",- "credential_type",- "name"+ "key"],- "title": "CredentialResponse",- "description": "Response model for credential operations."+ "title": "OutputParameterYAML"},- "CredentialType-Output": {+ "PDFFormat": {"type": "string","enum": [- "password",- "credit_card",- "secret"- ],- "title": "CredentialType",- "description": "Type of credential stored in the system."- },- "CreditCardCredentialResponse": {- "properties": {- "last_four": {- "type": "string",- "title": "Last Four",- "description": "Last four digits of the credit card number",- "example": "1234"- },- "brand": {- "type": "string",- "title": "Brand",- "description": "Brand of the credit card",- "example": "visa"- }- },- "type": "object",- "required": [- "last_four",- "brand"- ],- "title": "CreditCardCredentialResponse",- "description": "Response model for credit card credentials, containing only the last four digits and brand."- },- "DeployScriptRequest": {- "properties": {- "files": {- "items": {- "$ref": "#/components/schemas/ScriptFileCreate"- },- "type": "array",- "title": "Files",- "description": "Array of files to include in the script",- "example": {- "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",- "encoding": "base64",- "mime_type": "text/x-python",- "path": "src/main.py"- }- }- },- "type": "object",- "required": [- "files"- ],- "title": "DeployScriptRequest",- "description": "Request model for deploying a script with updated files."- },- "DownloadFilesRequest": {- "properties": {- "url": {- "type": "string",- "nullable": true,- "title": "Url",- "description": "Website URL"- },- "webhook_url": {- "type": "string",- "nullable": true,- "title": "Webhook Url",- "description": "Webhook URL to send status updates"- },- "proxy_location": {- "$ref": "#/components/schemas/ProxyLocation",- "nullable": true,- "description": "Proxy location to use"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier",- "description": "Identifier for TOTP (Time-based One-Time Password) if required"- },- "totp_url": {- "type": "string",- "nullable": true,- "title": "Totp Url",- "description": "TOTP URL to fetch one-time passwords"- },- "browser_session_id": {- "type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "ID of the browser session to use, which is prefixed by `pbs_` e.g. `pbs_123456`",- "example": "pbs_123456"- },- "browser_profile_id": {- "type": "string",- "nullable": true,- "title": "Browser Profile Id",- "description": "ID of a browser profile to reuse for this run"- },- "browser_address": {- "type": "string",- "nullable": true,- "title": "Browser Address",- "description": "The CDP address for the task.",- "example": "http://127.0.0.1:9222"- },- "extra_http_headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Extra Http Headers",- "description": "Additional HTTP headers to include in requests"- },- "max_screenshot_scrolling_times": {- "type": "integer",- "nullable": true,- "title": "Max Screenshot Scrolling Times",- "description": "Maximum number of times to scroll for screenshots"- },- "navigation_goal": {- "type": "string",- "title": "Navigation Goal",- "description": "Instructions for navigating to and downloading the file"- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix",- "description": "Suffix or complete filename for the downloaded file"- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout",- "description": "Timeout in seconds for the download operation"- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run",- "description": "Maximum number of steps to execute"- }- },- "type": "object",- "required": [- "navigation_goal"+ "A4",+ "Letter",+ "Legal",+ "Tabloid"],- "title": "DownloadFilesRequest"+ "title": "PDFFormat"},- "DownloadToS3Block": {+ "PDFParserBlock": {"properties": {"label": {"type": "string",@@ -5388,18 +15822,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "download_to_s3"- ],+ "const": "pdf_parser","title": "Block Type",- "default": "download_to_s3"+ "default": "pdf_parser"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -5410,9 +15848,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -5420,33 +15864,49 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "url": {+ "file_url": {"type": "string",- "title": "Url"+ "title": "File Url"+ },+ "json_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Json Schema"}},"type": "object","required": ["label","output_parameter",- "url"+ "file_url"],- "title": "DownloadToS3Block"+ "title": "PDFParserBlock",+ "description": "DEPRECATED: Use FileParserBlock with file_type=FileType.PDF instead.\nThis block will be removed in a future version."},- "DownloadToS3BlockYAML": {+ "PDFParserBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "download_to_s3"- ],+ "const": "pdf_parser","title": "Block Type",- "default": "download_to_s3"+ "default": "pdf_parser"},"label": {"type": "string",@@ -5454,8 +15914,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -5465,105 +15931,103 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "url": {- "type": "string",- "title": "Url"- }- },- "type": "object",- "required": [- "label",- "url"- ],- "title": "DownloadToS3BlockYAML"- },- "Extensions": {- "type": "string",- "enum": [- "ad-blocker",- "captcha-solver"- ],- "title": "Extensions"- },- "ExtractAction": {- "properties": {- "type": {- "type": "string",- "enum": [- "extract"- ],- "title": "Type",- "default": "extract"- },- "prompt": {+ "file_url": {"type": "string",- "title": "Prompt",- "description": "Extraction prompt",- "default": ""+ "title": "File Url"},- "extract_schema": {+ "json_schema": {"anyOf": [{"additionalProperties": true,"type": "object"},{- "items": {},- "type": "array"- },- {- "type": "string"+ "type": "null"}],- "title": "Extract Schema",- "description": "Schema for extraction",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping",- "description": "Error code mapping for extraction"- },- "intention": {+ "title": "Json Schema"+ }+ },+ "type": "object",+ "required": [+ "label",+ "file_url"+ ],+ "title": "PDFParserBlockYAML"+ },+ "PasswordCredentialResponse": {+ "properties": {+ "username": {"type": "string",- "nullable": true,- "title": "Intention",- "description": "The intention or goal of the extraction"+ "title": "Username",+ "description": "The username associated with the credential",+ "examples": [+ ]},- "data": {+ "totp_type": {+ "$ref": "#/components/schemas/TotpType",+ "description": "Type of 2FA method used for this credential",+ "default": "none",+ "examples": [+ "authenticator"+ ]+ },+ "totp_identifier": {"anyOf": [{"type": "string"},{- "additionalProperties": true,- "type": "object"+ "type": "null"}],- "title": "Data",- "description": "Additional context data",- "nullable": true+ "title": "Totp Identifier",+ "description": "Identifier (email or phone number) used to fetch TOTP codes",+ "examples": [+ "[email protected]",+ "+14155550123"+ ]}},"type": "object",- "title": "ExtractAction",- "description": "Extract data action parameters."+ "required": [+ "username"+ ],+ "title": "PasswordCredentialResponse",+ "description": "Response model for password credentials — non-sensitive fields only.\n\nSECURITY: Must NEVER include password or TOTP secret."},- "ExtractionBlock": {+ "PersistentBrowserType": {+ "type": "string",+ "enum": [+ "msedge",+ "chrome",+ "stealth-chromium"+ ],+ "title": "PersistentBrowserType"+ },+ "PrintPageBlock": {"properties": {"label": {"type": "string",@@ -5571,18 +16035,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "extraction"- ],+ "const": "print_page","title": "Block Type",- "default": "extraction"+ "default": "print_page"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -5593,9 +16061,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -5603,83 +16077,46 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"- },- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"- },- "data_extraction_goal": {- "type": "string",- "title": "Data Extraction Goal"+ "include_timestamp": {+ "type": "boolean",+ "title": "Include Timestamp",+ "default": true},- "data_schema": {+ "custom_filename": {"anyOf": [{- "additionalProperties": true,- "type": "object"- },- {- "items": {},- "type": "array"+ "type": "string"},{- "type": "string"+ "type": "null"}],- "title": "Data Schema",- "nullable": true+ "title": "Custom Filename"},- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"+ "format": {+ "type": "string",+ "title": "Format",+ "default": "A4"},- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "landscape": {+ "type": "boolean",+ "title": "Landscape",+ "default": false},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "print_background": {+ "type": "boolean",+ "title": "Print Background",+ "default": true},"parameters": {"items": {@@ -5738,60 +16175,22 @@"type": "array","title": "Parameters","default": []- },- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"}},"type": "object","required": ["label",- "output_parameter",- "data_extraction_goal"+ "output_parameter"],- "title": "ExtractionBlock"+ "title": "PrintPageBlock"},- "ExtractionBlockYAML": {+ "PrintPageBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "extraction"- ],+ "const": "print_page","title": "Block Type",- "default": "extraction"+ "default": "print_page"},"label": {"type": "string",@@ -5799,8 +16198,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -5810,653 +16215,767 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "data_extraction_goal": {+ "include_timestamp": {+ "type": "boolean",+ "title": "Include Timestamp",+ "default": true+ },+ "custom_filename": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Custom Filename"+ },+ "format": {+ "$ref": "#/components/schemas/PDFFormat",+ "default": "A4"+ },+ "landscape": {+ "type": "boolean",+ "title": "Landscape",+ "default": false+ },+ "print_background": {+ "type": "boolean",+ "title": "Print Background",+ "default": true+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ }+ },+ "type": "object",+ "required": [+ "label"+ ],+ "title": "PrintPageBlockYAML"+ },+ "PromptAction": {+ "properties": {+ "type": {"type": "string",- "title": "Data Extraction Goal"+ "const": "prompt",+ "title": "Type",+ "default": "prompt"},- "url": {+ "prompt": {"type": "string",- "nullable": true,- "title": "Url"+ "title": "Prompt",+ "description": "The prompt to send to the LLM"},- "title": {+ "response_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Response Schema",+ "description": "Optional JSON schema to structure the response"+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model",+ "description": "Optional model configuration"+ }+ },+ "type": "object",+ "required": [+ "prompt"+ ],+ "title": "PromptAction",+ "description": "Prompt action parameters."+ },+ "PromptBranchCriteria": {+ "properties": {+ "criteria_type": {"type": "string",- "title": "Title",- "default": ""+ "const": "prompt",+ "title": "Criteria Type",+ "default": "prompt"},- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "expression": {+ "type": "string",+ "title": "Expression"},- "data_schema": {+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ }+ },+ "type": "object",+ "required": [+ "expression"+ ],+ "title": "PromptBranchCriteria",+ "description": "Natural language branch criteria."+ },+ "ProxyLocation": {+ "type": "string",+ "enum": [+ "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_KR",+ "RESIDENTIAL_SA",+ "RESIDENTIAL_ISP",+ "NONE"+ ],+ "title": "ProxyLocation"+ },+ "RetryRunWebhookRequest": {+ "properties": {+ "webhook_url": {"anyOf": [{- "additionalProperties": true,- "type": "object"- },- {- "items": {},- "type": "array"+ "type": "string"},{- "type": "string"+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"- },- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "title": "Webhook Url",+ "description": "Optional webhook URL to send the payload to instead of the stored configuration"}},"type": "object",- "required": [- "label",- "data_extraction_goal"+ "title": "RetryRunWebhookRequest"+ },+ "RunEngine": {+ "type": "string",+ "enum": [+ "skyvern-1.0",+ "skyvern-2.0",+ "openai-cua",+ "anthropic-cua",+ "ui-tars",+ "yutori-navigator"],- "title": "ExtractionBlockYAML"+ "title": "RunEngine"},- "FileDownloadBlock": {+ "RunSdkActionRequest": {"properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."- },- "block_type": {- "type": "string",- "enum": [- "file_download"- ],- "title": "Block Type",- "default": "file_download"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"- },"url": {"type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"- },- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"- },- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "title": "Url",+ "description": "The URL where the action should be executed"},- "data_schema": {+ "browser_session_id": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "string"},{- "items": {},- "type": "array"- },+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "The browser session ID"+ },+ "browser_address": {+ "anyOf": [{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "title": "Browser Address",+ "description": "The browser address"},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"- },- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters",- "default": []- },- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false+ ],+ "title": "Workflow Run Id",+ "description": "Optional workflow run ID to continue an existing workflow run"},- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"+ "action": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/ClickAction"+ },+ {+ "$ref": "#/components/schemas/InputTextAction"+ },+ {+ "$ref": "#/components/schemas/SelectOptionAction"+ },+ {+ "$ref": "#/components/schemas/UploadFileAction"+ },+ {+ "$ref": "#/components/schemas/ActAction"+ },+ {+ "$ref": "#/components/schemas/ExtractAction"+ },+ {+ "$ref": "#/components/schemas/LocateElementAction"+ },+ {+ "$ref": "#/components/schemas/ValidateAction"+ },+ {+ "$ref": "#/components/schemas/PromptAction"+ }+ ],+ "title": "Action",+ "description": "The action to execute with its specific parameters",+ "discriminator": {+ "propertyName": "type",+ "mapping": {+ "ai_act": "#/components/schemas/ActAction",+ "ai_click": "#/components/schemas/ClickAction",+ "ai_input_text": "#/components/schemas/InputTextAction",+ "ai_select_option": "#/components/schemas/SelectOptionAction",+ "ai_upload_file": "#/components/schemas/UploadFileAction",+ "extract": "#/components/schemas/ExtractAction",+ "locate_element": "#/components/schemas/LocateElementAction",+ "prompt": "#/components/schemas/PromptAction",+ "validate": "#/components/schemas/ValidateAction"+ }+ }}},"type": "object","required": [- "label",- "output_parameter"+ "url",+ "action"],- "title": "FileDownloadBlock"+ "title": "RunSdkActionRequest",+ "description": "Request to run a single SDK action."},- "FileDownloadBlockYAML": {+ "RunSdkActionResponse": {"properties": {- "block_type": {- "type": "string",- "enum": [- "file_download"- ],- "title": "Block Type",- "default": "file_download"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "navigation_goal": {- "type": "string",- "title": "Navigation Goal"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"- },- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {+ "workflow_run_id": {"type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "title": "Workflow Run Id",+ "description": "The workflow run ID used for this action"},- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"+ "result": {+ "anyOf": [+ {},+ {+ "type": "null"+ }+ ],+ "title": "Result",+ "description": "The result from the action (e.g., selector, value, extracted data)"}},"type": "object","required": [- "label",- "navigation_goal"+ "workflow_run_id"],- "title": "FileDownloadBlockYAML"+ "title": "RunSdkActionResponse",+ "description": "Response from running an SDK action."},- "FileEncoding": {+ "RunStatus": {"type": "string","enum": [- "base64",- "utf-8"+ "created",+ "queued",+ "running",+ "timed_out",+ "failed",+ "terminated",+ "completed",+ "canceled"],- "title": "FileEncoding",- "description": "Supported file content encodings."+ "title": "RunStatus"},- "FileInfo": {+ "RunWebhookReplayResponse": {"properties": {- "url": {+ "run_id": {"type": "string",- "title": "Url",- "description": "URL to access the file"+ "title": "Run Id",+ "description": "Identifier of the run that was replayed"},- "checksum": {+ "run_type": {"type": "string",- "nullable": true,- "title": "Checksum",- "description": "SHA-256 checksum of the file"+ "title": "Run Type",+ "description": "Run type associated with the payload"},- "filename": {- "type": "string",- "nullable": true,- "title": "Filename",- "description": "Original filename"+ "default_webhook_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Default Webhook Url",+ "description": "Webhook URL stored on the original run configuration"},- "modified_at": {+ "target_webhook_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Target Webhook Url",+ "description": "Webhook URL that the replay attempted to reach"+ },+ "payload": {"type": "string",- "format": "date-time",- "nullable": true,- "title": "Modified At",- "description": "Modified time of the file"+ "title": "Payload",+ "description": "JSON payload that was delivered during the replay attempt"+ },+ "headers": {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object",+ "title": "Headers",+ "description": "Signed headers that were generated for the replay attempt"+ },+ "status_code": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Status Code",+ "description": "HTTP status code returned by the webhook receiver, if available"+ },+ "latency_ms": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Latency Ms",+ "description": "Round-trip latency in milliseconds for the replay attempt"+ },+ "response_body": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Response Body",+ "description": "Body returned by the webhook receiver (truncated to 2KB)"+ },+ "error": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error",+ "description": "Error message if the replay attempt failed"}},"type": "object","required": [- "url"+ "run_id",+ "run_type",+ "payload",+ "headers"],- "title": "FileInfo",- "description": "Information about a downloaded file, including URL and checksum."+ "title": "RunWebhookReplayResponse"},- "FileNode": {+ "Script": {"properties": {- "type": {+ "script_revision_id": {"type": "string",- "title": "Type",- "description": "Type of node: 'file' or 'directory'"- },- "size": {- "type": "integer",- "nullable": true,- "title": "Size",- "description": "File size in bytes"+ "title": "Script Revision Id",+ "description": "Unique identifier for this specific script revision"},- "mime_type": {+ "script_id": {"type": "string",- "nullable": true,- "title": "Mime Type",- "description": "MIME type of the file"+ "title": "Script Id",+ "description": "User-facing script identifier, consistent across versions"},- "content_hash": {+ "organization_id": {"type": "string",- "nullable": true,- "title": "Content Hash",- "description": "SHA256 hash of file content"+ "title": "Organization Id",+ "description": "ID of the organization that owns this script"+ },+ "run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run Id",+ "description": "ID of the workflow run or task run that generated this script"+ },+ "version": {+ "type": "integer",+ "title": "Version",+ "description": "Version number of the script"},"created_at": {"type": "string","format": "date-time","title": "Created At",- "description": "Timestamp when the file was created"+ "description": "Timestamp when the script was created"},- "children": {- "additionalProperties": {- "$ref": "#/components/schemas/FileNode"- },- "type": "object",- "nullable": true,- "title": "Children",- "description": "Child nodes for directories"+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At",+ "description": "Timestamp when the script was last modified"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At",+ "description": "Timestamp when the script was soft deleted"}},"type": "object","required": [- "type",- "created_at"+ "script_revision_id",+ "script_id",+ "organization_id",+ "version",+ "created_at",+ "modified_at"],- "title": "FileNode",- "description": "Model representing a file or directory in the file tree."+ "title": "Script"},- "FileParserBlock": {+ "ScriptFileCreate": {"properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."- },- "next_block_label": {+ "path": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "title": "Path",+ "description": "File path relative to script root",+ "examples": [+ "src/main.py"+ ]},- "block_type": {+ "content": {"type": "string",- "enum": [- "file_url_parser"- ],- "title": "Block Type",- "default": "file_url_parser"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "title": "Content",+ "description": "Base64 encoded file content"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "encoding": {+ "$ref": "#/components/schemas/FileEncoding",+ "description": "Content encoding",+ "default": "base64"},- "disable_cache": {+ "mime_type": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Mime Type",+ "description": "MIME type (auto-detected if not provided)"+ }+ },+ "type": "object",+ "required": [+ "path",+ "content"+ ],+ "title": "ScriptFileCreate",+ "description": "Model representing a file in a script."+ },+ "ScriptRunResponse": {+ "properties": {+ "ai_fallback_triggered": {"type": "boolean",- "title": "Disable Cache",+ "title": "Ai Fallback Triggered","default": false},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "script_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Script Id"},- "file_url": {+ "script_revision_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Script Revision Id"+ }+ },+ "type": "object",+ "title": "ScriptRunResponse"+ },+ "SecretCredential": {+ "properties": {+ "secret_value": {"type": "string",- "title": "File Url"+ "minLength": 1,+ "title": "Secret Value",+ "description": "The secret value",+ "examples": [+ "sk-abc123"+ ]},- "file_type": {- "$ref": "#/components/schemas/FileType"+ "secret_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Secret Label",+ "description": "Optional label describing the secret"+ }+ },+ "type": "object",+ "required": [+ "secret_value"+ ],+ "title": "SecretCredential",+ "description": "Generic secret credential."+ },+ "SecretCredentialResponse": {+ "properties": {+ "secret_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Secret Label",+ "description": "Optional label for the stored secret"+ }+ },+ "type": "object",+ "title": "SecretCredentialResponse",+ "description": "Response model for secret credentials — non-sensitive fields only.\n\nSECURITY: Must NEVER include the secret_value."+ },+ "SelectOption": {+ "properties": {+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Label"},- "json_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Json Schema"+ "value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Value"+ },+ "index": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Index"}},"type": "object",- "required": [- "label",- "output_parameter",- "file_url",- "file_type"- ],- "title": "FileParserBlock"+ "title": "SelectOption"},- "FileParserBlockYAML": {+ "SelectOptionAction": {"properties": {- "block_type": {- "type": "string",- "enum": [- "file_url_parser"- ],- "title": "Block Type",- "default": "file_url_parser"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {+ "type": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "const": "ai_select_option",+ "title": "Type",+ "default": "ai_select_option"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "selector": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Selector",+ "description": "CSS selector for the element",+ "default": ""},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Value",+ "description": "Value to select",+ "default": ""},- "file_url": {+ "intention": {"type": "string",- "title": "File Url"+ "title": "Intention",+ "description": "The intention or goal of the selection",+ "default": ""},- "file_type": {- "$ref": "#/components/schemas/FileType"+ "data": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data",+ "description": "Additional context data"},- "json_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Json Schema"+ "timeout": {+ "type": "number",+ "title": "Timeout",+ "description": "Timeout in milliseconds",+ "default": 5000}},"type": "object",- "required": [- "label",- "file_url",- "file_type"- ],- "title": "FileParserBlockYAML"- },- "FileStorageType": {- "type": "string",- "enum": [- "s3",- "azure"- ],- "title": "FileStorageType"- },- "FileType": {- "type": "string",- "enum": [- "csv",- "excel",- "pdf"- ],- "title": "FileType"+ "title": "SelectOptionAction",+ "description": "Select option action parameters."},- "FileUploadBlock": {+ "SendEmailBlock": {"properties": {"label": {"type": "string",@@ -6464,18 +16983,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "file_upload"- ],+ "const": "send_email","title": "Block Type",- "default": "file_upload"+ "default": "send_email"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -6486,9 +17009,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -6496,72 +17025,78 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "storage_type": {- "$ref": "#/components/schemas/FileStorageType",- "default": "s3"+ "smtp_host": {+ "$ref": "#/components/schemas/AWSSecretParameter"},- "s3_bucket": {- "type": "string",- "nullable": true,- "title": "S3 Bucket"+ "smtp_port": {+ "$ref": "#/components/schemas/AWSSecretParameter"},- "aws_access_key_id": {- "type": "string",- "nullable": true,- "title": "Aws Access Key Id"+ "smtp_username": {+ "$ref": "#/components/schemas/AWSSecretParameter"},- "aws_secret_access_key": {- "type": "string",- "nullable": true,- "title": "Aws Secret Access Key"+ "smtp_password": {+ "$ref": "#/components/schemas/AWSSecretParameter"},- "region_name": {+ "sender": {"type": "string",- "nullable": true,- "title": "Region Name"+ "title": "Sender"},- "azure_storage_account_name": {- "type": "string",- "nullable": true,- "title": "Azure Storage Account Name"+ "recipients": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Recipients"},- "azure_storage_account_key": {+ "subject": {"type": "string",- "nullable": true,- "title": "Azure Storage Account Key"+ "title": "Subject"},- "azure_blob_container_name": {+ "body": {"type": "string",- "nullable": true,- "title": "Azure Blob Container Name"+ "title": "Body"},- "path": {- "type": "string",- "nullable": true,- "title": "Path"+ "file_attachments": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "File Attachments",+ "default": []}},"type": "object","required": ["label",- "output_parameter"+ "output_parameter",+ "smtp_host",+ "smtp_port",+ "smtp_username",+ "smtp_password",+ "sender",+ "recipients",+ "subject",+ "body"],- "title": "FileUploadBlock"+ "title": "SendEmailBlock"},- "FileUploadBlockYAML": {+ "SendEmailBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "file_upload"- ],+ "const": "send_email","title": "Block Type",- "default": "file_upload"+ "default": "send_email"},"label": {"type": "string",@@ -6569,8 +17104,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -6580,485 +17121,581 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "storage_type": {- "$ref": "#/components/schemas/FileStorageType",- "default": "s3"- },- "s3_bucket": {- "type": "string",- "nullable": true,- "title": "S3 Bucket"- },- "aws_access_key_id": {- "type": "string",- "nullable": true,- "title": "Aws Access Key Id"- },- "aws_secret_access_key": {+ "smtp_host_secret_parameter_key": {"type": "string",- "nullable": true,- "title": "Aws Secret Access Key"+ "title": "Smtp Host Secret Parameter Key"},- "region_name": {+ "smtp_port_secret_parameter_key": {"type": "string",- "nullable": true,- "title": "Region Name"+ "title": "Smtp Port Secret Parameter Key"},- "azure_storage_account_name": {+ "smtp_username_secret_parameter_key": {"type": "string",- "nullable": true,- "title": "Azure Storage Account Name"+ "title": "Smtp Username Secret Parameter Key"},- "azure_storage_account_key": {+ "smtp_password_secret_parameter_key": {"type": "string",- "nullable": true,- "title": "Azure Storage Account Key"+ "title": "Smtp Password Secret Parameter Key"},- "azure_blob_container_name": {+ "sender": {"type": "string",- "nullable": true,- "title": "Azure Blob Container Name"+ "title": "Sender"},- "azure_folder_path": {+ "recipients": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Recipients"+ },+ "subject": {"type": "string",- "nullable": true,- "title": "Azure Folder Path"+ "title": "Subject"},- "path": {+ "body": {"type": "string",- "nullable": true,- "title": "Path"+ "title": "Body"+ },+ "file_attachments": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "File Attachments"}},"type": "object","required": [- "label"+ "label",+ "smtp_host_secret_parameter_key",+ "smtp_port_secret_parameter_key",+ "smtp_username_secret_parameter_key",+ "smtp_password_secret_parameter_key",+ "sender",+ "recipients",+ "subject",+ "body"],- "title": "FileUploadBlockYAML"+ "title": "SendEmailBlockYAML"},- "ForLoopBlock": {+ "TOTPCode": {"properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."- },- "next_block_label": {+ "totp_identifier": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "title": "Totp Identifier",+ "description": "The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.",+ "examples": [+ "[email protected]",+ "4155555555",+ "user_123"+ ]},- "block_type": {- "type": "string",- "enum": [- "for_loop"+ "task_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "for_loop"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "title": "Task Id",+ "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",+ "examples": [+ "task_123456"+ ]},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "workflow_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Id",+ "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",+ "examples": [+ "wpid_123456"+ ]},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Id",+ "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",+ "examples": [+ "wr_123456"+ ]},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "source": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Source",+ "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",+ "examples": [+ "email",+ "sms",+ "app"+ ]},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "content": {+ "type": "string",+ "title": "Content",+ "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",+ "examples": [+ "Hello, your verification code is 123456"+ ]},- "loop_blocks": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/ConditionalBlock"- },- {- "$ref": "#/components/schemas/ForLoopBlock"- },- {- "$ref": "#/components/schemas/WhileLoopBlock"- },- {- "$ref": "#/components/schemas/TaskBlock"- },- {- "$ref": "#/components/schemas/CodeBlock"- },- {- "$ref": "#/components/schemas/TextPromptBlock"- },- {- "$ref": "#/components/schemas/DownloadToS3Block"- },- {- "$ref": "#/components/schemas/UploadToS3Block"- },- {- "$ref": "#/components/schemas/SendEmailBlock"- },- {- "$ref": "#/components/schemas/FileParserBlock"- },- {- "$ref": "#/components/schemas/PDFParserBlock"- },- {- "$ref": "#/components/schemas/ValidationBlock"- },- {- "$ref": "#/components/schemas/ActionBlock"- },- {- "$ref": "#/components/schemas/NavigationBlock"- },- {- "$ref": "#/components/schemas/ExtractionBlock"- },- {- "$ref": "#/components/schemas/LoginBlock"- },- {- "$ref": "#/components/schemas/WaitBlock"- },- {- "$ref": "#/components/schemas/HumanInteractionBlock"- },- {- "$ref": "#/components/schemas/FileDownloadBlock"- },- {- "$ref": "#/components/schemas/UrlBlock"- },- {- "$ref": "#/components/schemas/TaskV2Block"- },- {- "$ref": "#/components/schemas/FileUploadBlock"- },- {- "$ref": "#/components/schemas/HttpRequestBlock"- },- {- "$ref": "#/components/schemas/PrintPageBlock"- }- ],- "discriminator": {- "propertyName": "block_type",- "mapping": {- "action": "#/components/schemas/ActionBlock",- "code": "#/components/schemas/CodeBlock",- "conditional": "#/components/schemas/ConditionalBlock",- "download_to_s3": "#/components/schemas/DownloadToS3Block",- "extraction": "#/components/schemas/ExtractionBlock",- "file_download": "#/components/schemas/FileDownloadBlock",- "file_upload": "#/components/schemas/FileUploadBlock",- "file_url_parser": "#/components/schemas/FileParserBlock",- "for_loop": "#/components/schemas/ForLoopBlock",- "goto_url": "#/components/schemas/UrlBlock",- "http_request": "#/components/schemas/HttpRequestBlock",- "human_interaction": "#/components/schemas/HumanInteractionBlock",- "login": "#/components/schemas/LoginBlock",- "navigation": "#/components/schemas/NavigationBlock",- "pdf_parser": "#/components/schemas/PDFParserBlock",- "print_page": "#/components/schemas/PrintPageBlock",- "send_email": "#/components/schemas/SendEmailBlock",- "task": "#/components/schemas/TaskBlock",- "task_v2": "#/components/schemas/TaskV2Block",- "text_prompt": "#/components/schemas/TextPromptBlock",- "upload_to_s3": "#/components/schemas/UploadToS3Block",- "validation": "#/components/schemas/ValidationBlock",- "wait": "#/components/schemas/WaitBlock",- "while_loop": "#/components/schemas/WhileLoopBlock"- }+ "expired_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Loop Blocks"- },- "loop_over": {- "oneOf": [+ ],+ "title": "Expired At",+ "description": "The timestamp when the TOTP code expires",+ "examples": [+ "2025-01-01T00:00:00Z"+ ]+ },+ "type": {+ "anyOf": [{- "$ref": "#/components/schemas/WorkflowParameter"+ "$ref": "#/components/schemas/OTPType"},{- "$ref": "#/components/schemas/ContextParameter"- },+ "type": "null"+ }+ ],+ "description": "Optional. If provided, forces extraction of this specific OTP type (totp or magic_link). Use this when the content contains multiple OTP types and you want to specify which one to extract.",+ "examples": [+ "totp",+ "magic_link"+ ]+ },+ "totp_code_id": {+ "type": "string",+ "title": "Totp Code Id",+ "description": "The skyvern ID of the TOTP code."+ },+ "code": {+ "type": "string",+ "title": "Code",+ "description": "The TOTP code extracted from the content."+ },+ "organization_id": {+ "type": "string",+ "title": "Organization Id",+ "description": "The ID of the organization that the TOTP code is for."+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At",+ "description": "The timestamp when the TOTP code was created."+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At",+ "description": "The timestamp when the TOTP code was modified."+ },+ "otp_type": {+ "anyOf": [{- "$ref": "#/components/schemas/AWSSecretParameter"+ "$ref": "#/components/schemas/OTPType"},{- "$ref": "#/components/schemas/AzureSecretParameter"- },+ "type": "null"+ }+ ],+ "description": "The type of the OTP code."+ }+ },+ "type": "object",+ "required": [+ "totp_identifier",+ "content",+ "totp_code_id",+ "code",+ "organization_id",+ "created_at",+ "modified_at"+ ],+ "title": "TOTPCode"+ },+ "TOTPCodeCreate": {+ "properties": {+ "totp_identifier": {+ "type": "string",+ "title": "Totp Identifier",+ "description": "The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.",+ "examples": [+ "[email protected]",+ "4155555555",+ "user_123"+ ]+ },+ "task_id": {+ "anyOf": [{- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ "type": "string"},{- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },+ "type": "null"+ }+ ],+ "title": "Task Id",+ "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",+ "examples": [+ "task_123456"+ ]+ },+ "workflow_id": {+ "anyOf": [{- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ "type": "string"},{- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },+ "type": "null"+ }+ ],+ "title": "Workflow Id",+ "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",+ "examples": [+ "wpid_123456"+ ]+ },+ "workflow_run_id": {+ "anyOf": [{- "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ "type": "string"},{- "$ref": "#/components/schemas/OutputParameter"+ "type": "null"+ }+ ],+ "title": "Workflow Run Id",+ "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",+ "examples": [+ "wr_123456"+ ]+ },+ "source": {+ "anyOf": [+ {+ "type": "string"},{- "$ref": "#/components/schemas/CredentialParameter"+ "type": "null"}],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }- },- "nullable": true,- "title": "Loop Over"+ "title": "Source",+ "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",+ "examples": [+ "email",+ "sms",+ "app"+ ]},- "loop_variable_reference": {+ "content": {"type": "string",- "nullable": true,- "title": "Loop Variable Reference"+ "title": "Content",+ "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",+ "examples": [+ "Hello, your verification code is 123456"+ ]},- "complete_if_empty": {- "type": "boolean",- "title": "Complete If Empty",- "default": false+ "expired_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Expired At",+ "description": "The timestamp when the TOTP code expires",+ "examples": [+ "2025-01-01T00:00:00Z"+ ]+ },+ "type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/OTPType"+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional. If provided, forces extraction of this specific OTP type (totp or magic_link). Use this when the content contains multiple OTP types and you want to specify which one to extract.",+ "examples": [+ "totp",+ "magic_link"+ ]}},"type": "object","required": [- "label",- "output_parameter",- "loop_blocks"+ "totp_identifier",+ "content"],- "title": "ForLoopBlock"+ "title": "TOTPCodeCreate"},- "ForLoopBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "for_loop"- ],- "title": "Block Type",- "default": "for_loop"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "loop_blocks": {- "items": {- "anyOf": [- {- "$ref": "#/components/schemas/TaskBlockYAML"- },- {- "$ref": "#/components/schemas/ForLoopBlockYAML"- },- {- "$ref": "#/components/schemas/CodeBlockYAML"- },- {- "$ref": "#/components/schemas/TextPromptBlockYAML"- },- {- "$ref": "#/components/schemas/DownloadToS3BlockYAML"- },- {- "$ref": "#/components/schemas/UploadToS3BlockYAML"- },- {- "$ref": "#/components/schemas/FileUploadBlockYAML"- },- {- "$ref": "#/components/schemas/SendEmailBlockYAML"- },- {- "$ref": "#/components/schemas/FileParserBlockYAML"- },- {- "$ref": "#/components/schemas/ValidationBlockYAML"- },- {- "$ref": "#/components/schemas/ActionBlockYAML"- },- {- "$ref": "#/components/schemas/NavigationBlockYAML"- },- {- "$ref": "#/components/schemas/ExtractionBlockYAML"- },- {- "$ref": "#/components/schemas/LoginBlockYAML"- },- {- "$ref": "#/components/schemas/WaitBlockYAML"- },- {- "$ref": "#/components/schemas/HumanInteractionBlockYAML"- },- {- "$ref": "#/components/schemas/FileDownloadBlockYAML"- },- {- "$ref": "#/components/schemas/UrlBlockYAML"- },- {- "$ref": "#/components/schemas/PDFParserBlockYAML"- },- {- "$ref": "#/components/schemas/TaskV2BlockYAML"- },- {- "$ref": "#/components/schemas/HttpRequestBlockYAML"- },- {- "$ref": "#/components/schemas/ConditionalBlockYAML"- },- {- "$ref": "#/components/schemas/PrintPageBlockYAML"- }- ]+ "TagApplyRequest": {+ "properties": {+ "tags": {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object",+ "title": "Tags",+ "description": "Tags to set (overwrite). Map of key to value."+ },+ "tags_to_delete": {+ "items": {+ "type": "string"},"type": "array",- "title": "Loop Blocks"+ "title": "Tags To Delete",+ "description": "Tag keys to soft-delete."+ }+ },+ "type": "object",+ "title": "TagApplyRequest",+ "description": "Body for ``POST /v1/workflows/{wpid}/tags``. Either field may be empty;\nboth empty is a valid no-op. Same-key collisions: set wins over delete."+ },+ "TagHistoryItem": {+ "properties": {+ "tag_event_id": {+ "type": "string",+ "title": "Tag Event Id"},- "loop_over_parameter_key": {+ "key": {"type": "string",- "title": "Loop Over Parameter Key",- "default": ""+ "title": "Key"},- "loop_variable_reference": {+ "value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Value"+ },+ "event_type": {"type": "string",- "nullable": true,- "title": "Loop Variable Reference"+ "title": "Event Type"},- "complete_if_empty": {- "type": "boolean",- "title": "Complete If Empty",- "default": false+ "source": {+ "type": "string",+ "title": "Source"+ },+ "set_at": {+ "type": "string",+ "format": "date-time",+ "title": "Set At"+ },+ "set_by": {+ "type": "string",+ "title": "Set By"+ },+ "superseded_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Superseded At"}},"type": "object","required": [- "label",- "loop_blocks"+ "tag_event_id",+ "key",+ "value",+ "event_type",+ "source",+ "set_at",+ "set_by"],- "title": "ForLoopBlockYAML"+ "title": "TagHistoryItem",+ "description": "One row from ``GET /v1/workflows/{wpid}/tags/history``."},- "GeoTarget": {+ "TagHistoryResponse": {"properties": {- "country": {+ "workflow_permanent_id": {"type": "string",- "maxLength": 2,- "minLength": 2,- "title": "Country",- "description": "ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'DE')",- "example": "US"+ "title": "Workflow Permanent Id"},- "subdivision": {+ "events": {+ "items": {+ "$ref": "#/components/schemas/TagHistoryItem"+ },+ "type": "array",+ "title": "Events"+ }+ },+ "type": "object",+ "required": [+ "workflow_permanent_id",+ "events"+ ],+ "title": "TagHistoryResponse"+ },+ "TagKey": {+ "properties": {+ "key": {"type": "string",- "maxLength": 10,- "nullable": true,- "title": "Subdivision",- "description": "ISO 3166-2 subdivision code without country prefix (e.g., 'CA' for California, 'NY' for New York)",- "example": "CA"+ "title": "Key"},- "city": {+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"+ }+ },+ "type": "object",+ "required": [+ "key"+ ],+ "title": "TagKey",+ "description": "Tag-key registry entry."+ },+ "TagKeyUpdate": {+ "properties": {+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description",+ "description": "Free-form description (max 500 chars). Pass null to clear."+ }+ },+ "type": "object",+ "title": "TagKeyUpdate",+ "description": "Body for ``PATCH /v1/tag-keys/{key}``."+ },+ "TagResponse": {+ "properties": {+ "value": {"type": "string",- "maxLength": 100,- "nullable": true,- "title": "City",- "description": "City name in English from GeoNames (e.g., 'New York', 'Los Angeles', 'London')",- "example": "New York"+ "title": "Value"+ },+ "source": {+ "type": "string",+ "title": "Source"+ },+ "set_at": {+ "type": "string",+ "format": "date-time",+ "title": "Set At"+ },+ "set_by": {+ "type": "string",+ "title": "Set By"}},"type": "object","required": [- "country"+ "value",+ "source",+ "set_at",+ "set_by"],- "title": "GeoTarget",- "description": "Granular geographic targeting for proxy selection.\n\nSupports country, subdivision (state/region), and city level targeting.\nUses ISO 3166-1 alpha-2 for countries, ISO 3166-2 for subdivisions,\nand GeoNames English names for cities.\n\nExamples:\n - {\"country\": \"US\"} - United States (same as RESIDENTIAL)\n - {\"country\": \"US\", \"subdivision\": \"CA\"} - California, US\n - {\"country\": \"US\", \"subdivision\": \"NY\", \"city\": \"New York\"} - New York City\n - {\"country\": \"GB\", \"city\": \"London\"} - London, UK"+ "title": "TagResponse",+ "description": "Current state of one tag (``GET /v1/workflows/{wpid}/tags`` row)."},- "HTTPValidationError": {+ "TagsResponse": {"properties": {- "detail": {- "items": {- "$ref": "#/components/schemas/ValidationError"+ "workflow_permanent_id": {+ "type": "string",+ "title": "Workflow Permanent Id"+ },+ "tags": {+ "additionalProperties": {+ "$ref": "#/components/schemas/TagResponse"},- "type": "array",- "title": "Detail"+ "type": "object",+ "title": "Tags"}},"type": "object",- "title": "HTTPValidationError"+ "required": [+ "workflow_permanent_id",+ "tags"+ ],+ "title": "TagsResponse",+ "description": "Current tag map for a workflow."},- "HttpRequestBlock": {+ "TaskBlock": {"properties": {"label": {"type": "string",@@ -7066,18 +17703,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "http_request"- ],+ "const": "task","title": "Block Type",- "default": "http_request"+ "default": "task"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -7088,9 +17729,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -7098,62 +17745,133 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "method": {+ "task_type": {"type": "string",- "title": "Method",- "default": "GET"+ "title": "Task Type",+ "default": "general"},"url": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Url"},- "headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Headers"+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""},- "body": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Body"+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"},- "files": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Files"+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"},- "timeout": {- "type": "integer",- "title": "Timeout",- "default": 30+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"},- "follow_redirects": {- "type": "boolean",- "title": "Follow Redirects",- "default": true+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"},- "download_filename": {- "type": "string",- "nullable": true,- "title": "Download Filename"+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0},- "save_response_as_file": {- "type": "boolean",- "title": "Save Response As File",- "default": false+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"},"parameters": {"items": {@@ -7212,6 +17930,70 @@"type": "array","title": "Parameters","default": []+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"+ },+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true}},"type": "object",@@ -7219,17 +18001,15 @@"label","output_parameter"],- "title": "HttpRequestBlock"+ "title": "TaskBlock"},- "HttpRequestBlockYAML": {+ "TaskBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "http_request"- ],+ "const": "task","title": "Block Type",- "default": "http_request"+ "default": "task"},"label": {"type": "string",@@ -7237,8 +18017,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -7248,168 +18034,373 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},- "next_loop_on_failure": {+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ },+ "complete_on_download": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Complete On Download","default": false},- "method": {- "type": "string",- "title": "Method",- "default": "GET"+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"},- "url": {- "type": "string",- "nullable": true,- "title": "Url"+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"},- "headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Headers"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "body": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Body"+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false},- "files": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Files"+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"},- "timeout": {- "type": "integer",- "title": "Timeout",- "default": 30+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"},- "follow_redirects": {+ "complete_verification": {"type": "boolean",- "title": "Follow Redirects",+ "title": "Complete Verification","default": true},- "download_filename": {- "type": "string",- "nullable": true,- "title": "Download Filename"- },- "save_response_as_file": {+ "include_action_history_in_verification": {"type": "boolean",- "title": "Save Response As File",+ "title": "Include Action History In Verification","default": false- },- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"}},"type": "object","required": ["label"],- "title": "HttpRequestBlockYAML"+ "title": "TaskBlockYAML"},- "HumanInteractionBlock": {+ "TaskRunListItem": {"properties": {- "label": {+ "task_run_id": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "title": "Task Run Id"},- "next_block_label": {+ "run_id": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "title": "Run Id"},- "block_type": {+ "task_run_type": {"type": "string",- "enum": [- "human_interaction"+ "title": "Task Run Type"+ },+ "status": {+ "type": "string",+ "title": "Status"+ },+ "title": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "human_interaction"+ "title": "Title"},- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "started_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Started At"},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "finished_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Finished At"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"},- "disable_cache": {+ "workflow_permanent_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Permanent Id"+ },+ "workflow_deleted": {"type": "boolean",- "title": "Disable Cache",+ "title": "Workflow Deleted","default": false},- "next_loop_on_failure": {+ "script_run": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Script Run","default": false- },- "task_type": {+ }+ },+ "type": "object",+ "required": [+ "task_run_id",+ "run_id",+ "task_run_type",+ "status",+ "created_at"+ ],+ "title": "TaskRunListItem",+ "description": "Lightweight run-history item backed by the task_runs table."+ },+ "TaskRunRequest-Input": {+ "properties": {+ "prompt": {"type": "string",- "title": "Task Type",- "default": "general"+ "title": "Prompt",+ "description": "\nThe goal or task description for Skyvern to accomplish\n",+ "examples": [+ "Find the top 3 posts on Hacker News.",+ "Go to google finance, extract the \"AAPL\" stock price for me with the date."+ ]},"url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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"+ ]},"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"},- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"+ "title": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Title",+ "description": "The title for the task",+ "examples": [+ "The title of my first skyvern task"+ ]},- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "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"},- "data_schema": {+ "data_extraction_schema": {"anyOf": [{"additionalProperties": true,@@ -7421,662 +18412,853 @@},{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true+ "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"},"error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"- },- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"},- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "type": "object"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters",- "default": []- },- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false+ ],+ "title": "Error Code Mapping",+ "description": "\nCustom mapping of error codes to error messages if Skyvern encounters an error.\n",+ "examples": [+ {+ "login_failed": "The login credentials are incorrect or the account is locked"+ },+ {+ "maintenance_mode": "The website is down for maintenance"+ }+ ]},- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"+ "max_steps": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "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+ ]},- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"+ "webhook_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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://my-site.com/webhook"+ ]},"totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"- },- "instructions": {- "type": "string",- "title": "Instructions",- "default": "Please review and approve or reject to continue the workflow."- },- "positive_descriptor": {- "type": "string",- "title": "Positive Descriptor",- "default": "Approve"- },- "negative_descriptor": {- "type": "string",- "title": "Negative Descriptor",- "default": "Reject"- },- "timeout_seconds": {- "type": "integer",- "title": "Timeout Seconds",- "default": 7200- },- "sender": {- "type": "string",- "title": "Sender",- "default": "[email protected]"+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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"+ ]},- "recipients": {- "items": {- "type": "string"- },- "type": "array",- "title": "Recipients",- "default": []+ "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"+ ]},- "subject": {- "type": "string",- "title": "Subject",- "default": "Human interaction required for workflow run"+ "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"+ ]},- "body": {- "type": "string",- "title": "Body",- "default": "Your interaction is required for a workflow run!"- }- },- "type": "object",- "required": [- "label",- "output_parameter"- ],- "title": "HumanInteractionBlock",- "description": "A block for human/agent interaction.\n\nFor the first pass at this, the implicit behaviour is that the user is given a single binary\nchoice (a go//no-go).\n\nIf the human:\n - chooses positively, the workflow continues\n - chooses negatively, the workflow is terminated\n - does not respond within the timeout period, the workflow terminates"- },- "HumanInteractionBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "human_interaction"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "human_interaction"+ "title": "Model",+ "description": "\nOptional model configuration.\n"},- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."+ "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."},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ "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."},- "continue_on_failure": {+ "publish_workflow": {"type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "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},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",+ "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},- "instructions": {- "type": "string",- "title": "Instructions",- "default": "Please review and approve or reject to continue the workflow."- },- "positive_descriptor": {- "type": "string",- "title": "Positive Descriptor",- "default": "Approve"- },- "negative_descriptor": {- "type": "string",- "title": "Negative Descriptor",- "default": "Reject"- },- "timeout_seconds": {- "type": "integer",- "title": "Timeout Seconds"- },- "sender": {- "type": "string",- "title": "Sender"- },- "recipients": {- "items": {- "type": "string"- },- "type": "array",- "title": "Recipients"+ "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."},- "subject": {- "type": "string",- "title": "Subject"+ "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"+ ]},- "body": {- "type": "string",- "title": "Body"+ "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": [- "label",- "timeout_seconds",- "sender",- "recipients",- "subject",- "body"+ "prompt"],- "title": "HumanInteractionBlockYAML"+ "title": "TaskRunRequest"},- "InputOrSelectContext": {+ "TaskRunRequest-Output": {"properties": {- "intention": {- "type": "string",- "nullable": true,- "title": "Intention"- },- "field": {+ "prompt": {"type": "string",- "nullable": true,- "title": "Field"- },- "is_required": {- "type": "boolean",- "nullable": true,- "title": "Is Required"- },- "is_search_bar": {- "type": "boolean",- "nullable": true,- "title": "Is Search Bar"+ "title": "Prompt",+ "description": "\nThe goal or task description for Skyvern to accomplish\n",+ "examples": [+ "Find the top 3 posts on Hacker News.",+ "Go to google finance, extract the \"AAPL\" stock price for me with the date."+ ]},- "is_location_input": {- "type": "boolean",- "nullable": true,- "title": "Is Location Input"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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"+ ]},- "is_date_related": {- "type": "boolean",- "nullable": true,- "title": "Is Date Related"+ "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"},- "date_format": {- "type": "string",- "nullable": true,- "title": "Date Format"+ "title": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Title",+ "description": "The title for the task",+ "examples": [+ "The title of my first skyvern task"+ ]},- "is_text_captcha": {- "type": "boolean",- "nullable": true,- "title": "Is Text Captcha"- }- },- "type": "object",- "title": "InputOrSelectContext"- },- "InputTextAction": {- "properties": {- "type": {- "type": "string",- "enum": [- "ai_input_text"+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }],- "title": "Type",- "default": "ai_input_text"+ "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"},- "selector": {- "type": "string",- "nullable": true,- "title": "Selector",- "description": "CSS selector for the element",- "default": ""+ "data_extraction_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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"},- "value": {- "type": "string",- "nullable": true,- "title": "Value",- "description": "Value to input",- "default": ""+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping",+ "description": "\nCustom mapping of error codes to error messages if Skyvern encounters an error.\n",+ "examples": [+ {+ "login_failed": "The login credentials are incorrect or the account is locked"+ },+ {+ "maintenance_mode": "The website is down for maintenance"+ }+ ]},- "intention": {- "type": "string",- "title": "Intention",- "description": "The intention or goal of the input",- "default": ""+ "max_steps": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "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+ ]},- "data": {+ "webhook_url": {"anyOf": [{"type": "string"},{- "additionalProperties": true,- "type": "object"+ "type": "null"}],- "title": "Data",- "description": "Additional context data",- "nullable": true+ "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://my-site.com/webhook"+ ]},"totp_identifier": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Totp Identifier",- "description": "TOTP identifier for input_text actions"+ "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": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Totp Url",- "description": "TOTP URL for input_text actions"+ "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"+ ]},- "timeout": {- "type": "number",- "title": "Timeout",- "description": "Timeout in milliseconds",- "default": 10000- }- },- "type": "object",- "title": "InputTextAction",- "description": "Input text action parameters."- },- "JinjaBranchCriteria": {- "properties": {- "criteria_type": {- "type": "string",- "enum": [- "jinja2_template"+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Criteria Type",- "default": "jinja2_template"+ "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"+ ]},- "expression": {- "type": "string",- "title": "Expression"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model",+ "description": "\nOptional model configuration.\n"},- "description": {- "type": "string",- "nullable": true,- "title": "Description"- }- },- "type": "object",- "required": [- "expression"- ],- "title": "JinjaBranchCriteria",- "description": "Jinja2-templated branch criteria (only supported criteria type for now)."- },- "LocateElementAction": {- "properties": {- "type": {- "type": "string",- "enum": [- "locate_element"+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }],- "title": "Type",- "default": "locate_element"+ "title": "Extra Http Headers",+ "description": "The extra HTTP headers for the requests in browser."},- "prompt": {- "type": "string",- "title": "Prompt",- "description": "Natural language prompt to locate an element",- "default": ""+ "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",- "title": "LocateElementAction",- "description": "Locate element action parameters."+ "required": [+ "prompt"+ ],+ "title": "TaskRunRequest"},- "LoginBlock": {+ "TaskRunResponse": {"properties": {- "label": {+ "run_id": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "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"+ ]},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "status": {+ "$ref": "#/components/schemas/RunStatus",+ "description": "Current status of the run",+ "examples": [+ "created",+ "queued",+ "running",+ "timed_out",+ "failed",+ "terminated",+ "completed",+ "canceled"+ ]},- "block_type": {- "type": "string",- "enum": [- "login"+ "output": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "login"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "title": "Output",+ "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run."},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "downloaded_files": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/FileInfo"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Downloaded Files",+ "description": "List of files downloaded during the run"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "recording_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Recording Url",+ "description": "URL to the recording of the run"},- "next_loop_on_failure": {+ "recording_archived": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Recording Archived",+ "description": "True when the recording exists but has been archived to cold storage and is not currently accessible.","default": false},- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""+ "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."},- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "failure_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Failure Reason",+ "description": "Reason for failure if the run failed or terminated"},- "complete_criterion": {+ "created_at": {"type": "string",- "nullable": true,- "title": "Complete Criterion"+ "format": "date-time",+ "title": "Created At",+ "description": "Timestamp when this run was created",+ "examples": [+ "2025-01-01T00:00:00Z"+ ]},- "terminate_criterion": {+ "modified_at": {"type": "string",- "nullable": true,- "title": "Terminate Criterion"+ "format": "date-time",+ "title": "Modified At",+ "description": "Timestamp when this run was last modified",+ "examples": [+ "2025-01-01T00:05:00Z"+ ]},- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"+ "queued_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Queued At",+ "description": "Timestamp when this run was queued"},- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "started_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Started At",+ "description": "Timestamp when this run started execution"},- "data_schema": {+ "finished_at": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "string",+ "format": "date-time"},{- "items": {},- "type": "array"+ "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": "Data Schema",- "nullable": true+ "title": "Browser Session Id",+ "description": "ID of the Skyvern persistent browser session used for this run",+ "examples": [+ "pbs_123"+ ]},- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of the browser profile used for this run",+ "examples": [+ "bp_123"+ ]},- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "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"},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "script_run": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ScriptRunResponse"+ },+ {+ "type": "null"+ }+ ],+ "description": "The script run result"},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"+ "errors": {+ "anyOf": [+ {+ "items": {+ "additionalProperties": true,+ "type": "object"},- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "type": "array"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters",- "default": []- },- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"+ ],+ "title": "Errors",+ "description": "The errors for the run"},- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true+ "step_count": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Step Count",+ "description": "Total number of steps executed in this run"},- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false+ "run_type": {+ "type": "string",+ "enum": [+ "task_v1",+ "task_v2",+ "openai_cua",+ "anthropic_cua",+ "ui_tars",+ "yutori_navigator"+ ],+ "title": "Run Type",+ "description": "Types of a task run - task_v1, task_v2, openai_cua, anthropic_cua, ui_tars"},- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"+ "run_request": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/TaskRunRequest-Output"+ },+ {+ "type": "null"+ }+ ],+ "description": "The original request parameters used to start this task run"}},"type": "object","required": [- "label",- "output_parameter"+ "run_id",+ "status",+ "created_at",+ "modified_at",+ "run_type"],- "title": "LoginBlock"+ "title": "TaskRunResponse"},- "LoginBlockYAML": {+ "TaskV2Block": {"properties": {- "block_type": {- "type": "string",- "enum": [- "login"- ],- "title": "Block Type",- "default": "login"- },"label": {"type": "string","title": "Label",- "description": "Author-facing identifier; must be unique per workflow."+ "description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "task_v2",+ "title": "Block Type",+ "default": "task_v2"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"},"continue_on_failure": {"type": "boolean",@@ -8084,237 +19266,201 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},- "next_loop_on_failure": {+ "disable_cache": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Disable Cache","default": false},- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "navigation_goal": {+ "prompt": {"type": "string",- "nullable": true,- "title": "Navigation Goal"- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "title": "Prompt"},- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"},"totp_verification_url": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Totp Verification Url"},"totp_identifier": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Totp Identifier"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- },- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"+ "max_iterations": {+ "type": "integer",+ "title": "Max Iterations",+ "default": 10},- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true+ "max_steps": {+ "type": "integer",+ "title": "Max Steps",+ "default": 25}},"type": "object","required": [- "label"+ "label",+ "output_parameter",+ "prompt"],- "title": "LoginBlockYAML"+ "title": "TaskV2Block"},- "LoginRequest": {+ "TaskV2BlockYAML": {"properties": {- "url": {- "type": "string",- "nullable": true,- "title": "Url",- "description": "Website URL"- },- "webhook_url": {- "type": "string",- "nullable": true,- "title": "Webhook Url",- "description": "Webhook URL to send status updates"- },- "proxy_location": {- "$ref": "#/components/schemas/ProxyLocation",- "nullable": true,- "description": "Proxy location to use"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier",- "description": "Identifier for TOTP (Time-based One-Time Password) if required"- },- "totp_url": {+ "block_type": {"type": "string",- "nullable": true,- "title": "Totp Url",- "description": "TOTP URL to fetch one-time passwords"+ "const": "task_v2",+ "title": "Block Type",+ "default": "task_v2"},- "browser_session_id": {+ "label": {"type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "ID of the browser session to use, which is prefixed by `pbs_` e.g. `pbs_123456`",- "example": "pbs_123456"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "browser_profile_id": {- "type": "string",- "nullable": true,- "title": "Browser Profile Id",- "description": "ID of a browser profile to reuse for this run"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "browser_address": {- "type": "string",- "nullable": true,- "title": "Browser Address",- "description": "The CDP address for the task.",- "example": "http://127.0.0.1:9222"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "extra_http_headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Extra Http Headers",- "description": "Additional HTTP headers to include in requests"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "max_screenshot_scrolling_times": {- "type": "integer",- "nullable": true,- "title": "Max Screenshot Scrolling Times",- "description": "Maximum number of times to scroll for screenshots"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "credential_type": {- "$ref": "#/components/schemas/skyvern__schemas__run_blocks__CredentialType",- "description": "Where to get the credential from"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},"prompt": {"type": "string",- "nullable": true,- "title": "Prompt",- "description": "Login instructions. Skyvern has default prompt/instruction for login if this field is not provided."- },- "credential_id": {- "type": "string",- "nullable": true,- "title": "Credential Id",- "description": "ID of the Skyvern credential to use for login.",- "example": "cred_123"- },- "bitwarden_collection_id": {- "type": "string",- "nullable": true,- "title": "Bitwarden Collection Id",- "description": "Bitwarden collection ID. You can find it in the Bitwarden collection URL. e.g. `https://vault.bitwarden.com/vaults/collection_id/items`"- },- "bitwarden_item_id": {- "type": "string",- "nullable": true,- "title": "Bitwarden Item Id",- "description": "Bitwarden item ID"+ "title": "Prompt"},- "onepassword_vault_id": {- "type": "string",- "nullable": true,- "title": "Onepassword Vault Id",- "description": "1Password vault ID"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"},- "onepassword_item_id": {- "type": "string",- "nullable": true,- "title": "Onepassword Item Id",- "description": "1Password item ID"+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"},- "azure_vault_name": {- "type": "string",- "nullable": true,- "title": "Azure Vault Name",- "description": "Azure Vault Name"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "azure_vault_username_key": {- "type": "string",- "nullable": true,- "title": "Azure Vault Username Key",- "description": "Azure Vault username key"+ "max_iterations": {+ "type": "integer",+ "title": "Max Iterations",+ "default": 10},- "azure_vault_password_key": {- "type": "string",- "nullable": true,- "title": "Azure Vault Password Key",- "description": "Azure Vault password key"+ "max_steps": {+ "type": "integer",+ "title": "Max Steps",+ "default": 25},- "azure_vault_totp_secret_key": {- "type": "string",- "nullable": true,- "title": "Azure Vault Totp Secret Key",- "description": "Azure Vault TOTP secret key"+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false}},"type": "object","required": [- "credential_type"+ "label",+ "prompt"],- "title": "LoginRequest"+ "title": "TaskV2BlockYAML"},- "NavigationBlock": {+ "TextPromptBlock": {"properties": {"label": {"type": "string",@@ -8322,18 +19468,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "navigation"- ],+ "const": "text_prompt","title": "Block Type",- "default": "navigation"+ "default": "text_prompt"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -8344,9 +19494,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -8354,83 +19510,30 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"- },- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "navigation_goal": {- "type": "string",- "title": "Navigation Goal"- },- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"- },- "data_schema": {+ "llm_key": {"anyOf": [{- "additionalProperties": true,- "type": "object"- },- {- "items": {},- "type": "array"+ "type": "string"},{- "type": "string"+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "title": "Llm Key"},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "prompt": {+ "type": "string",+ "title": "Prompt"},"parameters": {"items": {@@ -8490,59 +19593,34 @@"title": "Parameters","default": []},- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"+ "json_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Json Schema"}},"type": "object","required": ["label","output_parameter",- "navigation_goal"+ "prompt"],- "title": "NavigationBlock"+ "title": "TextPromptBlock"},- "NavigationBlockYAML": {+ "TextPromptBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "navigation"- ],+ "const": "text_prompt","title": "Block Type",- "default": "navigation"+ "default": "text_prompt"},"label": {"type": "string",@@ -8550,8 +19628,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -8561,414 +19645,625 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "navigation_goal": {- "type": "string",- "title": "Navigation Goal"+ "llm_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Llm Key"},- "url": {+ "prompt": {"type": "string",- "nullable": true,- "title": "Url"+ "title": "Prompt"},- "title": {- "type": "string",- "title": "Title",- "default": ""+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"},- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "json_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Json Schema"+ }+ },+ "type": "object",+ "required": [+ "label",+ "prompt"+ ],+ "title": "TextPromptBlockYAML"+ },+ "Thought": {+ "properties": {+ "thought_id": {+ "type": "string",+ "title": "Thought Id"},- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"+ "task_id": {+ "type": "string",+ "title": "Task Id"},- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "organization_id": {+ "type": "string",+ "title": "Organization Id"},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Id"},- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"+ "workflow_run_block_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Run Block Id"},- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false+ "workflow_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Id"},- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"+ "workflow_permanent_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Permanent Id"},- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"+ "user_input": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "User Input"},- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"+ "observation": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Observation"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "thought": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Thought"},- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"+ "answer": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Answer"},- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"+ "thought_type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ThoughtType"+ },+ {+ "type": "null"+ }+ ],+ "default": "plan"},- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true+ "thought_scenario": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ThoughtScenario"+ },+ {+ "type": "null"+ }+ ]},- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- }- },- "type": "object",- "required": [- "label",- "navigation_goal"- ],- "title": "NavigationBlockYAML"- },- "NonEmptyCreditCardCredential": {- "properties": {- "card_number": {- "type": "string",- "minLength": 1,- "title": "Card Number",- "description": "The full credit card number (must not be empty)",- "example": "4111111111111111"+ "output": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output"},- "card_cvv": {- "type": "string",- "minLength": 1,- "title": "Card Cvv",- "description": "The card's CVV (must not be empty)",- "example": "123"+ "input_token_count": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Input Token Count"},- "card_exp_month": {- "type": "string",- "minLength": 1,- "title": "Card Exp Month",- "description": "The card's expiration month (must not be empty)",- "example": "12"+ "output_token_count": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output Token Count"},- "card_exp_year": {- "type": "string",- "minLength": 1,- "title": "Card Exp Year",- "description": "The card's expiration year (must not be empty)",- "example": "2025"+ "reasoning_token_count": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Reasoning Token Count"},- "card_brand": {- "type": "string",- "minLength": 1,- "title": "Card Brand",- "description": "The card's brand (must not be empty)",- "example": "visa"+ "cached_token_count": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cached Token Count"},- "card_holder_name": {- "type": "string",- "minLength": 1,- "title": "Card Holder Name",- "description": "The name of the card holder (must not be empty)",- "example": "John Doe"- }- },- "type": "object",- "required": [- "card_number",- "card_cvv",- "card_exp_month",- "card_exp_year",- "card_brand",- "card_holder_name"- ],- "title": "NonEmptyCreditCardCredential",- "description": "Credit card credential model that requires non-empty values."- },- "NonEmptyPasswordCredential": {- "properties": {- "password": {- "type": "string",- "minLength": 1,- "title": "Password",- "description": "The password value (must not be empty)",- "example": "securepassword123"+ "thought_cost": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Thought Cost"},- "username": {- "type": "string",- "minLength": 1,- "title": "Username",- "description": "The username associated with the credential (must not be empty)",- "example": "[email protected]"+ "last_llm_model": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Last Llm Model"},- "totp": {+ "created_at": {"type": "string",- "nullable": true,- "title": "Totp",- "description": "Optional TOTP (Time-based One-Time Password) string used to generate 2FA codes",- "example": "JBSWY3DPEHPK3PXP"- },- "totp_type": {- "$ref": "#/components/schemas/TotpType",- "description": "Type of 2FA method used for this credential",- "default": "none",- "example": "authenticator"+ "format": "date-time",+ "title": "Created At"},- "totp_identifier": {+ "modified_at": {"type": "string",- "nullable": true,- "title": "Totp Identifier",- "description": "Identifier (email or phone number) used to fetch TOTP codes",- "example": "[email protected]"+ "format": "date-time",+ "title": "Modified At"}},"type": "object","required": [- "password",- "username"+ "thought_id",+ "task_id",+ "organization_id",+ "created_at",+ "modified_at"],- "title": "NonEmptyPasswordCredential",- "description": "Password credential model that requires non-empty values."+ "title": "Thought"},- "OTPType": {+ "ThoughtScenario": {"type": "string","enum": [- "totp",- "magic_link"+ "generate_plan",+ "user_goal_check",+ "failure_describe",+ "summarization",+ "generate_metadata",+ "extract_loop_values",+ "generate_task_in_loop",+ "generate_general_task",+ "termination"],- "title": "OTPType"+ "title": "ThoughtScenario",+ "description": "Scenario in which a thought was generated.\n\nNote: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values\ncan be added without database migrations. See observer_thoughts.observer_thought_scenario column."},- "OnePasswordCredentialParameter": {+ "ThoughtType": {+ "type": "string",+ "enum": [+ "plan",+ "metadata",+ "user_goal_check",+ "internal_plan",+ "failure_describe",+ "termination"+ ],+ "title": "ThoughtType",+ "description": "Type of thought recorded during task execution.\n\nNote: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values\ncan be added without database migrations. See observer_thoughts.observer_thought_type column."+ },+ "TotpType": {+ "type": "string",+ "enum": [+ "authenticator",+ "email",+ "text",+ "none"+ ],+ "title": "TotpType",+ "description": "Type of 2FA/TOTP method used."+ },+ "UpdateBrowserProfileRequest": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "onepassword"+ "name": {+ "anyOf": [+ {+ "type": "string",+ "minLength": 1+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "onepassword"- },- "key": {- "type": "string",- "title": "Key"+ "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": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Folder Id",+ "description": "Folder ID to assign workflow to. Set to null to remove from folder."+ }+ },+ "type": "object",+ "title": "UpdateWorkflowFolderRequest",+ "description": "Request model for updating a workflow's folder assignment"+ },+ "UploadFileAction": {+ "properties": {+ "type": {"type": "string",- "nullable": true,- "title": "Description"- },- "onepassword_credential_parameter_id": {- "type": "string",- "title": "Onepassword Credential Parameter Id"- },- "workflow_id": {- "type": "string",- "title": "Workflow Id"+ "const": "ai_upload_file",+ "title": "Type",+ "default": "ai_upload_file"},- "vault_id": {- "type": "string",- "title": "Vault Id"+ "selector": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Selector",+ "description": "CSS selector for the element",+ "default": ""},- "item_id": {- "type": "string",- "title": "Item Id"+ "file_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "File Url",+ "description": "File URL for upload",+ "default": ""},- "created_at": {+ "intention": {"type": "string",- "format": "date-time",- "title": "Created At"+ "title": "Intention",+ "description": "The intention or goal of the upload",+ "default": ""},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "data": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data",+ "description": "Additional context data"},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "timeout": {+ "type": "number",+ "title": "Timeout",+ "description": "Timeout in milliseconds",+ "default": 5000}},"type": "object",- "required": [- "key",- "onepassword_credential_parameter_id",- "workflow_id",- "vault_id",- "item_id",- "created_at",- "modified_at"- ],- "title": "OnePasswordCredentialParameter"+ "title": "UploadFileAction",+ "description": "Upload file action parameters."},- "OnePasswordCredentialParameterYAML": {+ "UploadFileResponse": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "onepassword"- ],- "title": "Parameter Type",- "default": "onepassword"- },- "key": {- "type": "string",- "title": "Key"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "vault_id": {+ "s3_uri": {"type": "string",- "title": "Vault Id"+ "title": "S3 Uri",+ "description": "S3 URI where the file was uploaded"},- "item_id": {+ "presigned_url": {"type": "string",- "title": "Item Id"+ "title": "Presigned Url",+ "description": "Presigned URL to access the uploaded file"}},"type": "object","required": [- "key",- "vault_id",- "item_id"+ "s3_uri",+ "presigned_url"],- "title": "OnePasswordCredentialParameterYAML"+ "title": "UploadFileResponse"},- "OutputParameter": {+ "UploadToS3Block": {"properties": {- "parameter_type": {+ "label": {"type": "string",- "enum": [- "output"+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."+ },+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "output"+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},- "key": {+ "block_type": {"type": "string",- "title": "Key"+ "const": "upload_to_s3",+ "title": "Block Type",+ "default": "upload_to_s3"},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"},- "output_parameter_id": {- "type": "string",- "title": "Output Parameter Id"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "workflow_id": {- "type": "string",- "title": "Workflow Id"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Path"}},"type": "object","required": [- "key",- "output_parameter_id",- "workflow_id",- "created_at",- "modified_at"+ "label",+ "output_parameter"],- "title": "OutputParameter"+ "title": "UploadToS3Block"},- "OutputParameterYAML": {+ "UploadToS3BlockYAML": {"properties": {- "parameter_type": {+ "block_type": {"type": "string",- "enum": [- "output"- ],- "title": "Parameter Type",- "default": "output"+ "const": "upload_to_s3",+ "title": "Block Type",+ "default": "upload_to_s3"},- "key": {+ "label": {"type": "string",- "title": "Key"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"+ },+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false+ },+ "path": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Path"}},- "type": "object",- "required": [- "key"- ],- "title": "OutputParameterYAML"- },- "PDFFormat": {- "type": "string",- "enum": [- "A4",- "Letter",- "Legal",- "Tabloid"+ "type": "object",+ "required": [+ "label"],- "title": "PDFFormat"+ "title": "UploadToS3BlockYAML"},- "PDFParserBlock": {+ "UrlBlock": {"properties": {"label": {"type": "string",@@ -8976,18 +20271,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "pdf_parser"- ],+ "const": "goto_url","title": "Block Type",- "default": "pdf_parser"+ "default": "goto_url"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -8998,9 +20297,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -9008,40 +20313,265 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "file_url": {+ "task_type": {"type": "string",- "title": "File Url"+ "title": "Task Type",+ "default": "general"+ },+ "url": {+ "type": "string",+ "title": "Url"+ },+ "title": {+ "type": "string",+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"+ },+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0+ },+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"+ },+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []+ },+ "complete_on_download": {+ "type": "boolean",+ "title": "Complete On Download",+ "default": false+ },+ "download_suffix": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ },+ "download_timeout": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Download Timeout"},- "json_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Json Schema"+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true}},"type": "object","required": ["label","output_parameter",- "file_url"+ "url"],- "title": "PDFParserBlock",- "description": "DEPRECATED: Use FileParserBlock with file_type=FileType.PDF instead.\nThis block will be removed in a future version."+ "title": "UrlBlock"},- "PDFParserBlockYAML": {+ "UrlBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "pdf_parser"- ],+ "const": "goto_url","title": "Block Type",- "default": "pdf_parser"+ "default": "goto_url"},"label": {"type": "string",@@ -9049,8 +20579,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -9060,95 +20596,105 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "file_url": {+ "url": {"type": "string",- "title": "File Url"- },- "json_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Json Schema"+ "title": "Url"}},"type": "object","required": ["label",- "file_url"+ "url"],- "title": "PDFParserBlockYAML"+ "title": "UrlBlockYAML"},- "PasswordCredentialResponse": {+ "UserDefinedError": {"properties": {- "username": {+ "error_code": {"type": "string",- "title": "Username",- "description": "The username associated with the credential",- "example": "[email protected]"+ "title": "Error Code"},- "totp_type": {- "$ref": "#/components/schemas/TotpType",- "description": "Type of 2FA method used for this credential",- "default": "none",- "example": "authenticator"+ "reasoning": {+ "type": "string",+ "title": "Reasoning"},- "totp_identifier": {+ "confidence_float": {+ "type": "number",+ "maximum": 1.0,+ "minimum": 0.0,+ "title": "Confidence Float"+ },+ "error_type": {"type": "string",- "nullable": true,- "title": "Totp Identifier",- "description": "Identifier (email or phone number) used to fetch TOTP codes",- "example": "[email protected]"+ "const": "USER_DEFINED_ERROR",+ "title": "Error Type",+ "default": "USER_DEFINED_ERROR"}},"type": "object","required": [- "username"- ],- "title": "PasswordCredentialResponse",- "description": "Response model for password credentials, containing only the username."- },- "PersistentBrowserType": {- "type": "string",- "enum": [- "msedge",- "chrome"- ],- "title": "PersistentBrowserType"- },- "PlanTier": {- "type": "string",- "enum": [- "free",- "hobby",- "pro"+ "error_code",+ "reasoning",+ "confidence_float"],- "title": "PlanTier",- "description": "Self-serve subscription tiers. Enterprise customers use manual billing (bypass)."+ "title": "UserDefinedError"},- "PortalSessionResponse": {+ "ValidateAction": {"properties": {- "url": {+ "type": {"type": "string",- "title": "Url"+ "const": "validate",+ "title": "Type",+ "default": "validate"+ },+ "prompt": {+ "type": "string",+ "title": "Prompt",+ "description": "Validation criteria or condition to check"+ },+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model",+ "description": "Optional model configuration"}},"type": "object","required": [- "url"+ "prompt"],- "title": "PortalSessionResponse"+ "title": "ValidateAction",+ "description": "Validate action parameters."},- "PrintPageBlock": {+ "ValidationBlock": {"properties": {"label": {"type": "string",@@ -9156,18 +20702,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "print_page"- ],+ "const": "validation","title": "Block Type",- "default": "print_page"+ "default": "validation"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -9178,9 +20728,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -9188,35 +20744,133 @@"title": "Disable Cache","default": false},- "next_loop_on_failure": {+ "ignore_workflow_system_prompt": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Ignore Workflow System Prompt","default": false},- "include_timestamp": {+ "next_loop_on_failure": {"type": "boolean",- "title": "Include Timestamp",- "default": true+ "title": "Next Loop On Failure",+ "default": false},- "custom_filename": {+ "task_type": {"type": "string",- "nullable": true,- "title": "Custom Filename"+ "title": "Task Type",+ "default": "general"},- "format": {+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"+ },+ "title": {"type": "string",- "title": "Format",- "default": "A4"+ "title": "Title",+ "default": ""+ },+ "engine": {+ "$ref": "#/components/schemas/RunEngine",+ "default": "skyvern-1.0"+ },+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"+ },+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"+ },+ "navigation_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Goal"+ },+ "data_extraction_goal": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Extraction Goal"+ },+ "data_schema": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Data Schema"+ },+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"},- "landscape": {- "type": "boolean",- "title": "Landscape",- "default": false+ "max_retries": {+ "type": "integer",+ "title": "Max Retries",+ "default": 0},- "print_background": {- "type": "boolean",- "title": "Print Background",- "default": true+ "max_steps_per_run": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Steps Per Run"},"parameters": {"items": {@@ -9275,551 +20929,234 @@"type": "array","title": "Parameters","default": []- }- },- "type": "object",- "required": [- "label",- "output_parameter"- ],- "title": "PrintPageBlock"- },- "PrintPageBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "print_page"- ],- "title": "Block Type",- "default": "print_page"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "include_timestamp": {- "type": "boolean",- "title": "Include Timestamp",- "default": true- },- "custom_filename": {- "type": "string",- "nullable": true,- "title": "Custom Filename"- },- "format": {- "$ref": "#/components/schemas/PDFFormat",- "default": "A4"},- "landscape": {+ "complete_on_download": {"type": "boolean",- "title": "Landscape",+ "title": "Complete On Download","default": false},- "print_background": {- "type": "boolean",- "title": "Print Background",- "default": true- },- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"- }- },- "type": "object",- "required": [- "label"- ],- "title": "PrintPageBlockYAML"- },- "PromptAction": {- "properties": {- "type": {- "type": "string",- "enum": [- "prompt"- ],- "title": "Type",- "default": "prompt"- },- "prompt": {- "type": "string",- "title": "Prompt",- "description": "The prompt to send to the LLM"- },- "response_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Response Schema",- "description": "Optional JSON schema to structure the response"- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model",- "description": "Optional model configuration"- }- },- "type": "object",- "required": [- "prompt"- ],- "title": "PromptAction",- "description": "Prompt action parameters."- },- "PromptBranchCriteria": {- "properties": {- "criteria_type": {- "type": "string",- "enum": [- "prompt"- ],- "title": "Criteria Type",- "default": "prompt"- },- "expression": {- "type": "string",- "title": "Expression"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- }- },- "type": "object",- "required": [- "expression"- ],- "title": "PromptBranchCriteria",- "description": "Natural language branch criteria."- },- "ProxyLocation": {- "type": "string",- "enum": [- "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"- ],- "title": "ProxyLocation"- },- "RetryRunWebhookRequest": {- "properties": {- "webhook_url": {- "type": "string",- "nullable": true,- "title": "Webhook Url",- "description": "Optional webhook URL to send the payload to instead of the stored configuration"- }- },- "type": "object",- "title": "RetryRunWebhookRequest"- },- "RunEngine": {- "type": "string",- "enum": [- "skyvern-1.0",- "skyvern-2.0",- "openai-cua",- "anthropic-cua",- "ui-tars"- ],- "title": "RunEngine"- },- "RunSdkActionRequest": {- "properties": {- "url": {- "type": "string",- "title": "Url",- "description": "The URL where the action should be executed"- },- "browser_session_id": {- "type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "The browser session ID"- },- "browser_address": {- "type": "string",- "nullable": true,- "title": "Browser Address",- "description": "The browser address"- },- "workflow_run_id": {- "type": "string",- "nullable": true,- "title": "Workflow Run Id",- "description": "Optional workflow run ID to continue an existing workflow run"- },- "action": {- "oneOf": [- {- "$ref": "#/components/schemas/ClickAction"- },+ "download_suffix": {+ "anyOf": [{- "$ref": "#/components/schemas/InputTextAction"+ "type": "string"},{- "$ref": "#/components/schemas/SelectOptionAction"- },+ "type": "null"+ }+ ],+ "title": "Download Suffix"+ },+ "totp_verification_url": {+ "anyOf": [{- "$ref": "#/components/schemas/UploadFileAction"+ "type": "string"},{- "$ref": "#/components/schemas/ActAction"- },+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"+ },+ "totp_identifier": {+ "anyOf": [{- "$ref": "#/components/schemas/ExtractAction"+ "type": "string"},{- "$ref": "#/components/schemas/LocateElementAction"- },+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "complete_verification": {+ "type": "boolean",+ "title": "Complete Verification",+ "default": true+ },+ "include_action_history_in_verification": {+ "type": "boolean",+ "title": "Include Action History In Verification",+ "default": false+ },+ "download_timeout": {+ "anyOf": [{- "$ref": "#/components/schemas/ValidateAction"+ "type": "number"},{- "$ref": "#/components/schemas/PromptAction"+ "type": "null"}],- "title": "Action",- "description": "The action to execute with its specific parameters",- "discriminator": {- "propertyName": "type",- "mapping": {- "ai_act": "#/components/schemas/ActAction",- "ai_click": "#/components/schemas/ClickAction",- "ai_input_text": "#/components/schemas/InputTextAction",- "ai_select_option": "#/components/schemas/SelectOptionAction",- "ai_upload_file": "#/components/schemas/UploadFileAction",- "extract": "#/components/schemas/ExtractAction",- "locate_element": "#/components/schemas/LocateElementAction",- "prompt": "#/components/schemas/PromptAction",- "validate": "#/components/schemas/ValidateAction"- }- }- }- },- "type": "object",- "required": [- "url",- "action"- ],- "title": "RunSdkActionRequest",- "description": "Request to run a single SDK action."- },- "RunSdkActionResponse": {- "properties": {- "workflow_run_id": {- "type": "string",- "title": "Workflow Run Id",- "description": "The workflow run ID used for this action"+ "title": "Download Timeout"},- "result": {- "nullable": true,- "title": "Result",- "description": "The result from the action (e.g., selector, value, extracted data)"+ "include_extracted_text": {+ "type": "boolean",+ "title": "Include Extracted Text",+ "default": true}},"type": "object","required": [- "workflow_run_id"- ],- "title": "RunSdkActionResponse",- "description": "Response from running an SDK action."- },- "RunStatus": {- "type": "string",- "enum": [- "created",- "queued",- "running",- "timed_out",- "failed",- "terminated",- "completed",- "canceled"+ "label",+ "output_parameter"],- "title": "RunStatus"+ "title": "ValidationBlock"},- "Script": {+ "ValidationBlockYAML": {"properties": {- "script_revision_id": {+ "block_type": {"type": "string",- "title": "Script Revision Id",- "description": "Unique identifier for this specific script revision"+ "const": "validation",+ "title": "Block Type",+ "default": "validation"},- "script_id": {+ "label": {"type": "string",- "title": "Script Id",- "description": "User-facing script identifier, consistent across versions"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "organization_id": {- "type": "string",- "title": "Organization Id",- "description": "ID of the organization that owns this script"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "run_id": {- "type": "string",- "nullable": true,- "title": "Run Id",- "description": "ID of the workflow run or task run that generated this script"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "version": {- "type": "integer",- "title": "Version",- "description": "Version number of the script"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At",- "description": "Timestamp when the script was created"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At",- "description": "Timestamp when the script was last modified"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At",- "description": "Timestamp when the script was soft deleted"- }- },- "type": "object",- "required": [- "script_revision_id",- "script_id",- "organization_id",- "version",- "created_at",- "modified_at"- ],- "title": "Script"- },- "ScriptFileCreate": {- "properties": {- "path": {- "type": "string",- "title": "Path",- "description": "File path relative to script root",- "example": "src/main.py"+ "complete_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Complete Criterion"},- "content": {- "type": "string",- "title": "Content",- "description": "Base64 encoded file content"+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Terminate Criterion"},- "encoding": {- "$ref": "#/components/schemas/FileEncoding",- "description": "Content encoding",- "default": "base64"+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"},- "mime_type": {- "type": "string",- "nullable": true,- "title": "Mime Type",- "description": "MIME type (auto-detected if not provided)"- }- },- "type": "object",- "required": [- "path",- "content"- ],- "title": "ScriptFileCreate",- "description": "Model representing a file in a script."- },- "ScriptRunResponse": {- "properties": {- "ai_fallback_triggered": {+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"+ },+ "disable_cache": {"type": "boolean",- "title": "Ai Fallback Triggered",+ "title": "Disable Cache","default": false- },- "script_id": {- "type": "string",- "nullable": true,- "title": "Script Id"- },- "script_revision_id": {- "type": "string",- "nullable": true,- "title": "Script Revision Id"- }- },- "type": "object",- "title": "ScriptRunResponse"- },- "SecretCredential": {- "properties": {- "secret_value": {- "type": "string",- "minLength": 1,- "title": "Secret Value",- "description": "The secret value",- "example": "sk-abc123"- },- "secret_label": {- "type": "string",- "nullable": true,- "title": "Secret Label",- "description": "Optional label describing the secret"}},"type": "object","required": [- "secret_value"+ "label"],- "title": "SecretCredential",- "description": "Generic secret credential."- },- "SecretCredentialResponse": {- "properties": {- "secret_label": {- "type": "string",- "nullable": true,- "title": "Secret Label",- "description": "Optional label for the stored secret"- }- },- "type": "object",- "title": "SecretCredentialResponse",- "description": "Response model for secret credentials."+ "title": "ValidationBlockYAML"},- "SelectOption": {+ "ValidationError": {"properties": {- "label": {- "type": "string",- "nullable": true,- "title": "Label"+ "loc": {+ "items": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ }+ ]+ },+ "type": "array",+ "title": "Location"},- "value": {+ "msg": {"type": "string",- "nullable": true,- "title": "Value"+ "title": "Message"},- "index": {- "type": "integer",- "nullable": true,- "title": "Index"- }- },- "type": "object",- "title": "SelectOption"- },- "SelectOptionAction": {- "properties": {"type": {"type": "string",- "enum": [- "ai_select_option"- ],- "title": "Type",- "default": "ai_select_option"- },- "selector": {- "type": "string",- "nullable": true,- "title": "Selector",- "description": "CSS selector for the element",- "default": ""- },- "value": {- "type": "string",- "nullable": true,- "title": "Value",- "description": "Value to select",- "default": ""- },- "intention": {- "type": "string",- "title": "Intention",- "description": "The intention or goal of the selection",- "default": ""+ "title": "Error Type"},- "data": {- "anyOf": [- {- "type": "string"- },- {- "additionalProperties": true,- "type": "object"- }- ],- "title": "Data",- "description": "Additional context data",- "nullable": true+ "input": {+ "title": "Input"},- "timeout": {- "type": "number",- "title": "Timeout",- "description": "Timeout in milliseconds",- "default": 10000+ "ctx": {+ "type": "object",+ "title": "Context"}},"type": "object",- "title": "SelectOptionAction",- "description": "Select option action parameters."+ "required": [+ "loc",+ "msg",+ "type"+ ],+ "title": "ValidationError"},- "SendEmailBlock": {+ "WaitBlock": {"properties": {"label": {"type": "string",@@ -9827,18 +21164,22 @@"description": "Author-facing identifier for a block; unique within a workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},"block_type": {"type": "string",- "enum": [- "send_email"- ],+ "const": "wait","title": "Block Type",- "default": "send_email"+ "default": "wait"},"output_parameter": {"$ref": "#/components/schemas/OutputParameter"@@ -9849,9 +21190,15 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},"disable_cache": {@@ -9859,75 +21206,94 @@"title": "Disable Cache","default": false},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "smtp_host": {- "$ref": "#/components/schemas/AWSSecretParameter"- },- "smtp_port": {- "$ref": "#/components/schemas/AWSSecretParameter"- },- "smtp_username": {- "$ref": "#/components/schemas/AWSSecretParameter"- },- "smtp_password": {- "$ref": "#/components/schemas/AWSSecretParameter"- },- "sender": {- "type": "string",- "title": "Sender"- },- "recipients": {- "items": {- "type": "string"- },- "type": "array",- "title": "Recipients"- },- "subject": {- "type": "string",- "title": "Subject"- },- "body": {- "type": "string",- "title": "Body"+ "wait_sec": {+ "type": "integer",+ "title": "Wait Sec"},- "file_attachments": {+ "parameters": {"items": {- "type": "string"+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }},"type": "array",- "title": "File Attachments",+ "title": "Parameters","default": []- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "smtp_host",- "smtp_port",- "smtp_username",- "smtp_password",- "sender",- "recipients",- "subject",- "body"+ }+ },+ "type": "object",+ "required": [+ "label",+ "output_parameter",+ "wait_sec"],- "title": "SendEmailBlock"+ "title": "WaitBlock"},- "SendEmailBlockYAML": {+ "WaitBlockYAML": {"properties": {"block_type": {"type": "string",- "enum": [- "send_email"- ],+ "const": "wait","title": "Block Type",- "default": "send_email"+ "default": "wait"},"label": {"type": "string",@@ -9935,8 +21301,14 @@"description": "Author-facing identifier; must be unique per workflow."},"next_block_label": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Next Block Label","description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},@@ -9946,641 +21318,748 @@"default": false},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],"title": "Model"},+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false+ },"next_loop_on_failure": {"type": "boolean","title": "Next Loop On Failure","default": false},- "smtp_host_secret_parameter_key": {- "type": "string",- "title": "Smtp Host Secret Parameter Key"- },- "smtp_port_secret_parameter_key": {- "type": "string",- "title": "Smtp Port Secret Parameter Key"- },- "smtp_username_secret_parameter_key": {- "type": "string",- "title": "Smtp Username Secret Parameter Key"- },- "smtp_password_secret_parameter_key": {- "type": "string",- "title": "Smtp Password Secret Parameter Key"- },- "sender": {- "type": "string",- "title": "Sender"- },- "recipients": {- "items": {- "type": "string"- },- "type": "array",- "title": "Recipients"- },- "subject": {- "type": "string",- "title": "Subject"- },- "body": {- "type": "string",- "title": "Body"- },- "file_attachments": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "File Attachments"+ "wait_sec": {+ "type": "integer",+ "title": "Wait Sec",+ "default": 0}},"type": "object","required": [- "label",- "smtp_host_secret_parameter_key",- "smtp_port_secret_parameter_key",- "smtp_username_secret_parameter_key",- "smtp_password_secret_parameter_key",- "sender",- "recipients",- "subject",- "body"+ "label"],- "title": "SendEmailBlockYAML"+ "title": "WaitBlockYAML"},- "TOTPCode": {+ "WhileLoopBlock": {"properties": {- "totp_identifier": {- "type": "string",- "title": "Totp Identifier",- "description": "The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.",- "example": "[email protected]"- },- "task_id": {- "type": "string",- "nullable": true,- "title": "Task Id",- "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",- "example": "task_123456"- },- "workflow_id": {- "type": "string",- "nullable": true,- "title": "Workflow Id",- "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",- "example": "wpid_123456"- },- "workflow_run_id": {+ "label": {"type": "string",- "nullable": true,- "title": "Workflow Run Id",- "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",- "example": "wr_123456"+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."},- "source": {- "type": "string",- "nullable": true,- "title": "Source",- "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",- "example": "email"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."},- "content": {+ "block_type": {"type": "string",- "title": "Content",- "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",- "example": "Hello, your verification code is 123456"+ "const": "while_loop",+ "title": "Block Type",+ "default": "while_loop"},- "expired_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Expired At",- "description": "The timestamp when the TOTP code expires",- "example": "2025-01-01T00:00:00Z"+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"},- "type": {- "$ref": "#/components/schemas/OTPType",- "nullable": true,- "description": "Optional. If provided, forces extraction of this specific OTP type (totp or magic_link). Use this when the content contains multiple OTP types and you want to specify which one to extract.",- "example": "totp"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "totp_code_id": {- "type": "string",- "title": "Totp Code Id",- "description": "The skyvern ID of the TOTP code."+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "code": {- "type": "string",- "title": "Code",- "description": "The TOTP code extracted from the content."+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false},- "organization_id": {- "type": "string",- "title": "Organization Id",- "description": "The ID of the organization that the TOTP code is for."+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At",- "description": "The timestamp when the TOTP code was created."+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At",- "description": "The timestamp when the TOTP code was modified."+ "loop_blocks": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/ConditionalBlock"+ },+ {+ "$ref": "#/components/schemas/ForLoopBlock"+ },+ {+ "$ref": "#/components/schemas/WhileLoopBlock"+ },+ {+ "$ref": "#/components/schemas/TaskBlock"+ },+ {+ "$ref": "#/components/schemas/CodeBlock"+ },+ {+ "$ref": "#/components/schemas/TextPromptBlock"+ },+ {+ "$ref": "#/components/schemas/DownloadToS3Block"+ },+ {+ "$ref": "#/components/schemas/UploadToS3Block"+ },+ {+ "$ref": "#/components/schemas/SendEmailBlock"+ },+ {+ "$ref": "#/components/schemas/FileParserBlock"+ },+ {+ "$ref": "#/components/schemas/PDFParserBlock"+ },+ {+ "$ref": "#/components/schemas/ValidationBlock"+ },+ {+ "$ref": "#/components/schemas/ActionBlock"+ },+ {+ "$ref": "#/components/schemas/NavigationBlock"+ },+ {+ "$ref": "#/components/schemas/ExtractionBlock"+ },+ {+ "$ref": "#/components/schemas/LoginBlock"+ },+ {+ "$ref": "#/components/schemas/WaitBlock"+ },+ {+ "$ref": "#/components/schemas/HumanInteractionBlock"+ },+ {+ "$ref": "#/components/schemas/FileDownloadBlock"+ },+ {+ "$ref": "#/components/schemas/UrlBlock"+ },+ {+ "$ref": "#/components/schemas/TaskV2Block"+ },+ {+ "$ref": "#/components/schemas/FileUploadBlock"+ },+ {+ "$ref": "#/components/schemas/HttpRequestBlock"+ },+ {+ "$ref": "#/components/schemas/PrintPageBlock"+ },+ {+ "$ref": "#/components/schemas/WorkflowTriggerBlock"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsReadBlock"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsWriteBlock"+ }+ ],+ "discriminator": {+ "propertyName": "block_type",+ "mapping": {+ "action": "#/components/schemas/ActionBlock",+ "code": "#/components/schemas/CodeBlock",+ "conditional": "#/components/schemas/ConditionalBlock",+ "download_to_s3": "#/components/schemas/DownloadToS3Block",+ "extraction": "#/components/schemas/ExtractionBlock",+ "file_download": "#/components/schemas/FileDownloadBlock",+ "file_upload": "#/components/schemas/FileUploadBlock",+ "file_url_parser": "#/components/schemas/FileParserBlock",+ "for_loop": "#/components/schemas/ForLoopBlock",+ "google_sheets_read": "#/components/schemas/GoogleSheetsReadBlock",+ "google_sheets_write": "#/components/schemas/GoogleSheetsWriteBlock",+ "goto_url": "#/components/schemas/UrlBlock",+ "http_request": "#/components/schemas/HttpRequestBlock",+ "human_interaction": "#/components/schemas/HumanInteractionBlock",+ "login": "#/components/schemas/LoginBlock",+ "navigation": "#/components/schemas/NavigationBlock",+ "pdf_parser": "#/components/schemas/PDFParserBlock",+ "print_page": "#/components/schemas/PrintPageBlock",+ "send_email": "#/components/schemas/SendEmailBlock",+ "task": "#/components/schemas/TaskBlock",+ "task_v2": "#/components/schemas/TaskV2Block",+ "text_prompt": "#/components/schemas/TextPromptBlock",+ "upload_to_s3": "#/components/schemas/UploadToS3Block",+ "validation": "#/components/schemas/ValidationBlock",+ "wait": "#/components/schemas/WaitBlock",+ "while_loop": "#/components/schemas/WhileLoopBlock",+ "workflow_trigger": "#/components/schemas/WorkflowTriggerBlock"+ }+ }+ },+ "type": "array",+ "title": "Loop Blocks"},- "otp_type": {- "$ref": "#/components/schemas/OTPType",- "nullable": true,- "description": "The type of the OTP code."+ "condition": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/JinjaBranchCriteria"+ },+ {+ "$ref": "#/components/schemas/PromptBranchCriteria"+ }+ ],+ "title": "Condition",+ "discriminator": {+ "propertyName": "criteria_type",+ "mapping": {+ "jinja2_template": "#/components/schemas/JinjaBranchCriteria",+ "prompt": "#/components/schemas/PromptBranchCriteria"+ }+ }}},"type": "object","required": [- "totp_identifier",- "content",- "totp_code_id",- "code",- "organization_id",- "created_at",- "modified_at"+ "label",+ "output_parameter",+ "loop_blocks",+ "condition"],- "title": "TOTPCode"+ "title": "WhileLoopBlock",+ "description": "Loop block driven by a runtime condition. Iterates while ``condition`` evaluates truthy.\n\nTop-of-loop semantics: the condition is evaluated *before* each iteration (including the\nfirst). If the condition is false on the first check, the body never runs and the block\nreturns success with an empty output list.\n\nSafety: the loop is capped at ``DEFAULT_MAX_LOOP_ITERATIONS`` (500). Reaching the cap is\ntreated as a failure so that a misbehaving condition can never spin forever."},- "TOTPCodeCreate": {+ "WhileLoopBlockYAML": {"properties": {- "totp_identifier": {+ "block_type": {"type": "string",- "title": "Totp Identifier",- "description": "The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.",- "example": "[email protected]"+ "const": "while_loop",+ "title": "Block Type",+ "default": "while_loop"},- "task_id": {+ "label": {"type": "string",- "nullable": true,- "title": "Task Id",- "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",- "example": "task_123456"+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "workflow_id": {- "type": "string",- "nullable": true,- "title": "Workflow Id",- "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",- "example": "wpid_123456"+ "next_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "workflow_run_id": {- "type": "string",- "nullable": true,- "title": "Workflow Run Id",- "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",- "example": "wr_123456"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "source": {- "type": "string",- "nullable": true,- "title": "Source",- "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",- "example": "email"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "content": {- "type": "string",- "title": "Content",- "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",- "example": "Hello, your verification code is 123456"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "expired_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Expired At",- "description": "The timestamp when the TOTP code expires",- "example": "2025-01-01T00:00:00Z"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "type": {- "$ref": "#/components/schemas/OTPType",- "nullable": true,- "description": "Optional. If provided, forces extraction of this specific OTP type (totp or magic_link). Use this when the content contains multiple OTP types and you want to specify which one to extract.",- "example": "totp"+ "loop_blocks": {+ "items": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/TaskBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ForLoopBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WhileLoopBlockYAML"+ },+ {+ "$ref": "#/components/schemas/CodeBlockYAML"+ },+ {+ "$ref": "#/components/schemas/TextPromptBlockYAML"+ },+ {+ "$ref": "#/components/schemas/DownloadToS3BlockYAML"+ },+ {+ "$ref": "#/components/schemas/UploadToS3BlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileUploadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/SendEmailBlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileParserBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ValidationBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ActionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/NavigationBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ExtractionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/LoginBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WaitBlockYAML"+ },+ {+ "$ref": "#/components/schemas/HumanInteractionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileDownloadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/UrlBlockYAML"+ },+ {+ "$ref": "#/components/schemas/PDFParserBlockYAML"+ },+ {+ "$ref": "#/components/schemas/TaskV2BlockYAML"+ },+ {+ "$ref": "#/components/schemas/HttpRequestBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ConditionalBlockYAML"+ },+ {+ "$ref": "#/components/schemas/PrintPageBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WorkflowTriggerBlockYAML"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsReadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsWriteBlockYAML"+ }+ ]+ },+ "type": "array",+ "title": "Loop Blocks"+ },+ "condition": {+ "$ref": "#/components/schemas/BranchCriteriaYAML"}},"type": "object","required": [- "totp_identifier",- "content"+ "label",+ "loop_blocks",+ "condition"],- "title": "TOTPCodeCreate"+ "title": "WhileLoopBlockYAML"},- "TaskBlock": {+ "Workflow": {"properties": {- "label": {+ "workflow_id": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "title": "Workflow Id"},- "next_block_label": {+ "organization_id": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "title": "Organization Id"},- "block_type": {+ "title": {"type": "string",- "enum": [- "task"- ],- "title": "Block Type",- "default": "task"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "title": "Title"},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "workflow_permanent_id": {+ "type": "string",+ "title": "Workflow Permanent Id"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "version": {+ "type": "integer",+ "title": "Version"},- "disable_cache": {+ "is_saved_task": {"type": "boolean",- "title": "Disable Cache",- "default": false+ "title": "Is Saved Task"},- "next_loop_on_failure": {+ "is_template": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Is Template","default": false},- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"},- "url": {- "type": "string",- "nullable": true,- "title": "Url"+ "workflow_definition": {+ "$ref": "#/components/schemas/WorkflowDefinition"},- "title": {- "type": "string",- "title": "Title",- "default": ""+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Proxy Location"},- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "webhook_callback_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Webhook Callback Url"},- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"},- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"+ "persist_browser_session": {+ "type": "boolean",+ "title": "Persist Browser Session",+ "default": false},- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id"},- "data_schema": {+ "model": {"anyOf": [{"additionalProperties": true,"type": "object"},{- "items": {},- "type": "array"- },- {- "type": "string"+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "title": "Model"},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "status": {+ "$ref": "#/components/schemas/WorkflowStatus",+ "default": "published"},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"- },- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "max_screenshot_scrolls": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters",- "default": []+ ],+ "title": "Max Screenshot Scrolls"},- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes"},- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Http Headers"},- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers"},- "totp_identifier": {+ "run_with": {"type": "string",- "nullable": true,- "title": "Totp Identifier"+ "title": "Run With",+ "default": "agent"},- "complete_verification": {+ "ai_fallback": {"type": "boolean",- "title": "Complete Verification",+ "title": "Ai Fallback","default": true},- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"- }- },- "type": "object",- "required": [- "label",- "output_parameter"- ],- "title": "TaskBlock"- },- "TaskBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "task"+ "cache_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "task"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ "title": "Cache Key"},- "continue_on_failure": {+ "adaptive_caching": {"type": "boolean",- "title": "Continue On Failure",+ "title": "Adaptive Caching","default": false},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "code_version": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Code Version"},- "next_loop_on_failure": {+ "generate_script_on_terminal": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Generate Script On Terminal","default": false},- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "title": {- "type": "string",- "title": "Title",- "default": ""- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"- },- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"- },- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"- },- "data_schema": {+ "run_sequentially": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "boolean"},{- "items": {},- "type": "array"- },+ "type": "null"+ }+ ],+ "title": "Run Sequentially"+ },+ "sequential_key": {+ "anyOf": [{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "title": "Sequential Key"},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "folder_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Folder Id"},- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"+ "import_error": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Import Error"},- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false+ "created_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Created By"},- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"+ "edited_by": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Edited By"},- "totp_verification_url": {+ "created_at": {"type": "string",- "nullable": true,- "title": "Totp Verification Url"+ "format": "date-time",+ "title": "Created At"},- "totp_identifier": {+ "modified_at": {"type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "format": "date-time",+ "title": "Modified At"},- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"},- "terminate_criterion": {+ "agent_id": {"type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false+ "title": "Agent Id",+ "description": "Alias of `workflow_permanent_id` — the stable agent identifier (starts with `wpid_`).",+ "readOnly": true}},"type": "object","required": [- "label"+ "workflow_id",+ "organization_id",+ "title",+ "workflow_permanent_id",+ "version",+ "is_saved_task",+ "workflow_definition",+ "created_at",+ "modified_at",+ "agent_id"],- "title": "TaskBlockYAML"+ "title": "Workflow"},- "TaskRunRequest": {- "properties": {- "prompt": {- "type": "string",- "title": "Prompt",- "description": "\nThe goal or task description for Skyvern to accomplish\n",- "example": "Find the top 3 posts on Hacker News."- },- "url": {- "type": "string",- "nullable": true,- "title": "Url",- "description": "\nThe starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL\n",- "example": "https://www.hackernews.com"- },- "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"- },+ "WorkflowCreateYAMLRequest": {+ "properties": {"title": {"type": "string",- "nullable": true,- "title": "Title",- "description": "The title for the task",- "example": "The title of my first skyvern task"+ "title": "Title"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"},"proxy_location": {"anyOf": [@@ -10593,758 +22072,733 @@{"additionalProperties": true,"type": "object"+ },+ {+ "type": "null"}],- "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_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\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\"}",- "default": "RESIDENTIAL",- "nullable": true+ "title": "Proxy Location"},- "data_extraction_schema": {+ "webhook_callback_url": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "string"},{- "items": {},- "type": "array"- },+ "type": "null"+ }+ ],+ "title": "Webhook Callback Url"+ },+ "totp_verification_url": {+ "anyOf": [{"type": "string"+ },+ {+ "type": "null"}],- "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",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping",- "description": "\nCustom mapping of error codes to error messages if Skyvern encounters an error.\n",- "example": {- "login_failed": "The login credentials are incorrect or the account is locked"- }- },- "max_steps": {- "type": "integer",- "nullable": true,- "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",- "example": 10- },- "webhook_url": {- "type": "string",- "nullable": true,- "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",- "example": "https://my-site.com/webhook"+ "title": "Totp Verification Url"},"totp_identifier": {- "type": "string",- "nullable": true,- "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",- "example": "[email protected]"+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"},- "totp_url": {- "type": "string",- "nullable": true,- "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",- "example": "https://my-totp-service.com/totp"+ "persist_browser_session": {+ "type": "boolean",+ "title": "Persist Browser Session",+ "default": false},- "browser_session_id": {- "type": "string",- "nullable": true,- "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",- "example": "pbs_123"+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id"},"model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model",- "description": "\nOptional model configuration.\n"- },- "extra_http_headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Extra Http Headers",- "description": "The extra HTTP headers for the requests in browser."+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "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+ "workflow_definition": {+ "$ref": "#/components/schemas/WorkflowDefinitionYAML"},- "include_action_history_in_verification": {+ "is_saved_task": {"type": "boolean",- "nullable": true,- "title": "Include Action History In Verification",- "description": "Whether to include action history when verifying that the task is complete",+ "title": "Is Saved Task","default": false},"max_screenshot_scrolls": {- "type": "integer",- "nullable": true,- "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": {- "type": "string",- "nullable": true,- "title": "Browser Address",- "description": "The CDP address for the task.",- "example": "http://127.0.0.1:9222"- },- "run_with": {- "type": "string",- "nullable": true,- "title": "Run With",- "description": "Whether to run the task with agent or code.",- "example": "agent"- }- },- "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.",- "example": "tsk_123"+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Screenshot Scrolls"},- "status": {- "$ref": "#/components/schemas/RunStatus",- "description": "Current status of the run",- "example": "created"+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 240.0,+ "minimum": 1.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes"},- "output": {+ "extra_http_headers": {"anyOf": [{- "additionalProperties": true,+ "additionalProperties": {+ "type": "string"+ },"type": "object"},{- "items": {},- "type": "array"+ "type": "null"+ }+ ],+ "title": "Extra Http Headers"+ },+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"},{- "type": "string"+ "type": "null"}],- "title": "Output",- "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run.",- "nullable": true- },- "downloaded_files": {- "items": {- "$ref": "#/components/schemas/FileInfo"- },- "type": "array",- "nullable": true,- "title": "Downloaded Files",- "description": "List of files downloaded during the run"- },- "recording_url": {- "type": "string",- "nullable": true,- "title": "Recording Url",- "description": "URL to the recording of the run"- },- "screenshot_urls": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "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": {- "type": "string",- "nullable": true,- "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",- "example": "2025-01-01T00:00:00Z"- },- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At",- "description": "Timestamp when this run was last modified",- "example": "2025-01-01T00:05:00Z"- },- "queued_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Queued At",- "description": "Timestamp when this run was queued"- },- "started_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Started At",- "description": "Timestamp when this run started execution"+ "title": "Cdp Connect Headers"},- "finished_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Finished At",- "description": "Timestamp when this run finished"- },- "app_url": {- "type": "string",- "nullable": true,- "title": "App Url",- "description": "URL to the application UI where the run can be viewed",- "example": "https://app.skyvern.com/tasks/tsk_123"- },- "browser_session_id": {- "type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "ID of the Skyvern persistent browser session used for this run",- "example": "pbs_123"+ "status": {+ "$ref": "#/components/schemas/WorkflowStatus",+ "default": "published"},- "browser_profile_id": {+ "run_with": {"type": "string",- "nullable": true,- "title": "Browser Profile Id",- "description": "ID of the browser profile used for this run",- "example": "bp_123"+ "title": "Run With",+ "default": "agent"},- "max_screenshot_scrolls": {- "type": "integer",- "nullable": true,- "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"+ "ai_fallback": {+ "type": "boolean",+ "title": "Ai Fallback",+ "default": true},- "script_run": {- "$ref": "#/components/schemas/ScriptRunResponse",- "nullable": true,- "description": "The script run result"+ "cache_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cache Key",+ "default": "default"},- "errors": {- "items": {- "additionalProperties": true,- "type": "object"- },- "type": "array",- "nullable": true,- "title": "Errors",- "description": "The errors for the run"+ "adaptive_caching": {+ "type": "boolean",+ "title": "Adaptive Caching",+ "default": false},- "step_count": {- "type": "integer",- "nullable": true,- "title": "Step Count",- "description": "Total number of steps executed in this run"+ "code_version": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 2.0,+ "minimum": 1.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Code Version"},- "run_type": {- "type": "string",- "enum": [- "task_v1",- "task_v2",- "openai_cua",- "anthropic_cua",- "ui_tars",- "yutori_navigator"+ "generate_script_on_terminal": {+ "type": "boolean",+ "title": "Generate Script On Terminal",+ "default": false+ },+ "run_sequentially": {+ "type": "boolean",+ "title": "Prevent Overlapping Runs",+ "default": false+ },+ "sequential_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Run Type",- "description": "Types of a task run - task_v1, task_v2, openai_cua, anthropic_cua, ui_tars, yutori_navigator"+ "title": "Sequential Key"},- "run_request": {- "$ref": "#/components/schemas/TaskRunRequest",- "nullable": true,- "description": "The original request parameters used to start this task run"+ "folder_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Folder Id"}},"type": "object","required": [- "run_id",- "status",- "created_at",- "modified_at",- "run_type"+ "title",+ "workflow_definition"],- "title": "TaskRunResponse"+ "title": "WorkflowCreateYAMLRequest"},- "TaskV2Block": {+ "WorkflowDefinition": {"properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "version": {+ "type": "integer",+ "title": "Version",+ "default": 1},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters"+ },+ "blocks": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/ConditionalBlock"+ },+ {+ "$ref": "#/components/schemas/ForLoopBlock"+ },+ {+ "$ref": "#/components/schemas/WhileLoopBlock"+ },+ {+ "$ref": "#/components/schemas/TaskBlock"+ },+ {+ "$ref": "#/components/schemas/CodeBlock"+ },+ {+ "$ref": "#/components/schemas/TextPromptBlock"+ },+ {+ "$ref": "#/components/schemas/DownloadToS3Block"+ },+ {+ "$ref": "#/components/schemas/UploadToS3Block"+ },+ {+ "$ref": "#/components/schemas/SendEmailBlock"+ },+ {+ "$ref": "#/components/schemas/FileParserBlock"+ },+ {+ "$ref": "#/components/schemas/PDFParserBlock"+ },+ {+ "$ref": "#/components/schemas/ValidationBlock"+ },+ {+ "$ref": "#/components/schemas/ActionBlock"+ },+ {+ "$ref": "#/components/schemas/NavigationBlock"+ },+ {+ "$ref": "#/components/schemas/ExtractionBlock"+ },+ {+ "$ref": "#/components/schemas/LoginBlock"+ },+ {+ "$ref": "#/components/schemas/WaitBlock"+ },+ {+ "$ref": "#/components/schemas/HumanInteractionBlock"+ },+ {+ "$ref": "#/components/schemas/FileDownloadBlock"+ },+ {+ "$ref": "#/components/schemas/UrlBlock"+ },+ {+ "$ref": "#/components/schemas/TaskV2Block"+ },+ {+ "$ref": "#/components/schemas/FileUploadBlock"+ },+ {+ "$ref": "#/components/schemas/HttpRequestBlock"+ },+ {+ "$ref": "#/components/schemas/PrintPageBlock"+ },+ {+ "$ref": "#/components/schemas/WorkflowTriggerBlock"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsReadBlock"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsWriteBlock"+ }+ ],+ "discriminator": {+ "propertyName": "block_type",+ "mapping": {+ "action": "#/components/schemas/ActionBlock",+ "code": "#/components/schemas/CodeBlock",+ "conditional": "#/components/schemas/ConditionalBlock",+ "download_to_s3": "#/components/schemas/DownloadToS3Block",+ "extraction": "#/components/schemas/ExtractionBlock",+ "file_download": "#/components/schemas/FileDownloadBlock",+ "file_upload": "#/components/schemas/FileUploadBlock",+ "file_url_parser": "#/components/schemas/FileParserBlock",+ "for_loop": "#/components/schemas/ForLoopBlock",+ "google_sheets_read": "#/components/schemas/GoogleSheetsReadBlock",+ "google_sheets_write": "#/components/schemas/GoogleSheetsWriteBlock",+ "goto_url": "#/components/schemas/UrlBlock",+ "http_request": "#/components/schemas/HttpRequestBlock",+ "human_interaction": "#/components/schemas/HumanInteractionBlock",+ "login": "#/components/schemas/LoginBlock",+ "navigation": "#/components/schemas/NavigationBlock",+ "pdf_parser": "#/components/schemas/PDFParserBlock",+ "print_page": "#/components/schemas/PrintPageBlock",+ "send_email": "#/components/schemas/SendEmailBlock",+ "task": "#/components/schemas/TaskBlock",+ "task_v2": "#/components/schemas/TaskV2Block",+ "text_prompt": "#/components/schemas/TextPromptBlock",+ "upload_to_s3": "#/components/schemas/UploadToS3Block",+ "validation": "#/components/schemas/ValidationBlock",+ "wait": "#/components/schemas/WaitBlock",+ "while_loop": "#/components/schemas/WhileLoopBlock",+ "workflow_trigger": "#/components/schemas/WorkflowTriggerBlock"+ }+ }+ },+ "type": "array",+ "title": "Blocks"},- "block_type": {- "type": "string",- "enum": [- "task_v2"+ "finally_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "task_v2"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "prompt": {- "type": "string",- "title": "Prompt"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "max_iterations": {- "type": "integer",- "title": "Max Iterations",- "default": 10+ "title": "Finally Block Label"},- "max_steps": {- "type": "integer",- "title": "Max Steps",- "default": 25- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "prompt"- ],- "title": "TaskV2Block"- },- "TaskV2BlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "task_v2"+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "task_v2"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "prompt": {- "type": "string",- "title": "Prompt"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "max_iterations": {- "type": "integer",- "title": "Max Iterations",- "default": 10- },- "max_steps": {- "type": "integer",- "title": "Max Steps",- "default": 25+ "title": "Error Code Mapping"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "workflow_system_prompt": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow System Prompt"}},"type": "object","required": [- "label",- "prompt"+ "parameters",+ "blocks"],- "title": "TaskV2BlockYAML"+ "title": "WorkflowDefinition"},- "TextPromptBlock": {+ "WorkflowDefinitionYAML": {"properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."- },- "block_type": {- "type": "string",- "enum": [- "text_prompt"- ],- "title": "Block Type",- "default": "text_prompt"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "llm_key": {- "type": "string",- "nullable": true,- "title": "Llm Key"+ "version": {+ "type": "integer",+ "title": "Version",+ "default": 1},- "prompt": {- "type": "string",- "title": "Prompt"+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/AWSSecretParameterYAML"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameterYAML"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameterYAML"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameterYAML"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameterYAML"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameterYAML"+ },+ {+ "$ref": "#/components/schemas/WorkflowParameterYAML"+ },+ {+ "$ref": "#/components/schemas/ContextParameterYAML"+ },+ {+ "$ref": "#/components/schemas/OutputParameterYAML"+ },+ {+ "$ref": "#/components/schemas/CredentialParameterYAML"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameterYAML",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameterYAML",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameterYAML",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameterYAML",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameterYAML",+ "context": "#/components/schemas/ContextParameterYAML",+ "credential": "#/components/schemas/CredentialParameterYAML",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameterYAML",+ "output": "#/components/schemas/OutputParameterYAML",+ "workflow": "#/components/schemas/WorkflowParameterYAML"+ }+ }+ },+ "type": "array",+ "title": "Parameters"},- "parameters": {+ "blocks": {"items": {"oneOf": [{- "$ref": "#/components/schemas/WorkflowParameter"+ "$ref": "#/components/schemas/TaskBlockYAML"},{- "$ref": "#/components/schemas/ContextParameter"+ "$ref": "#/components/schemas/ForLoopBlockYAML"},{- "$ref": "#/components/schemas/AWSSecretParameter"+ "$ref": "#/components/schemas/WhileLoopBlockYAML"},{- "$ref": "#/components/schemas/AzureSecretParameter"+ "$ref": "#/components/schemas/CodeBlockYAML"},{- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ "$ref": "#/components/schemas/TextPromptBlockYAML"},{- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ "$ref": "#/components/schemas/DownloadToS3BlockYAML"},{- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ "$ref": "#/components/schemas/UploadToS3BlockYAML"},{- "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ "$ref": "#/components/schemas/FileUploadBlockYAML"},{- "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ "$ref": "#/components/schemas/SendEmailBlockYAML"},{- "$ref": "#/components/schemas/OutputParameter"+ "$ref": "#/components/schemas/FileParserBlockYAML"},{- "$ref": "#/components/schemas/CredentialParameter"+ "$ref": "#/components/schemas/ValidationBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ActionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/NavigationBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ExtractionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/LoginBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WaitBlockYAML"+ },+ {+ "$ref": "#/components/schemas/HumanInteractionBlockYAML"+ },+ {+ "$ref": "#/components/schemas/FileDownloadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/UrlBlockYAML"+ },+ {+ "$ref": "#/components/schemas/PDFParserBlockYAML"+ },+ {+ "$ref": "#/components/schemas/TaskV2BlockYAML"+ },+ {+ "$ref": "#/components/schemas/HttpRequestBlockYAML"+ },+ {+ "$ref": "#/components/schemas/ConditionalBlockYAML"+ },+ {+ "$ref": "#/components/schemas/PrintPageBlockYAML"+ },+ {+ "$ref": "#/components/schemas/WorkflowTriggerBlockYAML"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsReadBlockYAML"+ },+ {+ "$ref": "#/components/schemas/GoogleSheetsWriteBlockYAML"}],"discriminator": {- "propertyName": "parameter_type",+ "propertyName": "block_type","mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"+ "action": "#/components/schemas/ActionBlockYAML",+ "code": "#/components/schemas/CodeBlockYAML",+ "conditional": "#/components/schemas/ConditionalBlockYAML",+ "download_to_s3": "#/components/schemas/DownloadToS3BlockYAML",+ "extraction": "#/components/schemas/ExtractionBlockYAML",+ "file_download": "#/components/schemas/FileDownloadBlockYAML",+ "file_upload": "#/components/schemas/FileUploadBlockYAML",+ "file_url_parser": "#/components/schemas/FileParserBlockYAML",+ "for_loop": "#/components/schemas/ForLoopBlockYAML",+ "google_sheets_read": "#/components/schemas/GoogleSheetsReadBlockYAML",+ "google_sheets_write": "#/components/schemas/GoogleSheetsWriteBlockYAML",+ "goto_url": "#/components/schemas/UrlBlockYAML",+ "http_request": "#/components/schemas/HttpRequestBlockYAML",+ "human_interaction": "#/components/schemas/HumanInteractionBlockYAML",+ "login": "#/components/schemas/LoginBlockYAML",+ "navigation": "#/components/schemas/NavigationBlockYAML",+ "pdf_parser": "#/components/schemas/PDFParserBlockYAML",+ "print_page": "#/components/schemas/PrintPageBlockYAML",+ "send_email": "#/components/schemas/SendEmailBlockYAML",+ "task": "#/components/schemas/TaskBlockYAML",+ "task_v2": "#/components/schemas/TaskV2BlockYAML",+ "text_prompt": "#/components/schemas/TextPromptBlockYAML",+ "upload_to_s3": "#/components/schemas/UploadToS3BlockYAML",+ "validation": "#/components/schemas/ValidationBlockYAML",+ "wait": "#/components/schemas/WaitBlockYAML",+ "while_loop": "#/components/schemas/WhileLoopBlockYAML",+ "workflow_trigger": "#/components/schemas/WorkflowTriggerBlockYAML"}}},"type": "array",- "title": "Parameters",- "default": []+ "title": "Blocks"},- "json_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Json Schema"- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "prompt"- ],- "title": "TextPromptBlock"- },- "TextPromptBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "text_prompt"+ "finally_block_label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "text_prompt"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "llm_key": {- "type": "string",- "nullable": true,- "title": "Llm Key"- },- "prompt": {- "type": "string",- "title": "Prompt"+ "title": "Finally Block Label"},- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"+ "error_code_mapping": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Error Code Mapping"},- "json_schema": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Json Schema"+ "workflow_system_prompt": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow System Prompt"}},"type": "object","required": [- "label",- "prompt"+ "parameters",+ "blocks"],- "title": "TextPromptBlockYAML"+ "title": "WorkflowDefinitionYAML"},- "Thought": {- "properties": {- "thought_id": {- "type": "string",- "title": "Thought Id"- },- "task_id": {- "type": "string",- "title": "Task Id"- },- "organization_id": {- "type": "string",- "title": "Organization Id"- },- "workflow_run_id": {- "type": "string",- "nullable": true,- "title": "Workflow Run Id"- },- "workflow_run_block_id": {- "type": "string",- "nullable": true,- "title": "Workflow Run Block Id"- },- "workflow_id": {+ "WorkflowParameter": {+ "properties": {+ "parameter_type": {"type": "string",- "nullable": true,- "title": "Workflow Id"+ "const": "workflow",+ "title": "Parameter Type",+ "default": "workflow"},- "workflow_permanent_id": {+ "key": {"type": "string",- "nullable": true,- "title": "Workflow Permanent Id"+ "title": "Key"},- "user_input": {- "type": "string",- "nullable": true,- "title": "User Input"+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"},- "observation": {+ "workflow_parameter_id": {"type": "string",- "nullable": true,- "title": "Observation"+ "title": "Workflow Parameter Id"},- "thought": {- "type": "string",- "nullable": true,- "title": "Thought"+ "workflow_parameter_type": {+ "$ref": "#/components/schemas/WorkflowParameterType"},- "answer": {+ "workflow_id": {"type": "string",- "nullable": true,- "title": "Answer"- },- "thought_type": {- "$ref": "#/components/schemas/ThoughtType",- "nullable": true,- "default": "plan"- },- "thought_scenario": {- "$ref": "#/components/schemas/ThoughtScenario",- "nullable": true- },- "output": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Output"- },- "input_token_count": {- "type": "integer",- "nullable": true,- "title": "Input Token Count"- },- "output_token_count": {- "type": "integer",- "nullable": true,- "title": "Output Token Count"- },- "reasoning_token_count": {- "type": "integer",- "nullable": true,- "title": "Reasoning Token Count"- },- "cached_token_count": {- "type": "integer",- "nullable": true,- "title": "Cached Token Count"+ "title": "Workflow Id"},- "thought_cost": {- "type": "number",- "nullable": true,- "title": "Thought Cost"+ "default_value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Default Value"},"created_at": {"type": "string",@@ -11355,642 +22809,728 @@"type": "string","format": "date-time","title": "Modified At"+ },+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"}},"type": "object","required": [- "thought_id",- "task_id",- "organization_id",+ "key",+ "workflow_parameter_id",+ "workflow_parameter_type",+ "workflow_id","created_at","modified_at"],- "title": "Thought"- },- "ThoughtScenario": {- "type": "string",- "enum": [- "generate_plan",- "user_goal_check",- "failure_describe",- "summarization",- "generate_metadata",- "extract_loop_values",- "generate_task_in_loop",- "generate_general_task"- ],- "title": "ThoughtScenario"- },- "ThoughtType": {- "type": "string",- "enum": [- "plan",- "metadata",- "user_goal_check",- "internal_plan",- "failure_describe"- ],- "title": "ThoughtType"+ "title": "WorkflowParameter"},- "TotpType": {+ "WorkflowParameterType": {"type": "string","enum": [- "authenticator",- "email",- "text",- "none"+ "string",+ "integer",+ "float",+ "boolean",+ "json",+ "file_url",+ "credential_id"],- "title": "TotpType",- "description": "Type of 2FA/TOTP method used."+ "title": "WorkflowParameterType"},- "UploadFileAction": {+ "WorkflowParameterYAML": {"properties": {- "type": {- "type": "string",- "enum": [- "ai_upload_file"- ],- "title": "Type",- "default": "ai_upload_file"- },- "selector": {- "type": "string",- "nullable": true,- "title": "Selector",- "description": "CSS selector for the element",- "default": ""- },- "file_url": {+ "parameter_type": {"type": "string",- "nullable": true,- "title": "File Url",- "description": "File URL for upload",- "default": ""+ "const": "workflow",+ "title": "Parameter Type",+ "default": "workflow"},- "intention": {+ "key": {"type": "string",- "title": "Intention",- "description": "The intention or goal of the upload",- "default": ""+ "title": "Key"},- "data": {+ "description": {"anyOf": [{"type": "string"},{- "additionalProperties": true,- "type": "object"+ "type": "null"}],- "title": "Data",- "description": "Additional context data",- "nullable": true- },- "timeout": {- "type": "number",- "title": "Timeout",- "description": "Timeout in milliseconds",- "default": 10000- }- },- "type": "object",- "title": "UploadFileAction",- "description": "Upload file action parameters."- },- "UploadFileResponse": {- "properties": {- "s3_uri": {- "type": "string",- "title": "S3 Uri",- "description": "S3 URI where the file was uploaded"- },- "presigned_url": {- "type": "string",- "title": "Presigned Url",- "description": "Presigned URL to access the uploaded file"- }- },- "type": "object",- "required": [- "s3_uri",- "presigned_url"- ],- "title": "UploadFileResponse"- },- "UploadToS3Block": {- "properties": {- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."- },- "block_type": {- "type": "string",- "enum": [- "upload_to_s3"- ],- "title": "Block Type",- "default": "upload_to_s3"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "title": "Description"},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "workflow_parameter_type": {+ "$ref": "#/components/schemas/WorkflowParameterType"},- "path": {- "type": "string",- "nullable": true,- "title": "Path"+ "default_value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "integer"+ },+ {+ "type": "number"+ },+ {+ "type": "boolean"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Default Value"}},"type": "object","required": [- "label",- "output_parameter"+ "key",+ "workflow_parameter_type"],- "title": "UploadToS3Block"+ "title": "WorkflowParameterYAML"},- "UploadToS3BlockYAML": {+ "WorkflowRequest": {"properties": {- "block_type": {- "type": "string",- "enum": [- "upload_to_s3"+ "json_definition": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/WorkflowCreateYAMLRequest"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "upload_to_s3"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "description": "Workflow definition in JSON format"},- "path": {- "type": "string",- "nullable": true,- "title": "Path"+ "yaml_definition": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Yaml Definition",+ "description": "Workflow definition in YAML format"}},"type": "object",- "required": [- "label"- ],- "title": "UploadToS3BlockYAML"+ "title": "WorkflowRequest"},- "UrlBlock": {+ "WorkflowRun": {"properties": {- "label": {+ "workflow_run_id": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "title": "Workflow Run Id"},- "next_block_label": {+ "workflow_id": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "title": "Workflow Id"},- "block_type": {+ "workflow_permanent_id": {"type": "string",- "enum": [- "goto_url"+ "title": "Workflow Permanent Id"+ },+ "organization_id": {+ "type": "string",+ "title": "Organization Id"+ },+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "goto_url"+ "title": "Browser Session Id"},- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id"},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "debug_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Debug Session Id"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "status": {+ "$ref": "#/components/schemas/WorkflowRunStatus"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Http Headers"},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Cdp Connect Headers"},- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"+ "proxy_location": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Proxy Location"},- "url": {- "type": "string",- "title": "Url"+ "webhook_callback_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Webhook Callback Url"},- "title": {- "type": "string",- "title": "Title",- "default": ""+ "webhook_failure_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Webhook Failure Reason"},- "engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "totp_verification_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Verification Url"},- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"+ "totp_identifier": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Totp Identifier"+ },+ "failure_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Failure Reason"},- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"+ "failure_category": {+ "anyOf": [+ {+ "items": {+ "additionalProperties": true,+ "type": "object"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Failure Category"},- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"+ "parent_workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parent Workflow Run Id"},- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "workflow_title": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Title"},- "data_schema": {+ "max_screenshot_scrolls": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "integer"},{- "items": {},- "type": "array"+ "type": "null"+ }+ ],+ "title": "Max Screenshot Scrolls"+ },+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer"},+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes"+ },+ "browser_address": {+ "anyOf": [{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true+ "title": "Browser Address"},- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"+ "run_with": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run With"},- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0+ "script_run": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ScriptRunResponse"+ },+ {+ "type": "null"+ }+ ]},- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "job_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Job Id"},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"- },- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "depends_on_workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters",- "default": []+ ],+ "title": "Depends On Workflow Run Id"},- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false+ "sequential_key": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Sequential Key"},- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"+ "ai_fallback": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Ai Fallback"},- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"+ "code_gen": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Code Gen"},- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"+ "trigger_type": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/WorkflowRunTriggerType"+ },+ {+ "type": "null"+ }+ ]},- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true+ "workflow_schedule_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Workflow Schedule Id"},- "include_action_history_in_verification": {+ "ignore_inherited_workflow_system_prompt": {"type": "boolean",- "title": "Include Action History In Verification",+ "title": "Ignore Inherited Workflow System Prompt","default": false},- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "url"- ],- "title": "UrlBlock"- },- "UrlBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "goto_url"+ "copilot_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "goto_url"+ "title": "Copilot Session Id"},- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."+ "credits_used": {+ "type": "integer",+ "title": "Credits Used",+ "default": 0},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ "cached_credits_used": {+ "type": "integer",+ "title": "Cached Credits Used",+ "default": 0},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "queued_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Queued At"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "started_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Started At"},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "finished_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Finished At"},- "url": {- "type": "string",- "title": "Url"- }- },- "type": "object",- "required": [- "label",- "url"- ],- "title": "UrlBlockYAML"- },- "UserDefinedError": {- "properties": {- "error_code": {+ "created_at": {"type": "string",- "title": "Error Code"+ "format": "date-time",+ "title": "Created At"},- "reasoning": {+ "modified_at": {"type": "string",- "title": "Reasoning"- },- "confidence_float": {- "type": "number",- "maximum": 1,- "minimum": 0,- "title": "Confidence Float"+ "format": "date-time",+ "title": "Modified At"}},"type": "object","required": [- "error_code",- "reasoning",- "confidence_float"+ "workflow_run_id",+ "workflow_id",+ "workflow_permanent_id",+ "organization_id",+ "status",+ "created_at",+ "modified_at"],- "title": "UserDefinedError"+ "title": "WorkflowRun"},- "ValidateAction": {+ "WorkflowRunBlock": {"properties": {- "type": {+ "workflow_run_block_id": {"type": "string",- "enum": [- "validate"+ "title": "Workflow Run Block Id"+ },+ "block_workflow_run_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Type",- "default": "validate"+ "title": "Block Workflow Run Id"},- "prompt": {+ "workflow_run_id": {"type": "string",- "title": "Prompt",- "description": "Validation criteria or condition to check"+ "title": "Workflow Run Id"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model",- "description": "Optional model configuration"- }- },- "type": "object",- "required": [- "prompt"- ],- "title": "ValidateAction",- "description": "Validate action parameters."- },- "ValidationBlock": {- "properties": {- "label": {+ "organization_id": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "title": "Organization Id"},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Description"},- "block_type": {- "type": "string",- "enum": [- "validation"+ "parent_workflow_run_block_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "validation"+ "title": "Parent Workflow Run Block Id"},- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "block_type": {+ "$ref": "#/components/schemas/BlockType"},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "label": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Label"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "status": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Status"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "output": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Output"},- "next_loop_on_failure": {+ "continue_on_failure": {"type": "boolean",- "title": "Next Loop On Failure",+ "title": "Continue On Failure","default": false},- "task_type": {- "type": "string",- "title": "Task Type",- "default": "general"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"+ "failure_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Failure Reason"},- "title": {- "type": "string",- "title": "Title",- "default": ""+ "error_codes": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Error Codes",+ "default": []},"engine": {- "$ref": "#/components/schemas/RunEngine",- "default": "skyvern-1.0"+ "anyOf": [+ {+ "$ref": "#/components/schemas/RunEngine"+ },+ {+ "type": "null"+ }+ ]},- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"+ "task_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Task Id"},- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"+ "url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Url"},"navigation_goal": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Navigation Goal"},+ "navigation_payload": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Navigation Payload"+ },"data_extraction_goal": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Data Extraction Goal"},"data_schema": {@@ -12005,438 +23545,307 @@},{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "max_retries": {- "type": "integer",- "title": "Max Retries",- "default": 0- },- "max_steps_per_run": {- "type": "integer",- "nullable": true,- "title": "Max Steps Per Run"+ "title": "Data Schema"},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"- },- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "terminate_criterion": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters",- "default": []- },- "complete_on_download": {- "type": "boolean",- "title": "Complete On Download",- "default": false- },- "download_suffix": {- "type": "string",- "nullable": true,- "title": "Download Suffix"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "complete_verification": {- "type": "boolean",- "title": "Complete Verification",- "default": true- },- "include_action_history_in_verification": {- "type": "boolean",- "title": "Include Action History In Verification",- "default": false- },- "download_timeout": {- "type": "number",- "nullable": true,- "title": "Download Timeout"- }- },- "type": "object",- "required": [- "label",- "output_parameter"- ],- "title": "ValidationBlock"- },- "ValidationBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "validation"],- "title": "Block Type",- "default": "validation"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."- },- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "title": "Terminate Criterion"},"complete_criterion": {- "type": "string",- "nullable": true,+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],"title": "Complete Criterion"- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "error_code_mapping": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Error Code Mapping"- },- "parameter_keys": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Parameter Keys"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- }- },- "type": "object",- "required": [- "label"- ],- "title": "ValidationBlockYAML"- },- "ValidationError": {- "properties": {- "loc": {- "items": {- "anyOf": [- {- "type": "string"- },- {- "type": "integer"- }- ]+ },+ "actions": {+ "items": {+ "$ref": "#/components/schemas/Action"},"type": "array",- "title": "Location"- },- "msg": {- "type": "string",- "title": "Message"+ "title": "Actions",+ "default": []},- "type": {- "type": "string",- "title": "Error Type"- }- },- "type": "object",- "required": [- "loc",- "msg",- "type"- ],- "title": "ValidationError"- },- "WaitBlock": {- "properties": {- "label": {+ "created_at": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "format": "date-time",+ "title": "Created At"},- "next_block_label": {+ "modified_at": {"type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ "format": "date-time",+ "title": "Modified At"},- "block_type": {- "type": "string",- "enum": [- "wait"+ "include_action_history_in_verification": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }],- "title": "Block Type",- "default": "wait"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "title": "Include Action History In Verification",+ "default": false},- "continue_on_failure": {+ "include_extracted_text": {"type": "boolean",- "title": "Continue On Failure",- "default": false+ "title": "Include Extracted Text",+ "default": true},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "duration": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "title": "Duration"},- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false+ "loop_values": {+ "anyOf": [+ {+ "items": {},+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Loop Values"},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "current_value": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Current Value"},- "wait_sec": {- "type": "integer",- "title": "Wait Sec"+ "current_index": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Current Index"},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ "recipients": {+ "anyOf": [+ {+ "items": {+ "type": "string"},- {- "$ref": "#/components/schemas/OutputParameter"+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Recipients"+ },+ "attachments": {+ "anyOf": [+ {+ "items": {+ "type": "string"},- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "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"}- },- "type": "array",- "title": "Parameters",- "default": []- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "wait_sec"- ],- "title": "WaitBlock"- },- "WaitBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "enum": [- "wait"],- "title": "Block Type",- "default": "wait"- },- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."+ "title": "Negative Descriptor"},- "next_block_label": {- "type": "string",- "nullable": true,- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ "executed_branch_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Executed Branch Id"},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "executed_branch_expression": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Executed Branch Expression"},- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"+ "executed_branch_result": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Executed Branch Result"},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "executed_branch_next_block": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Executed Branch Next Block"},- "wait_sec": {- "type": "integer",- "title": "Wait Sec",- "default": 0+ "script_run": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ScriptRunResponse"+ },+ {+ "type": "null"+ }+ ]}},"type": "object","required": [- "label"+ "workflow_run_block_id",+ "workflow_run_id",+ "organization_id",+ "block_type",+ "created_at",+ "modified_at"],- "title": "WaitBlockYAML"+ "title": "WorkflowRunBlock"},- "WhileLoopBlock": {+ "WorkflowRunRequest-Input": {"properties": {- "label": {+ "agent_id": {"type": "string",- "title": "Label",- "description": "Author-facing identifier for a block; unique within a workflow."+ "title": "Agent Id",+ "description": "ID of the agent to run. Starts with `wpid_`. `workflow_id` is accepted as an alias.",+ "examples": [+ "wpid_123"+ ]},- "next_block_label": {+ "parameters": {"anyOf": [{- "type": "string"+ "additionalProperties": true,+ "type": "object"},{"type": "null"}],- "title": "Next Block Label",- "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."- },- "block_type": {- "type": "string",- "const": "while_loop",- "title": "Block Type",- "default": "while_loop"- },- "output_parameter": {- "$ref": "#/components/schemas/OutputParameter"+ "title": "Parameters",+ "description": "Parameters to pass to the workflow"},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "title": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Title",+ "description": "The title for this workflow run"},- "model": {+ "proxy_location": {"anyOf": [+ {+ "$ref": "#/components/schemas/ProxyLocation"+ },+ {+ "$ref": "#/components/schemas/GeoTarget"+ },{"additionalProperties": true,"type": "object"@@ -12445,175 +23854,38 @@"type": "null"}],- "title": "Model"- },- "disable_cache": {- "type": "boolean",- "title": "Disable Cache",- "default": false- },- "ignore_workflow_system_prompt": {- "type": "boolean",- "title": "Ignore Workflow System Prompt",- "default": false- },- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false- },- "loop_blocks": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/ConditionalBlock"- },- {- "$ref": "#/components/schemas/ForLoopBlock"- },- {- "$ref": "#/components/schemas/WhileLoopBlock"- },- {- "$ref": "#/components/schemas/TaskBlock"- },- {- "$ref": "#/components/schemas/CodeBlock"- },- {- "$ref": "#/components/schemas/TextPromptBlock"- },- {- "$ref": "#/components/schemas/DownloadToS3Block"- },- {- "$ref": "#/components/schemas/UploadToS3Block"- },- {- "$ref": "#/components/schemas/SendEmailBlock"- },- {- "$ref": "#/components/schemas/FileParserBlock"- },- {- "$ref": "#/components/schemas/PDFParserBlock"- },- {- "$ref": "#/components/schemas/ValidationBlock"- },- {- "$ref": "#/components/schemas/ActionBlock"- },- {- "$ref": "#/components/schemas/NavigationBlock"- },- {- "$ref": "#/components/schemas/ExtractionBlock"- },- {- "$ref": "#/components/schemas/LoginBlock"- },- {- "$ref": "#/components/schemas/WaitBlock"- },- {- "$ref": "#/components/schemas/HumanInteractionBlock"- },- {- "$ref": "#/components/schemas/FileDownloadBlock"- },- {- "$ref": "#/components/schemas/UrlBlock"- },- {- "$ref": "#/components/schemas/TaskV2Block"- },- {- "$ref": "#/components/schemas/FileUploadBlock"- },- {- "$ref": "#/components/schemas/HttpRequestBlock"- },- {- "$ref": "#/components/schemas/PrintPageBlock"- }- ],- "discriminator": {- "propertyName": "block_type",- "mapping": {- "action": "#/components/schemas/ActionBlock",- "code": "#/components/schemas/CodeBlock",- "conditional": "#/components/schemas/ConditionalBlock",- "download_to_s3": "#/components/schemas/DownloadToS3Block",- "extraction": "#/components/schemas/ExtractionBlock",- "file_download": "#/components/schemas/FileDownloadBlock",- "file_upload": "#/components/schemas/FileUploadBlock",- "file_url_parser": "#/components/schemas/FileParserBlock",- "for_loop": "#/components/schemas/ForLoopBlock",- "goto_url": "#/components/schemas/UrlBlock",- "http_request": "#/components/schemas/HttpRequestBlock",- "human_interaction": "#/components/schemas/HumanInteractionBlock",- "login": "#/components/schemas/LoginBlock",- "navigation": "#/components/schemas/NavigationBlock",- "pdf_parser": "#/components/schemas/PDFParserBlock",- "print_page": "#/components/schemas/PrintPageBlock",- "send_email": "#/components/schemas/SendEmailBlock",- "task": "#/components/schemas/TaskBlock",- "task_v2": "#/components/schemas/TaskV2Block",- "text_prompt": "#/components/schemas/TextPromptBlock",- "upload_to_s3": "#/components/schemas/UploadToS3Block",- "validation": "#/components/schemas/ValidationBlock",- "wait": "#/components/schemas/WaitBlock",- "while_loop": "#/components/schemas/WhileLoopBlock"- }- }- },- "type": "array",- "title": "Loop Blocks"+ "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"},- "condition": {- "oneOf": [+ "webhook_url": {+ "anyOf": [{- "$ref": "#/components/schemas/JinjaBranchCriteria"+ "type": "string"},{- "$ref": "#/components/schemas/PromptBranchCriteria"+ "type": "null"}],- "title": "Condition",- "discriminator": {- "propertyName": "criteria_type",- "mapping": {- "jinja2_template": "#/components/schemas/JinjaBranchCriteria",- "prompt": "#/components/schemas/PromptBranchCriteria"- }- }- }- },- "type": "object",- "required": [- "label",- "output_parameter",- "loop_blocks",- "condition"- ],- "title": "WhileLoopBlock",- "description": "Loop block driven by a runtime condition. Iterates while ``condition`` evaluates truthy.\n\nTop-of-loop semantics: the condition is evaluated *before* each iteration (including the\nfirst). If the condition is false on the first check, the body never runs and the block\nreturns success with an empty output list.\n\nSafety: the loop is capped at ``DEFAULT_MAX_LOOP_ITERATIONS`` (500). Reaching the cap is\ntreated as a failure so that a misbehaving condition can never spin forever."- },- "WhileLoopBlockYAML": {- "properties": {- "block_type": {- "type": "string",- "const": "while_loop",- "title": "Block Type",- "default": "while_loop"+ "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."},- "label": {- "type": "string",- "title": "Label",- "description": "Author-facing identifier; must be unique per workflow."+ "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"+ ]},- "next_block_label": {+ "totp_identifier": {"anyOf": [{"type": "string"@@ -12622,302 +23894,194 @@"type": "null"}],- "title": "Next Block Label",- "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."+ "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"+ ]},- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "ID of a Skyvern browser session to reuse, having it continue from the current screen state"},- "model": {+ "browser_profile_id": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "string"},{"type": "null"}],- "title": "Model"+ "title": "Browser Profile Id",+ "description": "ID of a browser profile to reuse for this workflow run"},- "ignore_workflow_system_prompt": {- "type": "boolean",- "title": "Ignore Workflow System Prompt",- "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."},- "next_loop_on_failure": {- "type": "boolean",- "title": "Next Loop On Failure",- "default": false+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 240.0,+ "minimum": 1.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes",+ "description": "Timeout this workflow run after the configured elapsed runtime in minutes. Maximum runtime is 4 hours."},- "loop_blocks": {- "items": {- "anyOf": [- {- "$ref": "#/components/schemas/TaskBlockYAML"- },- {- "$ref": "#/components/schemas/ForLoopBlockYAML"- },- {- "$ref": "#/components/schemas/WhileLoopBlockYAML"- },- {- "$ref": "#/components/schemas/CodeBlockYAML"- },- {- "$ref": "#/components/schemas/TextPromptBlockYAML"- },- {- "$ref": "#/components/schemas/DownloadToS3BlockYAML"- },- {- "$ref": "#/components/schemas/UploadToS3BlockYAML"- },- {- "$ref": "#/components/schemas/FileUploadBlockYAML"- },- {- "$ref": "#/components/schemas/SendEmailBlockYAML"- },- {- "$ref": "#/components/schemas/FileParserBlockYAML"- },- {- "$ref": "#/components/schemas/ValidationBlockYAML"- },- {- "$ref": "#/components/schemas/ActionBlockYAML"- },- {- "$ref": "#/components/schemas/NavigationBlockYAML"- },- {- "$ref": "#/components/schemas/ExtractionBlockYAML"- },- {- "$ref": "#/components/schemas/LoginBlockYAML"- },- {- "$ref": "#/components/schemas/WaitBlockYAML"- },- {- "$ref": "#/components/schemas/HumanInteractionBlockYAML"- },- {- "$ref": "#/components/schemas/FileDownloadBlockYAML"- },- {- "$ref": "#/components/schemas/UrlBlockYAML"- },- {- "$ref": "#/components/schemas/PDFParserBlockYAML"- },- {- "$ref": "#/components/schemas/TaskV2BlockYAML"- },- {- "$ref": "#/components/schemas/HttpRequestBlockYAML"- },- {- "$ref": "#/components/schemas/ConditionalBlockYAML"+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"},- {- "$ref": "#/components/schemas/PrintPageBlockYAML"- }- ]- },- "type": "array",- "title": "Loop Blocks"- },- "condition": {- "$ref": "#/components/schemas/BranchCriteriaYAML"- }- },- "type": "object",- "required": [- "label",- "loop_blocks",- "condition"- ],- "title": "WhileLoopBlockYAML"- },- "Workflow": {- "properties": {- "workflow_id": {- "type": "string",- "title": "Workflow Id"- },- "organization_id": {- "type": "string",- "title": "Organization Id"- },- "title": {- "type": "string",- "title": "Title"- },- "workflow_permanent_id": {- "type": "string",- "title": "Workflow Permanent Id"- },- "version": {- "type": "integer",- "title": "Version"- },- "is_saved_task": {- "type": "boolean",- "title": "Is Saved Task"- },- "is_template": {- "type": "boolean",- "title": "Is Template",- "default": false- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Extra Http Headers",+ "description": "The extra HTTP headers for the requests in browser."},- "workflow_definition": {- "$ref": "#/components/schemas/WorkflowDefinition"+ "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."},- "proxy_location": {+ "browser_address": {"anyOf": [{- "$ref": "#/components/schemas/ProxyLocation"- },- {- "$ref": "#/components/schemas/GeoTarget"+ "type": "string"},{- "additionalProperties": true,- "type": "object"+ "type": "null"}],- "title": "Proxy Location",- "nullable": true- },- "webhook_callback_url": {- "type": "string",- "nullable": true,- "title": "Webhook Callback Url"- },- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"- },- "totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "persist_browser_session": {- "type": "boolean",- "title": "Persist Browser Session",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "status": {- "$ref": "#/components/schemas/WorkflowStatus",- "default": "published"- },- "max_screenshot_scrolls": {- "type": "integer",- "nullable": true,- "title": "Max Screenshot Scrolls"- },- "extra_http_headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Extra Http Headers"- },- "run_with": {- "type": "string",- "nullable": true,- "title": "Run With"+ "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"+ ]},"ai_fallback": {- "type": "boolean",+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],"title": "Ai Fallback",- "default": false- },- "cache_key": {- "type": "string",- "nullable": true,- "title": "Cache Key"- },- "run_sequentially": {- "type": "boolean",- "nullable": true,- "title": "Prevent Overlapping Runs"- },- "sequential_key": {- "type": "string",- "nullable": true,- "title": "Sequential Key"- },- "folder_id": {- "type": "string",- "nullable": true,- "title": "Folder Id"- },- "import_error": {- "type": "string",- "nullable": true,- "title": "Import Error"- },- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "description": "Whether to fallback to AI if the workflow run fails."},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "run_with": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Run With",+ "description": "Whether to run the workflow with agent or code. Null inherits from the workflow setting.",+ "examples": [+ "agent",+ "code"+ ]},- "deleted_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "run_metadata": {+ "anyOf": [+ {+ "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_id",- "organization_id",- "title",- "workflow_permanent_id",- "version",- "is_saved_task",- "workflow_definition",- "created_at",- "modified_at"+ "agent_id"],- "title": "Workflow"+ "title": "WorkflowRunRequest"},- "WorkflowCreateYAMLRequest": {+ "WorkflowRunRequest-Output": {"properties": {- "title": {+ "workflow_id": {"type": "string",- "title": "Title"+ "title": "Workflow Id",+ "description": "ID of the agent to run. Starts with `wpid_`. `workflow_id` is accepted as an alias.",+ "examples": [+ "wpid_123"+ ]},- "description": {- "type": "string",- "nullable": true,- "title": "Description"+ "parameters": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameters",+ "description": "Parameters to pass to the workflow"+ },+ "title": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Title",+ "description": "The title for this workflow run"},"proxy_location": {"anyOf": [@@ -12930,783 +24094,683 @@{"additionalProperties": true,"type": "object"+ },+ {+ "type": "null"}],"title": "Proxy Location",- "nullable": true+ "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_callback_url": {- "type": "string",- "nullable": true,- "title": "Webhook Callback Url"+ "webhook_url": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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."},- "totp_verification_url": {- "type": "string",- "nullable": true,- "title": "Totp Verification Url"+ "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"+ ]},"totp_identifier": {- "type": "string",- "nullable": true,- "title": "Totp Identifier"- },- "persist_browser_session": {- "type": "boolean",- "title": "Persist Browser Session",- "default": false- },- "model": {- "additionalProperties": true,- "type": "object",- "nullable": true,- "title": "Model"- },- "workflow_definition": {- "$ref": "#/components/schemas/WorkflowDefinitionYAML"- },- "is_saved_task": {- "type": "boolean",- "title": "Is Saved Task",- "default": false- },- "max_screenshot_scrolls": {- "type": "integer",- "nullable": true,- "title": "Max Screenshot Scrolls"- },- "extra_http_headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Extra Http Headers"- },- "status": {- "$ref": "#/components/schemas/WorkflowStatus",- "default": "published"- },- "run_with": {- "type": "string",- "nullable": true,- "title": "Run With"- },- "ai_fallback": {- "type": "boolean",- "title": "Ai Fallback",- "default": false+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "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"+ ]},- "cache_key": {- "type": "string",- "nullable": true,- "title": "Cache Key",- "default": "default"+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "ID of a Skyvern browser session to reuse, having it continue from the current screen state"},- "run_sequentially": {- "type": "boolean",- "title": "Prevent Overlapping Runs",- "default": false+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of a browser profile to reuse for this workflow run"},- "sequential_key": {- "type": "string",- "nullable": true,- "title": "Sequential Key"+ "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."},- "folder_id": {- "type": "string",- "nullable": true,- "title": "Folder Id"- }- },- "type": "object",- "required": [- "title",- "workflow_definition"- ],- "title": "WorkflowCreateYAMLRequest"- },- "WorkflowDefinition": {- "properties": {- "version": {- "type": "integer",- "title": "Version",- "default": 1+ "max_elapsed_time_minutes": {+ "anyOf": [+ {+ "type": "integer",+ "maximum": 240.0,+ "minimum": 1.0+ },+ {+ "type": "null"+ }+ ],+ "title": "Max Elapsed Time Minutes",+ "description": "Timeout this workflow run after the configured elapsed runtime in minutes. Maximum runtime is 4 hours."},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/WorkflowParameter"- },- {- "$ref": "#/components/schemas/ContextParameter"- },- {- "$ref": "#/components/schemas/AWSSecretParameter"- },- {- "$ref": "#/components/schemas/AzureSecretParameter"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameter"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameter"- },- {- "$ref": "#/components/schemas/OutputParameter"+ "extra_http_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"},- {- "$ref": "#/components/schemas/CredentialParameter"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameter",- "azure_secret": "#/components/schemas/AzureSecretParameter",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",- "context": "#/components/schemas/ContextParameter",- "credential": "#/components/schemas/CredentialParameter",- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",- "output": "#/components/schemas/OutputParameter",- "workflow": "#/components/schemas/WorkflowParameter"- }+ "type": "object"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Parameters"+ ],+ "title": "Extra Http Headers",+ "description": "The extra HTTP headers for the requests in browser."},- "blocks": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/ConditionalBlock"- },- {- "$ref": "#/components/schemas/ForLoopBlock"- },- {- "$ref": "#/components/schemas/WhileLoopBlock"- },- {- "$ref": "#/components/schemas/TaskBlock"- },- {- "$ref": "#/components/schemas/CodeBlock"- },- {- "$ref": "#/components/schemas/TextPromptBlock"- },- {- "$ref": "#/components/schemas/DownloadToS3Block"- },- {- "$ref": "#/components/schemas/UploadToS3Block"- },- {- "$ref": "#/components/schemas/SendEmailBlock"- },- {- "$ref": "#/components/schemas/FileParserBlock"- },- {- "$ref": "#/components/schemas/PDFParserBlock"- },- {- "$ref": "#/components/schemas/ValidationBlock"- },- {- "$ref": "#/components/schemas/ActionBlock"- },- {- "$ref": "#/components/schemas/NavigationBlock"- },- {- "$ref": "#/components/schemas/ExtractionBlock"- },- {- "$ref": "#/components/schemas/LoginBlock"- },- {- "$ref": "#/components/schemas/WaitBlock"- },- {- "$ref": "#/components/schemas/HumanInteractionBlock"- },- {- "$ref": "#/components/schemas/FileDownloadBlock"- },- {- "$ref": "#/components/schemas/UrlBlock"- },- {- "$ref": "#/components/schemas/TaskV2Block"- },- {- "$ref": "#/components/schemas/FileUploadBlock"- },- {- "$ref": "#/components/schemas/HttpRequestBlock"+ "cdp_connect_headers": {+ "anyOf": [+ {+ "additionalProperties": {+ "type": "string"},- {- "$ref": "#/components/schemas/PrintPageBlock"- }- ],- "discriminator": {- "propertyName": "block_type",- "mapping": {- "action": "#/components/schemas/ActionBlock",- "code": "#/components/schemas/CodeBlock",- "conditional": "#/components/schemas/ConditionalBlock",- "download_to_s3": "#/components/schemas/DownloadToS3Block",- "extraction": "#/components/schemas/ExtractionBlock",- "file_download": "#/components/schemas/FileDownloadBlock",- "file_upload": "#/components/schemas/FileUploadBlock",- "file_url_parser": "#/components/schemas/FileParserBlock",- "for_loop": "#/components/schemas/ForLoopBlock",- "goto_url": "#/components/schemas/UrlBlock",- "http_request": "#/components/schemas/HttpRequestBlock",- "human_interaction": "#/components/schemas/HumanInteractionBlock",- "login": "#/components/schemas/LoginBlock",- "navigation": "#/components/schemas/NavigationBlock",- "pdf_parser": "#/components/schemas/PDFParserBlock",- "print_page": "#/components/schemas/PrintPageBlock",- "send_email": "#/components/schemas/SendEmailBlock",- "task": "#/components/schemas/TaskBlock",- "task_v2": "#/components/schemas/TaskV2Block",- "text_prompt": "#/components/schemas/TextPromptBlock",- "upload_to_s3": "#/components/schemas/UploadToS3Block",- "validation": "#/components/schemas/ValidationBlock",- "wait": "#/components/schemas/WaitBlock",- "while_loop": "#/components/schemas/WhileLoopBlock"- }+ "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"+ },+ {+ "type": "null"+ }+ ],+ "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"+ ]+ },+ "ai_fallback": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "title": "Ai Fallback",+ "description": "Whether to fallback to AI if the workflow run fails."+ },+ "run_with": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Blocks"+ ],+ "title": "Run With",+ "description": "Whether to run the workflow with agent or code. Null inherits from the workflow setting.",+ "examples": [+ "agent",+ "code"+ ]},- "finally_block_label": {- "type": "string",- "nullable": true,- "title": "Finally Block Label"+ "run_metadata": {+ "anyOf": [+ {+ "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": [- "parameters",- "blocks"+ "workflow_id"],- "title": "WorkflowDefinition"+ "title": "WorkflowRunRequest"},- "WorkflowDefinitionYAML": {+ "WorkflowRunResponse": {"properties": {- "version": {- "type": "integer",- "title": "Version",- "default": 1+ "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"+ ]},- "parameters": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/AWSSecretParameterYAML"- },- {- "$ref": "#/components/schemas/BitwardenLoginCredentialParameterYAML"- },- {- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameterYAML"- },- {- "$ref": "#/components/schemas/BitwardenCreditCardDataParameterYAML"- },- {- "$ref": "#/components/schemas/OnePasswordCredentialParameterYAML"- },- {- "$ref": "#/components/schemas/AzureVaultCredentialParameterYAML"- },- {- "$ref": "#/components/schemas/WorkflowParameterYAML"- },- {- "$ref": "#/components/schemas/ContextParameterYAML"- },- {- "$ref": "#/components/schemas/OutputParameterYAML"- },- {- "$ref": "#/components/schemas/CredentialParameterYAML"- }- ],- "discriminator": {- "propertyName": "parameter_type",- "mapping": {- "aws_secret": "#/components/schemas/AWSSecretParameterYAML",- "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameterYAML",- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameterYAML",- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameterYAML",- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameterYAML",- "context": "#/components/schemas/ContextParameterYAML",- "credential": "#/components/schemas/CredentialParameterYAML",- "onepassword": "#/components/schemas/OnePasswordCredentialParameterYAML",- "output": "#/components/schemas/OutputParameterYAML",- "workflow": "#/components/schemas/WorkflowParameterYAML"- }+ "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"}- },- "type": "array",- "title": "Parameters"+ ],+ "title": "Output",+ "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run."},- "blocks": {- "items": {- "oneOf": [- {- "$ref": "#/components/schemas/TaskBlockYAML"- },- {- "$ref": "#/components/schemas/ForLoopBlockYAML"- },- {- "$ref": "#/components/schemas/WhileLoopBlockYAML"- },- {- "$ref": "#/components/schemas/CodeBlockYAML"- },- {- "$ref": "#/components/schemas/TextPromptBlockYAML"- },- {- "$ref": "#/components/schemas/DownloadToS3BlockYAML"- },- {- "$ref": "#/components/schemas/UploadToS3BlockYAML"- },- {- "$ref": "#/components/schemas/FileUploadBlockYAML"- },- {- "$ref": "#/components/schemas/SendEmailBlockYAML"- },- {- "$ref": "#/components/schemas/FileParserBlockYAML"- },- {- "$ref": "#/components/schemas/ValidationBlockYAML"- },- {- "$ref": "#/components/schemas/ActionBlockYAML"- },- {- "$ref": "#/components/schemas/NavigationBlockYAML"- },- {- "$ref": "#/components/schemas/ExtractionBlockYAML"- },- {- "$ref": "#/components/schemas/LoginBlockYAML"- },- {- "$ref": "#/components/schemas/WaitBlockYAML"- },- {- "$ref": "#/components/schemas/HumanInteractionBlockYAML"- },- {- "$ref": "#/components/schemas/FileDownloadBlockYAML"- },- {- "$ref": "#/components/schemas/UrlBlockYAML"- },- {- "$ref": "#/components/schemas/PDFParserBlockYAML"- },- {- "$ref": "#/components/schemas/TaskV2BlockYAML"- },- {- "$ref": "#/components/schemas/HttpRequestBlockYAML"- },- {- "$ref": "#/components/schemas/ConditionalBlockYAML"+ "downloaded_files": {+ "anyOf": [+ {+ "items": {+ "$ref": "#/components/schemas/FileInfo"},- {- "$ref": "#/components/schemas/PrintPageBlockYAML"- }- ],- "discriminator": {- "propertyName": "block_type",- "mapping": {- "action": "#/components/schemas/ActionBlockYAML",- "code": "#/components/schemas/CodeBlockYAML",- "conditional": "#/components/schemas/ConditionalBlockYAML",- "download_to_s3": "#/components/schemas/DownloadToS3BlockYAML",- "extraction": "#/components/schemas/ExtractionBlockYAML",- "file_download": "#/components/schemas/FileDownloadBlockYAML",- "file_upload": "#/components/schemas/FileUploadBlockYAML",- "file_url_parser": "#/components/schemas/FileParserBlockYAML",- "for_loop": "#/components/schemas/ForLoopBlockYAML",- "goto_url": "#/components/schemas/UrlBlockYAML",- "http_request": "#/components/schemas/HttpRequestBlockYAML",- "human_interaction": "#/components/schemas/HumanInteractionBlockYAML",- "login": "#/components/schemas/LoginBlockYAML",- "navigation": "#/components/schemas/NavigationBlockYAML",- "pdf_parser": "#/components/schemas/PDFParserBlockYAML",- "print_page": "#/components/schemas/PrintPageBlockYAML",- "send_email": "#/components/schemas/SendEmailBlockYAML",- "task": "#/components/schemas/TaskBlockYAML",- "task_v2": "#/components/schemas/TaskV2BlockYAML",- "text_prompt": "#/components/schemas/TextPromptBlockYAML",- "upload_to_s3": "#/components/schemas/UploadToS3BlockYAML",- "validation": "#/components/schemas/ValidationBlockYAML",- "wait": "#/components/schemas/WaitBlockYAML",- "while_loop": "#/components/schemas/WhileLoopBlockYAML"- }+ "type": "array"+ },+ {+ "type": "null"}- },- "type": "array",- "title": "Blocks"+ ],+ "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."},- "finally_block_label": {- "type": "string",- "nullable": true,- "title": "Finally Block Label"- }- },- "type": "object",- "required": [- "parameters",- "blocks"- ],- "title": "WorkflowDefinitionYAML"- },- "WorkflowParameter": {- "properties": {- "parameter_type": {- "type": "string",- "enum": [- "workflow"+ "failure_reason": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Parameter Type",- "default": "workflow"+ "title": "Failure Reason",+ "description": "Reason for failure if the run failed or terminated"},- "key": {+ "created_at": {"type": "string",- "title": "Key"+ "format": "date-time",+ "title": "Created At",+ "description": "Timestamp when this run was created",+ "examples": [+ "2025-01-01T00:00:00Z"+ ]},- "description": {+ "modified_at": {"type": "string",- "nullable": true,- "title": "Description"+ "format": "date-time",+ "title": "Modified At",+ "description": "Timestamp when this run was last modified",+ "examples": [+ "2025-01-01T00:05:00Z"+ ]},- "workflow_parameter_id": {- "type": "string",- "title": "Workflow Parameter Id"+ "queued_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Queued At",+ "description": "Timestamp when this run was queued"},- "workflow_parameter_type": {- "$ref": "#/components/schemas/WorkflowParameterType"+ "started_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Started At",+ "description": "Timestamp when this run started execution"},- "workflow_id": {- "type": "string",- "title": "Workflow Id"+ "finished_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Finished At",+ "description": "Timestamp when this run finished"},- "default_value": {+ "app_url": {"anyOf": [{"type": "string"},{- "type": "integer"+ "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": "number"+ "type": "null"+ }+ ],+ "title": "Browser Session Id",+ "description": "ID of the Skyvern persistent browser session used for this run",+ "examples": [+ "pbs_123"+ ]+ },+ "browser_profile_id": {+ "anyOf": [+ {+ "type": "string"},{- "type": "boolean"+ "type": "null"+ }+ ],+ "title": "Browser Profile Id",+ "description": "ID of the browser profile used for this run",+ "examples": [+ "bp_123"+ ]+ },+ "max_screenshot_scrolls": {+ "anyOf": [+ {+ "type": "integer"},{- "additionalProperties": true,- "type": "object"+ "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"+ },+ "script_run": {+ "anyOf": [+ {+ "$ref": "#/components/schemas/ScriptRunResponse"},{- "items": {},+ "type": "null"+ }+ ],+ "description": "The script run result"+ },+ "errors": {+ "anyOf": [+ {+ "items": {+ "additionalProperties": true,+ "type": "object"+ },"type": "array"+ },+ {+ "type": "null"}],- "title": "Default Value",- "nullable": true+ "title": "Errors",+ "description": "The errors for the run"},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "step_count": {+ "anyOf": [+ {+ "type": "integer"+ },+ {+ "type": "null"+ }+ ],+ "title": "Step Count",+ "description": "Total number of steps executed in this run"},- "modified_at": {+ "run_type": {"type": "string",- "format": "date-time",- "title": "Modified At"+ "const": "workflow_run",+ "title": "Run Type",+ "description": "Type of run - always workflow_run for workflow runs"},- "deleted_at": {+ "run_with": {"type": "string",- "format": "date-time",- "nullable": true,- "title": "Deleted At"+ "title": "Run With",+ "description": "Whether the workflow run was executed with agent or code",+ "default": "agent",+ "examples": [+ "agent",+ "code"+ ]+ },+ "ai_fallback": {+ "anyOf": [+ {+ "type": "boolean"+ },+ {+ "type": "null"+ }+ ],+ "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-Output"+ },+ {+ "type": "null"+ }+ ],+ "description": "The original request parameters used to start this workflow run"}},"type": "object","required": [- "key",- "workflow_parameter_id",- "workflow_parameter_type",- "workflow_id",+ "run_id",+ "status","created_at",- "modified_at"+ "modified_at",+ "run_type"],- "title": "WorkflowParameter"+ "title": "WorkflowRunResponse"},- "WorkflowParameterType": {+ "WorkflowRunStatus": {"type": "string","enum": [- "string",- "integer",- "float",- "boolean",- "json",- "file_url",- "credential_id"+ "created",+ "queued",+ "running",+ "failed",+ "terminated",+ "canceled",+ "timed_out",+ "completed",+ "paused"],- "title": "WorkflowParameterType"+ "title": "WorkflowRunStatus"},- "WorkflowParameterYAML": {+ "WorkflowRunTimeline": {"properties": {- "parameter_type": {- "type": "string",- "enum": [- "workflow"- ],- "title": "Parameter Type",- "default": "workflow"- },- "key": {- "type": "string",- "title": "Key"- },- "description": {- "type": "string",- "nullable": true,- "title": "Description"- },- "workflow_parameter_type": {- "$ref": "#/components/schemas/WorkflowParameterType"+ "type": {+ "$ref": "#/components/schemas/WorkflowRunTimelineType"},- "default_value": {+ "block": {"anyOf": [{- "type": "string"- },- {- "type": "integer"+ "$ref": "#/components/schemas/WorkflowRunBlock"},{- "type": "number"- },- {- "type": "boolean"- },+ "type": "null"+ }+ ]+ },+ "thought": {+ "anyOf": [{- "additionalProperties": true,- "type": "object"+ "$ref": "#/components/schemas/Thought"},{- "items": {},- "type": "array"+ "type": "null"}- ],- "title": "Default Value",- "nullable": true+ ]+ },+ "children": {+ "items": {+ "$ref": "#/components/schemas/WorkflowRunTimeline"+ },+ "type": "array",+ "title": "Children",+ "default": []+ },+ "created_at": {+ "type": "string",+ "format": "date-time",+ "title": "Created At"+ },+ "modified_at": {+ "type": "string",+ "format": "date-time",+ "title": "Modified At"}},"type": "object","required": [- "key",- "workflow_parameter_type"+ "type",+ "created_at",+ "modified_at"],- "title": "WorkflowParameterYAML"+ "title": "WorkflowRunTimeline"},- "WorkflowRequest": {- "properties": {- "json_definition": {- "$ref": "#/components/schemas/WorkflowCreateYAMLRequest",- "nullable": true,- "description": "Workflow definition in JSON format"- },- "yaml_definition": {- "type": "string",- "nullable": true,- "title": "Yaml Definition",- "description": "Workflow definition in YAML format"- }- },- "type": "object",- "title": "WorkflowRequest"+ "WorkflowRunTimelineType": {+ "type": "string",+ "enum": [+ "thought",+ "block"+ ],+ "title": "WorkflowRunTimelineType"},- "WorkflowRunBlock": {+ "WorkflowRunTriggerType": {+ "type": "string",+ "enum": [+ "manual",+ "api",+ "scheduled",+ "webhook"+ ],+ "title": "WorkflowRunTriggerType",+ "description": "How a workflow run was initiated.\n\n- manual: User clicked \"Run\" in the UI\n- api: Direct API call to the run endpoint\n- scheduled: Triggered by a cron schedule\n- webhook: Triggered by an external system via the webhook endpoint"+ },+ "WorkflowSchedule": {"properties": {- "workflow_run_block_id": {- "type": "string",- "title": "Workflow Run Block Id"- },- "block_workflow_run_id": {- "type": "string",- "nullable": true,- "title": "Block Workflow Run Id"- },- "workflow_run_id": {+ "workflow_schedule_id": {"type": "string",- "title": "Workflow Run Id"+ "title": "Workflow Schedule Id"},"organization_id": {"type": "string","title": "Organization Id"},- "description": {+ "workflow_permanent_id": {"type": "string",- "nullable": true,- "title": "Description"+ "title": "Workflow Permanent Id"},- "parent_workflow_run_block_id": {+ "cron_expression": {"type": "string",- "nullable": true,- "title": "Parent Workflow Run Block Id"- },- "block_type": {- "$ref": "#/components/schemas/BlockType"+ "title": "Cron Expression"},- "label": {+ "timezone": {"type": "string",- "nullable": true,- "title": "Label"+ "title": "Timezone"},- "status": {- "type": "string",- "nullable": true,- "title": "Status"+ "enabled": {+ "type": "boolean",+ "title": "Enabled"},- "output": {+ "parameters": {"anyOf": [{"additionalProperties": true,"type": "object"},{- "items": {},- "type": "array"- },- {- "type": "string"+ "type": "null"}],- "title": "Output",- "nullable": true- },- "continue_on_failure": {- "type": "boolean",- "title": "Continue On Failure",- "default": false- },- "failure_reason": {- "type": "string",- "nullable": true,- "title": "Failure Reason"- },- "engine": {- "$ref": "#/components/schemas/RunEngine",- "nullable": true- },- "task_id": {- "type": "string",- "nullable": true,- "title": "Task Id"- },- "url": {- "type": "string",- "nullable": true,- "title": "Url"- },- "navigation_goal": {- "type": "string",- "nullable": true,- "title": "Navigation Goal"+ "title": "Parameters"},- "navigation_payload": {+ "temporal_schedule_id": {"anyOf": [{- "additionalProperties": true,- "type": "object"- },- {- "items": {},- "type": "array"+ "type": "string"},{- "type": "string"+ "type": "null"}],- "title": "Navigation Payload",- "nullable": true- },- "data_extraction_goal": {- "type": "string",- "nullable": true,- "title": "Data Extraction Goal"+ "title": "Temporal Schedule Id"},- "data_schema": {+ "name": {"anyOf": [{- "additionalProperties": true,- "type": "object"+ "type": "string"},{- "items": {},- "type": "array"- },+ "type": "null"+ }+ ],+ "title": "Name"+ },+ "description": {+ "anyOf": [{"type": "string"+ },+ {+ "type": "null"}],- "title": "Data Schema",- "nullable": true- },- "terminate_criterion": {- "type": "string",- "nullable": true,- "title": "Terminate Criterion"- },- "complete_criterion": {- "type": "string",- "nullable": true,- "title": "Complete Criterion"- },- "actions": {- "items": {- "$ref": "#/components/schemas/Action"- },- "type": "array",- "title": "Actions",- "default": []+ "title": "Description"},"created_at": {"type": "string",@@ -13718,466 +24782,445 @@"format": "date-time","title": "Modified At"},- "include_action_history_in_verification": {- "type": "boolean",- "nullable": true,- "title": "Include Action History In Verification",- "default": false- },- "duration": {- "type": "number",- "nullable": true,- "title": "Duration"- },- "loop_values": {- "items": {},- "type": "array",- "nullable": true,- "title": "Loop Values"- },- "current_value": {- "type": "string",- "nullable": true,- "title": "Current Value"- },- "current_index": {- "type": "integer",- "nullable": true,- "title": "Current Index"- },- "recipients": {+ "deleted_at": {+ "anyOf": [+ {+ "type": "string",+ "format": "date-time"+ },+ {+ "type": "null"+ }+ ],+ "title": "Deleted At"+ }+ },+ "type": "object",+ "required": [+ "workflow_schedule_id",+ "organization_id",+ "workflow_permanent_id",+ "cron_expression",+ "timezone",+ "enabled",+ "created_at",+ "modified_at"+ ],+ "title": "WorkflowSchedule"+ },+ "WorkflowScheduleListResponse": {+ "properties": {+ "schedules": {"items": {- "type": "string"+ "$ref": "#/components/schemas/WorkflowSchedule"},"type": "array",- "nullable": true,- "title": "Recipients"+ "title": "Schedules"+ }+ },+ "type": "object",+ "required": [+ "schedules"+ ],+ "title": "WorkflowScheduleListResponse"+ },+ "WorkflowScheduleResponse": {+ "properties": {+ "schedule": {+ "$ref": "#/components/schemas/WorkflowSchedule"},- "attachments": {+ "next_runs": {"items": {- "type": "string"+ "type": "string",+ "format": "date-time"},- "type": "array",- "nullable": true,- "title": "Attachments"- },- "subject": {- "type": "string",- "nullable": true,- "title": "Subject"- },- "body": {- "type": "string",- "nullable": true,- "title": "Body"- },- "instructions": {- "type": "string",- "nullable": true,- "title": "Instructions"- },- "positive_descriptor": {- "type": "string",- "nullable": true,- "title": "Positive Descriptor"- },- "negative_descriptor": {- "type": "string",- "nullable": true,- "title": "Negative Descriptor"- },- "executed_branch_id": {+ "type": "array",+ "title": "Next Runs"+ }+ },+ "type": "object",+ "required": [+ "schedule"+ ],+ "title": "WorkflowScheduleResponse"+ },+ "WorkflowScheduleUpsertRequest": {+ "properties": {+ "cron_expression": {"type": "string",- "nullable": true,- "title": "Executed Branch Id"+ "title": "Cron Expression"},- "executed_branch_expression": {+ "timezone": {"type": "string",- "nullable": true,- "title": "Executed Branch Expression"+ "title": "Timezone"},- "executed_branch_result": {+ "enabled": {"type": "boolean",- "nullable": true,- "title": "Executed Branch Result"+ "title": "Enabled",+ "default": true},- "executed_branch_next_block": {- "type": "string",- "nullable": true,- "title": "Executed Branch Next Block"+ "parameters": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameters"},- "script_run": {- "allOf": [+ "name": {+ "anyOf": [{- "$ref": "#/components/schemas/ScriptRunResponse"+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Name"+ },+ "description": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"}],- "nullable": true,- "title": "Script Run"+ "title": "Description"}},"type": "object","required": [- "workflow_run_block_id",- "workflow_run_id",- "organization_id",- "block_type",- "created_at",- "modified_at"+ "cron_expression",+ "timezone"],- "title": "WorkflowRunBlock"+ "title": "WorkflowScheduleUpsertRequest"+ },+ "WorkflowStatus": {+ "type": "string",+ "enum": [+ "published",+ "draft",+ "auto_generated",+ "importing",+ "import_failed"+ ],+ "title": "WorkflowStatus"},- "WorkflowRunRequest": {+ "WorkflowTagsBatchRequest": {"properties": {- "workflow_id": {- "type": "string",- "title": "Workflow Id",- "description": "ID of the workflow to run. Workflow ID starts with `wpid_`.",- "example": "wpid_123"- },- "parameters": {- "additionalProperties": true,+ "workflow_permanent_ids": {+ "items": {+ "type": "string"+ },+ "type": "array",+ "title": "Workflow Permanent Ids",+ "description": "Workflow permanent IDs to fetch tags for."+ }+ },+ "type": "object",+ "title": "WorkflowTagsBatchRequest",+ "description": "Body for ``POST /v1/workflow-tags`` (used when the wpid list would\nexceed the URL length cap)."+ },+ "WorkflowTagsBatchResponse": {+ "properties": {+ "workflow_tags": {+ "additionalProperties": {+ "additionalProperties": {+ "type": "string"+ },+ "type": "object"+ },"type": "object",- "nullable": true,- "title": "Parameters",- "description": "Parameters to pass to the workflow"- },- "title": {+ "title": "Workflow Tags"+ }+ },+ "type": "object",+ "required": [+ "workflow_tags"+ ],+ "title": "WorkflowTagsBatchResponse",+ "description": "Response for the batch endpoint.\n\nWorkflows with no tags are present with an empty dict so the frontend can\ndistinguish \"fetched, none set\" from \"not fetched\" without a second call.\nWorkflows outside the caller's org are silently absent (no leakage)."+ },+ "WorkflowTriggerBlock": {+ "properties": {+ "label": {"type": "string",- "nullable": true,- "title": "Title",- "description": "The title for this workflow run"+ "title": "Label",+ "description": "Author-facing identifier for a block; unique within a workflow."},- "proxy_location": {+ "next_block_label": {"anyOf": [{- "$ref": "#/components/schemas/ProxyLocation"+ "type": "string"},{- "$ref": "#/components/schemas/GeoTarget"- },+ "type": "null"+ }+ ],+ "title": "Next Block Label",+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."+ },+ "block_type": {+ "type": "string",+ "const": "workflow_trigger",+ "title": "Block Type",+ "default": "workflow_trigger"+ },+ "output_parameter": {+ "$ref": "#/components/schemas/OutputParameter"+ },+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false+ },+ "model": {+ "anyOf": [{"additionalProperties": true,"type": "object"+ },+ {+ "type": "null"}],- "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_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\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\"}",- "default": "RESIDENTIAL",- "nullable": true- },- "webhook_url": {- "type": "string",- "nullable": true,- "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."+ "title": "Model"},- "totp_url": {- "type": "string",- "nullable": true,- "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",- "example": "https://my-totp-service.com/totp"+ "disable_cache": {+ "type": "boolean",+ "title": "Disable Cache",+ "default": false},- "totp_identifier": {- "type": "string",- "nullable": true,- "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",- "example": "[email protected]"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "browser_session_id": {- "type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "ID of a Skyvern browser session to reuse, having it continue from the current screen state"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "browser_profile_id": {+ "workflow_permanent_id": {"type": "string",- "nullable": true,- "title": "Browser Profile Id",- "description": "ID of a browser profile to reuse for this workflow run"+ "title": "Workflow Permanent Id"},- "max_screenshot_scrolls": {- "type": "integer",- "nullable": true,- "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."+ "payload": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Payload"},- "extra_http_headers": {- "additionalProperties": {- "type": "string"- },- "type": "object",- "nullable": true,- "title": "Extra Http Headers",- "description": "The extra HTTP headers for the requests in browser."+ "wait_for_completion": {+ "type": "boolean",+ "title": "Wait For Completion",+ "default": true},- "browser_address": {- "type": "string",- "nullable": true,- "title": "Browser Address",- "description": "The CDP address for the workflow run.",- "example": "http://127.0.0.1:9222"+ "browser_session_id": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "title": "Browser Session Id"},- "ai_fallback": {+ "use_parent_browser_session": {"type": "boolean",- "nullable": true,- "title": "Ai Fallback",- "description": "Whether to fallback to AI if the workflow run fails."+ "title": "Use Parent Browser Session",+ "default": false},- "run_with": {- "type": "string",- "nullable": true,- "title": "Run With",- "description": "Whether to run the workflow with agent or code."+ "parameters": {+ "items": {+ "oneOf": [+ {+ "$ref": "#/components/schemas/WorkflowParameter"+ },+ {+ "$ref": "#/components/schemas/ContextParameter"+ },+ {+ "$ref": "#/components/schemas/AWSSecretParameter"+ },+ {+ "$ref": "#/components/schemas/AzureSecretParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"+ },+ {+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"+ },+ {+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"+ },+ {+ "$ref": "#/components/schemas/OutputParameter"+ },+ {+ "$ref": "#/components/schemas/CredentialParameter"+ }+ ],+ "discriminator": {+ "propertyName": "parameter_type",+ "mapping": {+ "aws_secret": "#/components/schemas/AWSSecretParameter",+ "azure_secret": "#/components/schemas/AzureSecretParameter",+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",+ "context": "#/components/schemas/ContextParameter",+ "credential": "#/components/schemas/CredentialParameter",+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",+ "output": "#/components/schemas/OutputParameter",+ "workflow": "#/components/schemas/WorkflowParameter"+ }+ }+ },+ "type": "array",+ "title": "Parameters",+ "default": []}},"type": "object","required": [- "workflow_id"+ "label",+ "output_parameter",+ "workflow_permanent_id"],- "title": "WorkflowRunRequest"+ "title": "WorkflowTriggerBlock"},- "WorkflowRunResponse": {+ "WorkflowTriggerBlockYAML": {"properties": {- "run_id": {+ "block_type": {"type": "string",- "title": "Run Id",- "description": "Unique identifier for this run. Run ID starts with `tsk_` for task runs and `wr_` for workflow runs.",- "example": "tsk_123"+ "const": "workflow_trigger",+ "title": "Block Type",+ "default": "workflow_trigger"},- "status": {- "$ref": "#/components/schemas/RunStatus",- "description": "Current status of the run",- "example": "created"+ "label": {+ "type": "string",+ "title": "Label",+ "description": "Author-facing identifier; must be unique per workflow."},- "output": {+ "next_block_label": {"anyOf": [{- "additionalProperties": true,- "type": "object"- },- {- "items": {},- "type": "array"+ "type": "string"},{- "type": "string"+ "type": "null"}],- "title": "Output",- "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run.",- "nullable": true- },- "downloaded_files": {- "items": {- "$ref": "#/components/schemas/FileInfo"- },- "type": "array",- "nullable": true,- "title": "Downloaded Files",- "description": "List of files downloaded during the run"- },- "recording_url": {- "type": "string",- "nullable": true,- "title": "Recording Url",- "description": "URL to the recording of the run"- },- "screenshot_urls": {- "items": {- "type": "string"- },- "type": "array",- "nullable": true,- "title": "Screenshot Urls",- "description": "List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot."+ "title": "Next Block Label",+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."},- "failure_reason": {- "type": "string",- "nullable": true,- "title": "Failure Reason",- "description": "Reason for failure if the run failed or terminated"+ "continue_on_failure": {+ "type": "boolean",+ "title": "Continue On Failure",+ "default": false},- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At",- "description": "Timestamp when this run was created",- "example": "2025-01-01T00:00:00Z"+ "model": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Model"},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At",- "description": "Timestamp when this run was last modified",- "example": "2025-01-01T00:05:00Z"+ "ignore_workflow_system_prompt": {+ "type": "boolean",+ "title": "Ignore Workflow System Prompt",+ "default": false},- "queued_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Queued At",- "description": "Timestamp when this run was queued"+ "next_loop_on_failure": {+ "type": "boolean",+ "title": "Next Loop On Failure",+ "default": false},- "started_at": {+ "workflow_permanent_id": {"type": "string",- "format": "date-time",- "nullable": true,- "title": "Started At",- "description": "Timestamp when this run started execution"+ "title": "Workflow Permanent Id"},- "finished_at": {- "type": "string",- "format": "date-time",- "nullable": true,- "title": "Finished At",- "description": "Timestamp when this run finished"+ "payload": {+ "anyOf": [+ {+ "additionalProperties": true,+ "type": "object"+ },+ {+ "type": "null"+ }+ ],+ "title": "Payload"},- "app_url": {- "type": "string",- "nullable": true,- "title": "App Url",- "description": "URL to the application UI where the run can be viewed",- "example": "https://app.skyvern.com/tasks/tsk_123"+ "wait_for_completion": {+ "type": "boolean",+ "title": "Wait For Completion",+ "default": true},"browser_session_id": {- "type": "string",- "nullable": true,- "title": "Browser Session Id",- "description": "ID of the Skyvern persistent browser session used for this run",- "example": "pbs_123"- },- "browser_profile_id": {- "type": "string",- "nullable": true,- "title": "Browser Profile Id",- "description": "ID of the browser profile used for this run",- "example": "bp_123"- },- "max_screenshot_scrolls": {- "type": "integer",- "nullable": true,- "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"- },- "script_run": {- "$ref": "#/components/schemas/ScriptRunResponse",- "nullable": true,- "description": "The script run result"- },- "errors": {- "items": {- "additionalProperties": true,- "type": "object"- },- "type": "array",- "nullable": true,- "title": "Errors",- "description": "The errors for the run"- },- "step_count": {- "type": "integer",- "nullable": true,- "title": "Step Count",- "description": "Total number of steps executed in this run"- },- "run_type": {- "type": "string",- "enum": [- "workflow_run"+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }],- "title": "Run Type",- "description": "Type of run - always workflow_run for workflow runs"- },- "run_with": {- "type": "string",- "nullable": true,- "title": "Run With",- "description": "Whether the workflow run was executed with agent or code",- "example": "agent"+ "title": "Browser Session Id"},- "ai_fallback": {+ "use_parent_browser_session": {"type": "boolean",- "nullable": true,- "title": "Ai Fallback",- "description": "Whether to fallback to AI if code run fails."- },- "run_request": {- "$ref": "#/components/schemas/WorkflowRunRequest",- "nullable": true,- "description": "The original request parameters used to start this workflow run"- }- },- "type": "object",- "required": [- "run_id",- "status",- "created_at",- "modified_at",- "run_type"- ],- "title": "WorkflowRunResponse"- },- "WorkflowRunTimeline": {- "properties": {- "type": {- "$ref": "#/components/schemas/WorkflowRunTimelineType"- },- "block": {- "$ref": "#/components/schemas/WorkflowRunBlock",- "nullable": true- },- "thought": {- "$ref": "#/components/schemas/Thought",- "nullable": true- },- "children": {- "items": {- "$ref": "#/components/schemas/WorkflowRunTimeline"- },- "type": "array",- "title": "Children",- "default": []- },- "created_at": {- "type": "string",- "format": "date-time",- "title": "Created At"+ "title": "Use Parent Browser Session",+ "default": false},- "modified_at": {- "type": "string",- "format": "date-time",- "title": "Modified At"+ "parameter_keys": {+ "anyOf": [+ {+ "items": {+ "type": "string"+ },+ "type": "array"+ },+ {+ "type": "null"+ }+ ],+ "title": "Parameter Keys"}},"type": "object","required": [- "type",- "created_at",- "modified_at"- ],- "title": "WorkflowRunTimeline"- },- "WorkflowRunTimelineType": {- "type": "string",- "enum": [- "thought",- "block"- ],- "title": "WorkflowRunTimelineType"- },- "WorkflowStatus": {- "type": "string",- "enum": [- "published",- "draft",- "auto_generated",- "importing",- "import_failed"+ "label",+ "workflow_permanent_id"],- "title": "WorkflowStatus"+ "title": "WorkflowTriggerBlockYAML"},"skyvern__forge__sdk__schemas__credentials__CredentialType": {"type": "string",@@ -14189,7 +25232,7 @@"title": "CredentialType","description": "Type of credential stored in the system."},- "skyvern__schemas__run_blocks__CredentialType": {+ "skyvern__schemas__credential_type__CredentialType": {"type": "string","enum": ["skyvern",@@ -14203,13 +25246,16 @@},"servers": [{- "url": "https://api.skyvern.com"+ "url": "https://api.skyvern.com",+ "x-fern-server-name": "Cloud"},{- "url": "https://api-staging.skyvern.com"+ "url": "https://api-staging.skyvern.com",+ "x-fern-server-name": "Staging"},{- "url": "http://localhost:8000"+ "url": "http://localhost:8000",+ "x-fern-server-name": "Local"}]}diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.pyindex 6d33ebcc1..b64b46afc 100644--- a/skyvern/forge/sdk/routes/agent_protocol.py+++ b/skyvern/forge/sdk/routes/agent_protocol.py@@ -1255,7 +1255,7 @@ async def delete_workflow(@base_router.post("/folders",response_model=Folder,- tags=["Agent Folders"],+ tags=["Folders"],openapi_extra={"x-fern-sdk-method-name": "create_folder",},@@ -1297,7 +1297,7 @@ async def create_folder(@base_router.get("/folders/{folder_id}",response_model=Folder,- tags=["Agent Folders"],+ tags=["Folders"],openapi_extra={"x-fern-sdk-method-name": "get_folder",},@@ -1341,7 +1341,7 @@ async def get_folder(@base_router.get("/folders",response_model=list[Folder],- tags=["Agent Folders"],+ tags=["Folders"],openapi_extra={"x-fern-sdk-method-name": "get_folders",},@@ -1398,7 +1398,7 @@ async def get_folders(@base_router.put("/folders/{folder_id}",response_model=Folder,- tags=["Agent Folders"],+ tags=["Folders"],openapi_extra={"x-fern-sdk-method-name": "update_folder",},@@ -1444,7 +1444,7 @@ async def update_folder(@legacy_base_router.delete("/folders/{folder_id}/", include_in_schema=False)@base_router.delete("/folders/{folder_id}",- tags=["Agent Folders"],+ tags=["Folders"],openapi_extra={"x-fern-sdk-method-name": "delete_folder",},@@ -1480,7 +1480,7 @@ async def delete_folder(@base_router.put("/workflows/{workflow_permanent_id}/folder",response_model=Workflow,- tags=["Agent Folders"],+ tags=["Folders"],openapi_extra={"x-fern-sdk-method-name": "update_workflow_folder",},@@ -1590,7 +1590,7 @@ async def _apply_tag_changes_with_retry(@base_router.post("/workflows/{workflow_permanent_id}/tags",response_model=TagsResponse,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-fern-sdk-method-name": "apply_workflow_tags"},description="Atomically apply tag changes to a workflow. Sets and deletes happen in one transaction; ""same-key collisions resolve set-wins.",@@ -1640,7 +1640,7 @@ async def apply_workflow_tags(@base_router.delete("/workflows/{workflow_permanent_id}/tags/{key}",response_model=TagsResponse,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-fern-sdk-method-name": "delete_workflow_tag"},description="Soft-delete a single tag from a workflow. Writes a DELETE event row.",summary="Delete agent tag",@@ -1689,7 +1689,7 @@ async def delete_workflow_tag(@base_router.get("/workflows/{workflow_permanent_id}/tags",response_model=TagsResponse,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-fern-sdk-method-name": "get_workflow_tags"},description="Get the current tag state for a workflow.",summary="Get agent tags",@@ -1736,7 +1736,7 @@ async def _build_tags_response(workflow_permanent_id: str, organization_id: str)@base_router.get("/workflows/{workflow_permanent_id}/tags/history",response_model=TagHistoryResponse,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-fern-sdk-method-name": "get_workflow_tag_history"},description="Chronological tag-event log for a workflow (newest first). Includes SET and DELETE events.",summary="Get agent tag history",@@ -1777,7 +1777,7 @@ async def get_workflow_tag_history(@base_router.get("/tag-keys",response_model=list[TagKey],- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-fern-sdk-method-name": "list_tag_keys"},description="List all tag keys registered for the organization with their descriptions.",summary="List tag keys",@@ -1798,7 +1798,7 @@ async def list_tag_keys(@base_router.patch("/tag-keys/{key}",response_model=TagKey,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-fern-sdk-method-name": "update_tag_key"},description="Update the description for a tag key.",summary="Update tag key",@@ -1926,7 +1926,7 @@ async def _resolve_active_batch_wpids(requested_wpids: list[str], organization_i@base_router.get("/workflow-tags",response_model=WorkflowTagsBatchResponse,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-hidden": True, "x-fern-sdk-method-name": "batch_get_workflow_tags"},description="Batch fetch current tags for many workflows. Avoids N+1 on the workflows-list page.",summary="Batch get agent tags",@@ -1961,7 +1961,7 @@ async def batch_get_workflow_tags(@base_router.post("/workflow-tags",response_model=WorkflowTagsBatchResponse,- tags=["Agent Tags"],+ tags=["Tags"],openapi_extra={"x-hidden": True, "x-fern-sdk-method-name": "batch_get_workflow_tags_post"},description="Batch fetch current tags for many workflows (POST variant for id lists exceeding URL length).",summary="Batch get agent tags (POST)",@@ -2657,10 +2657,11 @@ async def heartbeat() -> Response:@legacy_base_router.get("/version/", include_in_schema=False)@base_router.get("/version",- tags=["server"],+ tags=["Server"],summary="Get server version",description="Returns the current Skyvern server version (git SHA for official builds).",responses={200: {"description": "Current server version"}},+ openapi_extra={"x-fern-sdk-method-name": "get_version"},)@base_router.get("/version/", include_in_schema=False)async def get_version() -> dict[str, str]:diff --git a/tests/unit/test_api_docs_taxonomy.py b/tests/unit/test_api_docs_taxonomy.pynew file mode 100644index 000000000..fe5bbb7b7--- /dev/null+++ b/tests/unit/test_api_docs_taxonomy.py@@ -0,0 +1,98 @@+"""Public API reference taxonomy (SKY-10580).++docs/api-reference/openapi.json is generated by scripts/sync_openapi_docs.py and rendered by+Mintlify, one section per OpenAPI tag. These tests pin the organization decisions so a future route+change can't silently reintroduce a lowercase/legacy tag or split the agent sub-resources back out.++They assert against the committed spec only — the exact static artifact Mintlify renders. Building+the app here instead (create_api_app / base_router) would couple the tests to global router state+that other tests in the same process can pollute (a stale "Workflow Tags" route leaks in across+shards), so the spec on disk is the one source that is deterministic regardless of suite order.+Drift between the code and this file is caught separately: the PR-review reminder, the OpenAPI docs+sync workflow, and `scripts/sync_openapi_docs.py --check`.+"""++import json+from pathlib import Path++COMMITTED_SPEC = Path(__file__).resolve().parents[2] / "docs" / "api-reference" / "openapi.json"++# Capitalized resource tags — kept in lockstep with .claude/skills/api-docs-audit/SKILL.md.+APPROVED_TAGS = {+ "Agents",+ "Folders",+ "Tags",+ "Schedules",+ "Credentials",+ "Browser Sessions",+ "Browser Profiles",+ "Artifacts",+ "Files",+ "Scripts",+ "Server",+ "SDK",+}+# Pre-rebrand / internal tags that must never render a public section again.+RETIRED_TAGS = {+ "Agent Folders",+ "Agent Tags",+ "Workflow Folders",+ "Workflow Tags",+ "Workflows",+ "Workflow Runs",+ "server",+ "scheduler",+}+# The endpoints this change re-tagged → their clean resource tag.+RETAGGED_PATH_TAGS = {+ "/v1/folders": "Folders",+ "/v1/folders/{folder_id}": "Folders",+ "/v1/agents/{workflow_permanent_id}/tags": "Tags",+ "/v1/tag-keys": "Tags",+ "/v1/tag-keys/{key}": "Tags",+ "/v1/version": "Server",+}+++def _committed_spec() -> dict:+ return json.loads(COMMITTED_SPEC.read_text())+++def _visible_tags(spec: dict) -> set[str]:+ # x-hidden ops stay in the schema (Fern keeps them) but Mintlify never renders them, so a+ # lowercase tag on a hidden op is fine — only non-hidden ops drive the rendered sections.+ return {+ tag+ for methods in spec["paths"].values()+ for op in methods.values()+ if isinstance(op, dict) and not op.get("x-hidden")+ for tag in (op.get("tags") or [])+ }+++def test_no_lowercase_visible_tags() -> None:+ lowercase = sorted(t for t in _visible_tags(_committed_spec()) if t[:1].islower())+ assert lowercase == [], f"lowercase tags render as sloppy doc sections: {lowercase}"+++def test_visible_tags_are_approved_resource_names() -> None:+ tags = _visible_tags(_committed_spec())+ assert {"Folders", "Tags", "Server"} <= tags, "the public sub-resources must each keep a section"+ assert tags <= APPROVED_TAGS, (+ f"unapproved tag(s) — justify and add to APPROVED_TAGS: {sorted(tags - APPROVED_TAGS)}"+ )+ assert tags.isdisjoint(RETIRED_TAGS)+++def test_retagged_endpoints_use_clean_tags() -> None:+ spec = _committed_spec()+ for path, expected in RETAGGED_PATH_TAGS.items():+ for method, op in spec["paths"][path].items():+ if isinstance(op, dict):+ assert op.get("tags") == [expected], f"{method.upper()} {path} tags={op.get('tags')}"+++def test_version_endpoint_is_conformant() -> None:+ op = _committed_spec()["paths"]["/v1/version"]["get"]+ assert op["tags"] == ["Server"]+ assert op["x-fern-sdk-method-name"] == "get_version"