Skip to content

Automate browser based workflows with AI

feat: new workflows docs (#4565)

Naman734e0e639840
diff --git a/docs/api-reference/openapi.json b/docs/api-reference/openapi.json
new file mode 100644
index 000000000..36255184f
--- /dev/null
+++ b/docs/api-reference/openapi.json
@@ -0,0 +1,13732 @@
+{
+ "openapi": "3.0.3",
+ "info": {
+ "title": "Skyvern API",
+ "description": "API for Skyvern",
+ "version": "1.0.0"
+ },
+ "paths": {
+ "/v1/run/tasks": {
+ "post": {
+ "tags": [
+ "Agent"
+ ],
+ "summary": "Run a task",
+ "description": "Run a task",
+ "operationId": "run_task_v1_run_tasks_post",
+ "parameters": [
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "nullable": true,
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ },
+ {
+ "name": "x-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/TaskRunRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successfully run task",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TaskRunResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid agent engine"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/run/workflows": {
+ "post": {
+ "tags": [
+ "Workflows"
+ ],
+ "summary": "Run a workflow",
+ "description": "Run a workflow",
+ "operationId": "run_workflow_v1_run_workflows_post",
+ "parameters": [
+ {
+ "name": "template",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false,
+ "title": "Template"
+ }
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "nullable": true,
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ },
+ {
+ "name": "x-max-steps-override",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "nullable": true,
+ "title": "X-Max-Steps-Override"
+ }
+ },
+ {
+ "name": "x-user-agent",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "nullable": true,
+ "title": "X-User-Agent"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowRunRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successfully run workflow",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowRunResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Invalid workflow run request"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/runs/{run_id}": {
+ "get": {
+ "tags": [
+ "Agent",
+ "Workflows"
+ ],
+ "summary": "Get a run by id",
+ "description": "Get run information (task run, workflow run)",
+ "operationId": "get_run_v1_runs__run_id__get",
+ "parameters": [
+ {
+ "name": "run_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": "The id of the task run or the workflow run."
+ },
+ {
+ "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": "Successfully got run",
+ "content": {
+ "application/json": {
+ "schema": {
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/TaskRunResponse"
+ },
+ {
+ "$ref": "#/components/schemas/WorkflowRunResponse"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "run_type",
+ "mapping": {
+ "task_v1": "#/components/schemas/TaskRunResponse",
+ "task_v2": "#/components/schemas/TaskRunResponse",
+ "openai_cua": "#/components/schemas/TaskRunResponse",
+ "anthropic_cua": "#/components/schemas/TaskRunResponse",
+ "ui_tars": "#/components/schemas/TaskRunResponse",
+ "workflow_run": "#/components/schemas/WorkflowRunResponse"
+ }
+ },
+ "title": "Response Get Run V1 Runs Run Id Get"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Run not found"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/runs/{run_id}/cancel": {
+ "post": {
+ "tags": [
+ "Agent",
+ "Workflows"
+ ],
+ "summary": "Cancel a run by id",
+ "description": "Cancel a run (task or workflow)",
+ "operationId": "cancel_run_v1_runs__run_id__cancel_post",
+ "parameters": [
+ {
+ "name": "run_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The id of the task run or the workflow run to cancel.",
+ "title": "Run Id"
+ },
+ "description": "The id of the task run or the workflow run to cancel."
+ },
+ {
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/workflows": {
+ "post": {
+ "tags": [
+ "Workflows"
+ ],
+ "summary": "Create a new workflow",
+ "description": "Create a new workflow",
+ "operationId": "create_workflow_v1_workflows_post",
+ "parameters": [
+ {
+ "name": "folder_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "nullable": true,
+ "description": "Optional folder ID to assign the workflow to",
+ "title": "Folder Id"
+ },
+ "description": "Optional folder ID to assign the workflow to"
+ },
+ {
+ "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."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successfully created workflow",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Workflow"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Invalid workflow definition"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Workflows"
+ ],
+ "summary": "Get Workflows",
+ "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": [
+ {
+ "name": "page",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "minimum": 1,
+ "default": 1,
+ "title": "Page"
+ }
+ },
+ {
+ "name": "page_size",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "minimum": 1,
+ "default": 10,
+ "title": "Page Size"
+ }
+ },
+ {
+ "name": "only_saved_tasks",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false,
+ "title": "Only Saved Tasks"
+ }
+ },
+ {
+ "name": "only_workflows",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false,
+ "title": "Only Workflows"
+ }
+ },
+ {
+ "name": "only_templates",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false,
+ "title": "Only Templates"
+ }
+ },
+ {
+ "name": "search_key",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "nullable": true,
+ "description": "Unified search across workflow title, folder name, and parameter metadata (key, description, default_value).",
+ "title": "Search Key"
+ },
+ "description": "Unified search across workflow title, folder name, and parameter metadata (key, description, default_value)."
+ },
+ {
+ "name": "title",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "description": "Deprecated: use search_key instead.",
+ "deprecated": true,
+ "default": "",
+ "title": "Title"
+ },
+ "description": "Deprecated: use search_key instead.",
+ "deprecated": true
+ },
+ {
+ "name": "folder_id",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "nullable": true,
+ "description": "Filter workflows by folder ID",
+ "title": "Folder Id"
+ },
+ "description": "Filter workflows by folder ID"
+ },
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/WorkflowStatus"
+ },
+ "nullable": true,
+ "title": "Status"
+ }
+ },
+ {
+ "name": "template",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false,
+ "title": "Template"
+ }
+ },
+ {
+ "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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Workflow"
+ },
+ "title": "Response Get Workflows V1 Workflows Get"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/workflows/{workflow_id}": {
+ "post": {
+ "tags": [
+ "Workflows"
+ ],
+ "summary": "Update a workflow",
+ "description": "Update a workflow",
+ "operationId": "update_workflow_v1_workflows__workflow_id__post",
+ "parameters": [
+ {
+ "name": "workflow_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the workflow to update. Workflow ID starts with `wpid_`.",
+ "example": "wpid_123",
+ "title": "Workflow Id"
+ },
+ "description": "The ID of the workflow to update. Workflow ID starts with `wpid_`."
+ },
+ {
+ "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."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successfully updated workflow",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Workflow"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Invalid workflow definition"
+ }
+ }
+ }
+ },
+ "/v1/workflows/{workflow_id}/delete": {
+ "post": {
+ "tags": [
+ "Workflows"
+ ],
+ "summary": "Delete a workflow",
+ "description": "Delete a workflow",
+ "operationId": "delete_workflow_v1_workflows__workflow_id__delete_post",
+ "parameters": [
+ {
+ "name": "workflow_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The ID of the workflow to delete. Workflow ID starts with `wpid_`.",
+ "example": "wpid_123",
+ "title": "Workflow Id"
+ },
+ "description": "The ID of the workflow to delete. Workflow ID starts with `wpid_`."
+ },
+ {
+ "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": "Successfully deleted workflow",
+ "content": {
+ "application/json": {
+ "schema": {}
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/artifacts/{artifact_id}": {
+ "get": {
+ "tags": [
+ "Artifacts"
+ ],
+ "summary": "Get an artifact",
+ "description": "Get an artifact",
+ "operationId": "get_artifact_v1_artifacts__artifact_id__get",
+ "parameters": [
+ {
+ "name": "artifact_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Artifact 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"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved artifact",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Artifact"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Artifact not found"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/runs/{run_id}/artifacts": {
+ "get": {
+ "tags": [
+ "Artifacts"
+ ],
+ "summary": "Get artifacts for a run",
+ "description": "Get artifacts for a run",
+ "operationId": "get_run_artifacts_v1_runs__run_id__artifacts_get",
+ "parameters": [
+ {
+ "name": "run_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The id of the task run or the workflow run.",
+ "title": "Run 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"
+ }
+ },
+ {
+ "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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Artifact"
+ },
+ "title": "Response Get Run Artifacts V1 Runs Run Id Artifacts Get"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/runs/{run_id}/retry_webhook": {
+ "post": {
+ "tags": [
+ "Agent"
+ ],
+ "summary": "Retry 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.",
+ "example": "tsk_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,
+ "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",
+ "content": {
+ "application/json": {
+ "schema": {}
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/runs/{run_id}/timeline": {
+ "get": {
+ "tags": [
+ "Agent",
+ "Workflows"
+ ],
+ "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.",
+ "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,
+ "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 run timeline",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/WorkflowRunTimeline"
+ },
+ "title": "Response Get Run Timeline V1 Runs Run Id Timeline Get"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Timeline not available for this run type"
+ },
+ "404": {
+ "description": "Run not found"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/upload_file": {
+ "post": {
+ "tags": [
+ "Files"
+ ],
+ "summary": "Upload File",
+ "operationId": "upload_file_v1_upload_file_post",
+ "parameters": [
+ {
+ "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."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "multipart/form-data": {
+ "schema": {
+ "$ref": "#/components/schemas/Body_upload_file_v1_upload_file_post"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadFileResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/browser_profiles": {
+ "post": {
+ "tags": [
+ "Browser Profiles"
+ ],
+ "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,
+ "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",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$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": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Browser Profiles"
+ ],
+ "summary": "List browser profiles",
+ "description": "Get all browser profiles for the organization",
+ "operationId": "list_browser_profiles_v1_browser_profiles_get",
+ "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,
+ "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 browser profiles",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BrowserProfile"
+ },
+ "title": "Response List Browser Profiles V1 Browser Profiles Get"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/browser_profiles/{profile_id}": {
+ "get": {
+ "tags": [
+ "Browser Profiles"
+ ],
+ "summary": "Get browser profile",
+ "description": "Get a specific browser profile by ID",
+ "operationId": "get_browser_profile_v1_browser_profiles__profile_id__get",
+ "parameters": [
+ {
+ "name": "profile_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."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved browser profile",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BrowserProfile"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Browser profile not found"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Browser Profiles"
+ ],
+ "summary": "Delete browser profile",
+ "description": "Delete a browser profile (soft delete)",
+ "operationId": "delete_browser_profile_v1_browser_profiles__profile_id__delete",
+ "parameters": [
+ {
+ "name": "profile_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 browser profile to delete. 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."
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Successfully deleted browser profile"
+ },
+ "404": {
+ "description": "Browser profile not found"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/browser_sessions": {
+ "post": {
+ "tags": [
+ "Browser Sessions"
+ ],
+ "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,
+ "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/CreateBrowserSessionRequest",
+ "default": {
+ "timeout": 60
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successfully created browser session",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BrowserSessionResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Unauthorized - Invalid or missing authentication"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Browser Sessions"
+ ],
+ "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,
+ "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 all active browser sessions",
+ "content": {
+ "application/json": {
+ "schema": {
+ "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": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/browser_sessions/{browser_session_id}/close": {
+ "post": {
+ "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."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully closed browser session",
+ "content": {
+ "application/json": {
+ "schema": {}
+ }
+ }
+ },
+ "403": {
+ "description": "Unauthorized - Invalid or missing authentication"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/browser_sessions/{browser_session_id}": {
+ "get": {
+ "tags": [
+ "Browser Sessions"
+ ],
+ "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": "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",
+ "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": "Successfully retrieved browser session details",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BrowserSessionResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Unauthorized - Invalid or missing authentication"
+ },
+ "404": {
+ "description": "Browser session not found"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/credentials/totp": {
+ "post": {
+ "tags": [
+ "Credentials"
+ ],
+ "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": "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."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TOTPCodeCreate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TOTPCode"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/credentials": {
+ "post": {
+ "tags": [
+ "Credentials"
+ ],
+ "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,
+ "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/CreateCredentialRequest",
+ "description": "The credential data to create"
+ },
+ "example": {
+ "name": "My Credential",
+ "credential_type": "PASSWORD",
+ "credential": {
+ "username": "[email protected]",
+ "password": "securepassword123",
+ "totp": "JBSWY3DPEHPK3PXP"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CredentialResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "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": "page",
+ "in": "query",
+ "required": false,
+ "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"
+ },
+ "description": "Number of items per page"
+ },
+ {
+ "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": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CredentialResponse"
+ },
+ "title": "Response Get Credentials V1 Credentials Get"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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",
+ "example": "cred_1234567890",
+ "title": "Credential Id"
+ },
+ "description": "The unique identifier of the credential to delete"
+ },
+ {
+ "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": {
+ "204": {
+ "description": "Successful Response"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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",
+ "example": "cred_1234567890",
+ "title": "Credential Id"
+ },
+ "description": "The unique identifier of the credential"
+ },
+ {
+ "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": {
+ "$ref": "#/components/schemas/CredentialResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/run/tasks/login": {
+ "post": {
+ "tags": [
+ "Agent"
+ ],
+ "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": {
+ "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."
+ }
+ ],
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v1/run/tasks/download_files": {
+ "post": {
+ "tags": [
+ "Agent"
+ ],
+ "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": {
+ "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."
+ }
+ ],
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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": {
+ "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."
+ }
+ ],
+ "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"
+ }
+ }
+ }
+ }
+ }
+ },
+ "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",
+ "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"
+ },
+ "description": "Number of items per page"
+ },
+ {
+ "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": {
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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",
+ "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,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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",
+ "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,
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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"
+ },
+ {
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/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": {
+ "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."
+ }
+ ],
+ "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"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/checkout": {
+ "post": {
+ "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",
+ "parameters": [
+ {
+ "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."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CheckoutSubscriptionRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CheckoutSessionResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/portal": {
+ "post": {
+ "summary": "Create Portal Session",
+ "description": "Create a Stripe Customer Portal session for managing subscription.\n\nFrontend should redirect the user to the returned URL.\nThe portal allows users to:\n- Update payment methods\n- Upgrade/downgrade plans\n- Cancel subscription\n- View invoices",
+ "operationId": "create_portal_session_api_v1_billing_portal_post",
+ "parameters": [
+ {
+ "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": {
+ "$ref": "#/components/schemas/PortalSessionResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/state": {
+ "get": {
+ "summary": "Get Organization Billing",
+ "operationId": "get_organization_billing_api_v1_billing_state_get",
+ "parameters": [
+ {
+ "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": {
+ "$ref": "#/components/schemas/BillingStateResponse",
+ "nullable": true,
+ "title": "Response Get Organization Billing Api V1 Billing State Get"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/change-tier": {
+ "post": {
+ "summary": "Change Tier",
+ "description": "Redirect to Stripe Portal for tier changes.\nPortal handles proration based on configured settings:\n- Upgrades: Immediate proration charge\n- Downgrades: Apply at end of billing period",
+ "operationId": "change_tier_api_v1_billing_change_tier_post",
+ "parameters": [
+ {
+ "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."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChangeTierRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChangeTierResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "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"
+ },
+ "deleted_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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",
+ "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"
+ }
+ },
+ "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": ""
+ },
+ "data": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "title": "Data",
+ "description": "Additional context data",
+ "nullable": true
+ }
+ },
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Action Id"
+ },
+ "source_action_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Source Action Id"
+ },
+ "organization_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Organization Id"
+ },
+ "workflow_run_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Workflow Run Id"
+ },
+ "task_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Task Id"
+ },
+ "step_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Step Id"
+ },
+ "step_order": {
+ "type": "integer",
+ "nullable": true,
+ "title": "Step Order"
+ },
+ "action_order": {
+ "type": "integer",
+ "nullable": true,
+ "title": "Action Order"
+ },
+ "confidence_float": {
+ "type": "number",
+ "nullable": true,
+ "title": "Confidence Float"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "reasoning": {
+ "type": "string",
+ "nullable": true,
+ "title": "Reasoning"
+ },
+ "intention": {
+ "type": "string",
+ "nullable": true,
+ "title": "Intention"
+ },
+ "response": {
+ "type": "string",
+ "nullable": true,
+ "title": "Response"
+ },
+ "element_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Element Id"
+ },
+ "skyvern_element_hash": {
+ "type": "string",
+ "nullable": true,
+ "title": "Skyvern Element Hash"
+ },
+ "skyvern_element_data": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Skyvern Element Data"
+ },
+ "screenshot_artifact_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Screenshot Artifact Id"
+ },
+ "tool_call_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Tool Call Id"
+ },
+ "xpath": {
+ "type": "string",
+ "nullable": true,
+ "title": "Xpath"
+ },
+ "errors": {
+ "items": {
+ "$ref": "#/components/schemas/UserDefinedError"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Errors"
+ },
+ "data_extraction_goal": {
+ "type": "string",
+ "nullable": true,
+ "title": "Data Extraction Goal"
+ },
+ "file_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "File Name"
+ },
+ "file_url": {
+ "type": "string",
+ "nullable": true,
+ "title": "File Url"
+ },
+ "download": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Download"
+ },
+ "download_triggered": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Download Triggered"
+ },
+ "downloaded_files": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Downloaded Files"
+ },
+ "is_upload_file_tag": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Is Upload File Tag"
+ },
+ "text": {
+ "type": "string",
+ "nullable": true,
+ "title": "Text"
+ },
+ "input_or_select_context": {
+ "$ref": "#/components/schemas/InputOrSelectContext",
+ "nullable": true
+ },
+ "option": {
+ "$ref": "#/components/schemas/SelectOption",
+ "nullable": true
+ },
+ "is_checked": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Is Checked"
+ },
+ "verified": {
+ "type": "boolean",
+ "title": "Verified",
+ "default": false
+ },
+ "click_context": {
+ "$ref": "#/components/schemas/ClickContext",
+ "nullable": true
+ },
+ "totp_timing_info": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Totp Timing Info"
+ },
+ "has_mini_agent": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Has Mini Agent"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Modified At"
+ },
+ "created_by": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "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": [
+ "action"
+ ],
+ "title": "Block Type",
+ "default": "action"
+ },
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Parameter Keys"
+ },
+ "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"
+ },
+ "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",
+ "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"
+ },
+ "uri": {
+ "type": "string",
+ "title": "Uri"
+ },
+ "task_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Task Id"
+ },
+ "step_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Step 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"
+ },
+ "run_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Run Id"
+ },
+ "observer_cruise_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Observer Cruise Id"
+ },
+ "observer_thought_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Observer Thought Id"
+ },
+ "ai_suggestion_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Ai Suggestion Id"
+ },
+ "signed_url": {
+ "type": "string",
+ "nullable": true,
+ "title": "Signed Url"
+ },
+ "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"
+ ],
+ "title": "ArtifactType"
+ },
+ "AzureSecretParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "enum": [
+ "azure_secret"
+ ],
+ "title": "Parameter Type",
+ "default": "azure_secret"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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",
+ "enum": [
+ "azure_vault_credential"
+ ],
+ "title": "Parameter Type",
+ "default": "azure_vault_credential"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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",
+ "enum": [
+ "azure_vault_credential"
+ ],
+ "title": "Parameter Type",
+ "default": "azure_vault_credential"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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"
+ ],
+ "title": "AzureVaultCredentialParameterYAML"
+ },
+ "BillingStateResponse": {
+ "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": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ }
+ },
+ "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"
+ },
+ "BitwardenCreditCardDataParameter": {
+ "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": {
+ "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": {
+ "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"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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",
+ "enum": [
+ "bitwarden_login_credential"
+ ],
+ "title": "Parameter Type",
+ "default": "bitwarden_login_credential"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Url Parameter Key"
+ },
+ "bitwarden_collection_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Bitwarden Collection Id"
+ },
+ "bitwarden_item_id": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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",
+ "enum": [
+ "bitwarden_login_credential"
+ ],
+ "title": "Parameter Type",
+ "default": "bitwarden_login_credential"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Url Parameter Key"
+ },
+ "bitwarden_collection_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Bitwarden Collection Id"
+ },
+ "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"
+ ],
+ "title": "Parameter Type",
+ "default": "bitwarden_sensitive_information"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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",
+ "enum": [
+ "bitwarden_sensitive_information"
+ ],
+ "title": "Parameter Type",
+ "default": "bitwarden_sensitive_information"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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",
+ "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"
+ },
+ "criteria": {
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/JinjaBranchCriteria"
+ },
+ {
+ "$ref": "#/components/schemas/PromptBranchCriteria"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "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"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id",
+ "description": "ID of the organization that owns this session"
+ },
+ "status": {
+ "type": "string",
+ "nullable": true,
+ "title": "Status",
+ "description": "Current status of the browser session",
+ "example": "created"
+ },
+ "runnable_type": {
+ "type": "string",
+ "nullable": true,
+ "title": "Runnable Type",
+ "description": "Type of the current runnable associated with this session (workflow, task etc)",
+ "example": "task"
+ },
+ "runnable_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Runnable Id",
+ "description": "ID of the current runnable",
+ "example": "tsk_123456"
+ },
+ "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
+ },
+ "browser_address": {
+ "type": "string",
+ "nullable": true,
+ "title": "Browser Address",
+ "description": "Url for connecting to the browser",
+ "example": "http://localhost:9222"
+ },
+ "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"
+ },
+ "extensions": {
+ "items": {
+ "$ref": "#/components/schemas/Extensions"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Extensions",
+ "description": "A list of extensions installed in the browser session."
+ },
+ "browser_type": {
+ "$ref": "#/components/schemas/PersistentBrowserType",
+ "nullable": true,
+ "description": "The type of browser used for the session."
+ },
+ "vnc_streaming_supported": {
+ "type": "boolean",
+ "title": "Vnc Streaming Supported",
+ "description": "Whether the browser session supports VNC streaming",
+ "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"
+ },
+ "recordings": {
+ "items": {
+ "$ref": "#/components/schemas/FileInfo"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Recordings",
+ "description": "The list of video recordings from the browser session"
+ },
+ "started_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Started At",
+ "description": "Timestamp when the session was started"
+ },
+ "completed_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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": {
+ "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"
+ },
+ "tier": {
+ "type": "string",
+ "title": "Tier"
+ },
+ "redirect_url": {
+ "type": "string",
+ "nullable": true,
+ "title": "Redirect Url"
+ }
+ },
+ "type": "object",
+ "required": [
+ "status",
+ "tier"
+ ],
+ "title": "ChangeTierResponse"
+ },
+ "CheckoutSessionResponse": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "Id"
+ },
+ "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"
+ ],
+ "title": "Type",
+ "default": "ai_click"
+ },
+ "selector": {
+ "type": "string",
+ "nullable": true,
+ "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"
+ }
+ ],
+ "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."
+ },
+ "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": [
+ "code"
+ ],
+ "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"
+ },
+ "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",
+ "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": {
+ "type": "boolean",
+ "title": "Next Loop On Failure",
+ "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."
+ },
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "conditional"
+ ],
+ "title": "Block Type",
+ "default": "conditional"
+ },
+ "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
+ },
+ "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",
+ "enum": [
+ "conditional"
+ ],
+ "title": "Block Type",
+ "default": "conditional"
+ },
+ "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
+ },
+ "branch_conditions": {
+ "items": {
+ "$ref": "#/components/schemas/BranchConditionYAML"
+ },
+ "type": "array",
+ "title": "Branch Conditions"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "ConditionalBlockYAML"
+ },
+ "ContextParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "enum": [
+ "context"
+ ],
+ "title": "Parameter Type",
+ "default": "context"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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"
+ }
+ ],
+ "title": "Value",
+ "nullable": true
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "source"
+ ],
+ "title": "ContextParameter"
+ },
+ "ContextParameterYAML": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "enum": [
+ "context"
+ ],
+ "title": "Parameter Type",
+ "default": "context"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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",
+ "title": "Name",
+ "description": "Name for the browser profile"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description",
+ "description": "Optional profile description"
+ },
+ "browser_session_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Browser Session Id",
+ "description": "Persistent browser session to convert into a profile"
+ },
+ "workflow_run_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Workflow Run Id",
+ "description": "Workflow run whose persisted session should be captured"
+ }
+ },
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "title": "CreateBrowserProfileRequest"
+ },
+ "CreateBrowserSessionRequest": {
+ "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
+ },
+ "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"
+ },
+ "extensions": {
+ "items": {
+ "$ref": "#/components/schemas/Extensions"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Extensions",
+ "description": "A list of extensions to install in the browser session."
+ },
+ "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": {
+ "type": "string",
+ "title": "Name",
+ "description": "Name of the credential",
+ "example": "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",
+ "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"
+ },
+ "run_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Run Id",
+ "description": "Associated run ID"
+ },
+ "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"
+ }
+ }
+ },
+ "type": "object",
+ "title": "CreateScriptRequest"
+ },
+ "CreateScriptResponse": {
+ "properties": {
+ "script_id": {
+ "type": "string",
+ "title": "Script Id",
+ "description": "Unique script identifier",
+ "example": "s_abc123"
+ },
+ "version": {
+ "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"
+ },
+ "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",
+ "enum": [
+ "credential"
+ ],
+ "title": "Parameter Type",
+ "default": "credential"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "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",
+ "enum": [
+ "credential"
+ ],
+ "title": "Parameter Type",
+ "default": "credential"
+ },
+ "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"
+ },
+ {
+ "$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",
+ "example": "Amazon Login"
+ }
+ },
+ "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."
+ },
+ "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"
+ ],
+ "title": "DownloadFilesRequest"
+ },
+ "DownloadToS3Block": {
+ "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": [
+ "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": {
+ "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
+ },
+ "url": {
+ "type": "string",
+ "title": "Url"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "url"
+ ],
+ "title": "DownloadToS3Block"
+ },
+ "DownloadToS3BlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "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": {
+ "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",
+ "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": {
+ "type": "string",
+ "title": "Prompt",
+ "description": "Extraction prompt",
+ "default": ""
+ },
+ "extract_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Intention",
+ "description": "The intention or goal of the extraction"
+ },
+ "data": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "title": "Data",
+ "description": "Additional context data",
+ "nullable": true
+ }
+ },
+ "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": {
+ "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": [
+ "extraction"
+ ],
+ "title": "Block Type",
+ "default": "extraction"
+ },
+ "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",
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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"
+ ],
+ "title": "ExtractionBlock"
+ },
+ "ExtractionBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "extraction"
+ ],
+ "title": "Block Type",
+ "default": "extraction"
+ },
+ "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
+ },
+ "data_extraction_goal": {
+ "type": "string",
+ "title": "Data Extraction Goal"
+ },
+ "url": {
+ "type": "string",
+ "nullable": true,
+ "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"
+ }
+ ],
+ "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
+ }
+ },
+ "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": {
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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": "FileDownloadBlock"
+ },
+ "FileDownloadBlockYAML": {
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Totp Identifier"
+ },
+ "disable_cache": {
+ "type": "boolean",
+ "title": "Disable Cache",
+ "default": false
+ },
+ "download_timeout": {
+ "type": "number",
+ "nullable": true,
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Checksum",
+ "description": "SHA-256 checksum of the file"
+ },
+ "filename": {
+ "type": "string",
+ "nullable": true,
+ "title": "Filename",
+ "description": "Original filename"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Modified At",
+ "description": "Modified time of the file"
+ }
+ },
+ "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": {
+ "type": "integer",
+ "nullable": true,
+ "title": "Size",
+ "description": "File size in bytes"
+ },
+ "mime_type": {
+ "type": "string",
+ "nullable": true,
+ "title": "Mime Type",
+ "description": "MIME type of the file"
+ },
+ "content_hash": {
+ "type": "string",
+ "nullable": true,
+ "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": {
+ "additionalProperties": {
+ "$ref": "#/components/schemas/FileNode"
+ },
+ "type": "object",
+ "nullable": true,
+ "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": {
+ "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_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": {
+ "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
+ },
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "file_type": {
+ "$ref": "#/components/schemas/FileType"
+ },
+ "json_schema": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Json Schema"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "file_url",
+ "file_type"
+ ],
+ "title": "FileParserBlock"
+ },
+ "FileParserBlockYAML": {
+ "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": "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
+ },
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "file_type": {
+ "$ref": "#/components/schemas/FileType"
+ },
+ "json_schema": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Json Schema"
+ }
+ },
+ "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"
+ },
+ "FileUploadBlock": {
+ "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_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": {
+ "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
+ },
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Aws Secret Access Key"
+ },
+ "region_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Region Name"
+ },
+ "azure_storage_account_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Storage Account Name"
+ },
+ "azure_storage_account_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Storage Account Key"
+ },
+ "azure_blob_container_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Blob Container Name"
+ },
+ "path": {
+ "type": "string",
+ "nullable": true,
+ "title": "Path"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter"
+ ],
+ "title": "FileUploadBlock"
+ },
+ "FileUploadBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "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": {
+ "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
+ },
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Aws Secret Access Key"
+ },
+ "region_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Region Name"
+ },
+ "azure_storage_account_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Storage Account Name"
+ },
+ "azure_storage_account_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Storage Account Key"
+ },
+ "azure_blob_container_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Blob Container Name"
+ },
+ "azure_folder_path": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Folder Path"
+ },
+ "path": {
+ "type": "string",
+ "nullable": true,
+ "title": "Path"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "FileUploadBlockYAML"
+ },
+ "ForLoopBlock": {
+ "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": [
+ "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": {
+ "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
+ },
+ "loop_blocks": {
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/ConditionalBlock"
+ },
+ {
+ "$ref": "#/components/schemas/ForLoopBlock"
+ },
+ {
+ "$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"
+ }
+ }
+ },
+ "type": "array",
+ "title": "Loop Blocks"
+ },
+ "loop_over": {
+ "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"
+ }
+ },
+ "nullable": true,
+ "title": "Loop Over"
+ },
+ "loop_variable_reference": {
+ "type": "string",
+ "nullable": true,
+ "title": "Loop Variable Reference"
+ },
+ "complete_if_empty": {
+ "type": "boolean",
+ "title": "Complete If Empty",
+ "default": false
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "loop_blocks"
+ ],
+ "title": "ForLoopBlock"
+ },
+ "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"
+ }
+ ]
+ },
+ "type": "array",
+ "title": "Loop Blocks"
+ },
+ "loop_over_parameter_key": {
+ "type": "string",
+ "title": "Loop Over Parameter Key",
+ "default": ""
+ },
+ "loop_variable_reference": {
+ "type": "string",
+ "nullable": true,
+ "title": "Loop Variable Reference"
+ },
+ "complete_if_empty": {
+ "type": "boolean",
+ "title": "Complete If Empty",
+ "default": false
+ }
+ },
+ "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')",
+ "example": "US"
+ },
+ "subdivision": {
+ "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"
+ },
+ "city": {
+ "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"
+ }
+ },
+ "type": "object",
+ "required": [
+ "country"
+ ],
+ "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"
+ },
+ "HTTPValidationError": {
+ "properties": {
+ "detail": {
+ "items": {
+ "$ref": "#/components/schemas/ValidationError"
+ },
+ "type": "array",
+ "title": "Detail"
+ }
+ },
+ "type": "object",
+ "title": "HTTPValidationError"
+ },
+ "HttpRequestBlock": {
+ "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": [
+ "http_request"
+ ],
+ "title": "Block Type",
+ "default": "http_request"
+ },
+ "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
+ },
+ "method": {
+ "type": "string",
+ "title": "Method",
+ "default": "GET"
+ },
+ "url": {
+ "type": "string",
+ "nullable": true,
+ "title": "Url"
+ },
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "nullable": true,
+ "title": "Headers"
+ },
+ "body": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Body"
+ },
+ "files": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "nullable": true,
+ "title": "Files"
+ },
+ "timeout": {
+ "type": "integer",
+ "title": "Timeout",
+ "default": 30
+ },
+ "follow_redirects": {
+ "type": "boolean",
+ "title": "Follow Redirects",
+ "default": true
+ },
+ "download_filename": {
+ "type": "string",
+ "nullable": true,
+ "title": "Download Filename"
+ },
+ "save_response_as_file": {
+ "type": "boolean",
+ "title": "Save Response As File",
+ "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"
+ ],
+ "title": "HttpRequestBlock"
+ },
+ "HttpRequestBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "http_request"
+ ],
+ "title": "Block Type",
+ "default": "http_request"
+ },
+ "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
+ },
+ "method": {
+ "type": "string",
+ "title": "Method",
+ "default": "GET"
+ },
+ "url": {
+ "type": "string",
+ "nullable": true,
+ "title": "Url"
+ },
+ "headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "nullable": true,
+ "title": "Headers"
+ },
+ "body": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Body"
+ },
+ "files": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "nullable": true,
+ "title": "Files"
+ },
+ "timeout": {
+ "type": "integer",
+ "title": "Timeout",
+ "default": 30
+ },
+ "follow_redirects": {
+ "type": "boolean",
+ "title": "Follow Redirects",
+ "default": true
+ },
+ "download_filename": {
+ "type": "string",
+ "nullable": true,
+ "title": "Download Filename"
+ },
+ "save_response_as_file": {
+ "type": "boolean",
+ "title": "Save Response As File",
+ "default": false
+ },
+ "parameter_keys": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Parameter Keys"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "HttpRequestBlockYAML"
+ },
+ "HumanInteractionBlock": {
+ "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": [
+ "human_interaction"
+ ],
+ "title": "Block Type",
+ "default": "human_interaction"
+ },
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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"
+ },
+ "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]"
+ },
+ "recipients": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "title": "Recipients",
+ "default": []
+ },
+ "subject": {
+ "type": "string",
+ "title": "Subject",
+ "default": "Human interaction required for workflow run"
+ },
+ "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"
+ ],
+ "title": "Block Type",
+ "default": "human_interaction"
+ },
+ "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
+ },
+ "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"
+ },
+ "subject": {
+ "type": "string",
+ "title": "Subject"
+ },
+ "body": {
+ "type": "string",
+ "title": "Body"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "timeout_seconds",
+ "sender",
+ "recipients",
+ "subject",
+ "body"
+ ],
+ "title": "HumanInteractionBlockYAML"
+ },
+ "InputOrSelectContext": {
+ "properties": {
+ "intention": {
+ "type": "string",
+ "nullable": true,
+ "title": "Intention"
+ },
+ "field": {
+ "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"
+ },
+ "is_location_input": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Is Location Input"
+ },
+ "is_date_related": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Is Date Related"
+ },
+ "date_format": {
+ "type": "string",
+ "nullable": true,
+ "title": "Date Format"
+ },
+ "is_text_captcha": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Is Text Captcha"
+ }
+ },
+ "type": "object",
+ "title": "InputOrSelectContext"
+ },
+ "InputTextAction": {
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "ai_input_text"
+ ],
+ "title": "Type",
+ "default": "ai_input_text"
+ },
+ "selector": {
+ "type": "string",
+ "nullable": true,
+ "title": "Selector",
+ "description": "CSS selector for the element",
+ "default": ""
+ },
+ "value": {
+ "type": "string",
+ "nullable": true,
+ "title": "Value",
+ "description": "Value to input",
+ "default": ""
+ },
+ "intention": {
+ "type": "string",
+ "title": "Intention",
+ "description": "The intention or goal of the input",
+ "default": ""
+ },
+ "data": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "title": "Data",
+ "description": "Additional context data",
+ "nullable": true
+ },
+ "totp_identifier": {
+ "type": "string",
+ "nullable": true,
+ "title": "Totp Identifier",
+ "description": "TOTP identifier for input_text actions"
+ },
+ "totp_url": {
+ "type": "string",
+ "nullable": true,
+ "title": "Totp Url",
+ "description": "TOTP URL for input_text actions"
+ },
+ "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"
+ ],
+ "title": "Criteria Type",
+ "default": "jinja2_template"
+ },
+ "expression": {
+ "type": "string",
+ "title": "Expression"
+ },
+ "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"
+ ],
+ "title": "Type",
+ "default": "locate_element"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt",
+ "description": "Natural language prompt to locate an element",
+ "default": ""
+ }
+ },
+ "type": "object",
+ "title": "LocateElementAction",
+ "description": "Locate element action parameters."
+ },
+ "LoginBlock": {
+ "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": [
+ "login"
+ ],
+ "title": "Block Type",
+ "default": "login"
+ },
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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": "LoginBlock"
+ },
+ "LoginBlockYAML": {
+ "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."
+ },
+ "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
+ },
+ "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"
+ },
+ "totp_verification_url": {
+ "type": "string",
+ "nullable": true,
+ "title": "Totp Verification Url"
+ },
+ "totp_identifier": {
+ "type": "string",
+ "nullable": true,
+ "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"
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "LoginBlockYAML"
+ },
+ "LoginRequest": {
+ "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"
+ },
+ "credential_type": {
+ "$ref": "#/components/schemas/skyvern__schemas__run_blocks__CredentialType",
+ "description": "Where to get the credential from"
+ },
+ "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"
+ },
+ "onepassword_vault_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Onepassword Vault Id",
+ "description": "1Password vault ID"
+ },
+ "onepassword_item_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Onepassword Item Id",
+ "description": "1Password item ID"
+ },
+ "azure_vault_name": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Vault Name",
+ "description": "Azure Vault Name"
+ },
+ "azure_vault_username_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Vault Username Key",
+ "description": "Azure Vault username key"
+ },
+ "azure_vault_password_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Vault Password Key",
+ "description": "Azure Vault password key"
+ },
+ "azure_vault_totp_secret_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Azure Vault Totp Secret Key",
+ "description": "Azure Vault TOTP secret key"
+ }
+ },
+ "type": "object",
+ "required": [
+ "credential_type"
+ ],
+ "title": "LoginRequest"
+ },
+ "NavigationBlock": {
+ "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": [
+ "navigation"
+ ],
+ "title": "Block Type",
+ "default": "navigation"
+ },
+ "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",
+ "title": "Navigation Goal"
+ },
+ "data_extraction_goal": {
+ "type": "string",
+ "nullable": true,
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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",
+ "navigation_goal"
+ ],
+ "title": "NavigationBlock"
+ },
+ "NavigationBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "navigation"
+ ],
+ "title": "Block Type",
+ "default": "navigation"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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)",
+ "example": "4111111111111111"
+ },
+ "card_cvv": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Cvv",
+ "description": "The card's CVV (must not be empty)",
+ "example": "123"
+ },
+ "card_exp_month": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Exp Month",
+ "description": "The card's expiration month (must not be empty)",
+ "example": "12"
+ },
+ "card_exp_year": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Exp Year",
+ "description": "The card's expiration year (must not be empty)",
+ "example": "2025"
+ },
+ "card_brand": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Brand",
+ "description": "The card's brand (must not be empty)",
+ "example": "visa"
+ },
+ "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"
+ },
+ "username": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Username",
+ "description": "The username associated with the credential (must not be empty)",
+ "example": "[email protected]"
+ },
+ "totp": {
+ "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"
+ },
+ "totp_identifier": {
+ "type": "string",
+ "nullable": true,
+ "title": "Totp Identifier",
+ "description": "Identifier (email or phone number) used to fetch TOTP codes",
+ "example": "[email protected]"
+ }
+ },
+ "type": "object",
+ "required": [
+ "password",
+ "username"
+ ],
+ "title": "NonEmptyPasswordCredential",
+ "description": "Password credential model that requires non-empty values."
+ },
+ "OTPType": {
+ "type": "string",
+ "enum": [
+ "totp",
+ "magic_link"
+ ],
+ "title": "OTPType"
+ },
+ "OnePasswordCredentialParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "enum": [
+ "onepassword"
+ ],
+ "title": "Parameter Type",
+ "default": "onepassword"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "onepassword_credential_parameter_id": {
+ "type": "string",
+ "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": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "onepassword_credential_parameter_id",
+ "workflow_id",
+ "vault_id",
+ "item_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "OnePasswordCredentialParameter"
+ },
+ "OnePasswordCredentialParameterYAML": {
+ "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": {
+ "type": "string",
+ "title": "Vault Id"
+ },
+ "item_id": {
+ "type": "string",
+ "title": "Item Id"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "vault_id",
+ "item_id"
+ ],
+ "title": "OnePasswordCredentialParameterYAML"
+ },
+ "OutputParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "enum": [
+ "output"
+ ],
+ "title": "Parameter Type",
+ "default": "output"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "output_parameter_id": {
+ "type": "string",
+ "title": "Output Parameter Id"
+ },
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "output_parameter_id",
+ "workflow_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "OutputParameter"
+ },
+ "OutputParameterYAML": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "enum": [
+ "output"
+ ],
+ "title": "Parameter Type",
+ "default": "output"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key"
+ ],
+ "title": "OutputParameterYAML"
+ },
+ "PDFFormat": {
+ "type": "string",
+ "enum": [
+ "A4",
+ "Letter",
+ "Legal",
+ "Tabloid"
+ ],
+ "title": "PDFFormat"
+ },
+ "PDFParserBlock": {
+ "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": [
+ "pdf_parser"
+ ],
+ "title": "Block Type",
+ "default": "pdf_parser"
+ },
+ "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
+ },
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "json_schema": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Json Schema"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "file_url"
+ ],
+ "title": "PDFParserBlock",
+ "description": "DEPRECATED: Use FileParserBlock with file_type=FileType.PDF instead.\nThis block will be removed in a future version."
+ },
+ "PDFParserBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "pdf_parser"
+ ],
+ "title": "Block Type",
+ "default": "pdf_parser"
+ },
+ "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
+ },
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "json_schema": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Json Schema"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "file_url"
+ ],
+ "title": "PDFParserBlockYAML"
+ },
+ "PasswordCredentialResponse": {
+ "properties": {
+ "username": {
+ "type": "string",
+ "title": "Username",
+ "description": "The username associated with the credential",
+ "example": "[email protected]"
+ },
+ "totp_type": {
+ "$ref": "#/components/schemas/TotpType",
+ "description": "Type of 2FA method used for this credential",
+ "default": "none",
+ "example": "authenticator"
+ },
+ "totp_identifier": {
+ "type": "string",
+ "nullable": true,
+ "title": "Totp Identifier",
+ "description": "Identifier (email or phone number) used to fetch TOTP codes",
+ "example": "[email protected]"
+ }
+ },
+ "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"
+ ],
+ "title": "PlanTier",
+ "description": "Self-serve subscription tiers. Enterprise customers use manual billing (bypass)."
+ },
+ "PortalSessionResponse": {
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "Url"
+ }
+ },
+ "type": "object",
+ "required": [
+ "url"
+ ],
+ "title": "PortalSessionResponse"
+ },
+ "PrintPageBlock": {
+ "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": [
+ "print_page"
+ ],
+ "title": "Block Type",
+ "default": "print_page"
+ },
+ "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
+ },
+ "include_timestamp": {
+ "type": "boolean",
+ "title": "Include Timestamp",
+ "default": true
+ },
+ "custom_filename": {
+ "type": "string",
+ "nullable": true,
+ "title": "Custom Filename"
+ },
+ "format": {
+ "type": "string",
+ "title": "Format",
+ "default": "A4"
+ },
+ "landscape": {
+ "type": "boolean",
+ "title": "Landscape",
+ "default": false
+ },
+ "print_background": {
+ "type": "boolean",
+ "title": "Print Background",
+ "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"
+ ],
+ "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": {
+ "type": "boolean",
+ "title": "Landscape",
+ "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"
+ },
+ {
+ "$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": [
+ "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"
+ },
+ "result": {
+ "nullable": true,
+ "title": "Result",
+ "description": "The result from the action (e.g., selector, value, extracted data)"
+ }
+ },
+ "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"
+ ],
+ "title": "RunStatus"
+ },
+ "Script": {
+ "properties": {
+ "script_revision_id": {
+ "type": "string",
+ "title": "Script Revision Id",
+ "description": "Unique identifier for this specific script revision"
+ },
+ "script_id": {
+ "type": "string",
+ "title": "Script Id",
+ "description": "User-facing script identifier, consistent across versions"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id",
+ "description": "ID of the organization that owns this script"
+ },
+ "run_id": {
+ "type": "string",
+ "nullable": true,
+ "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 script was created"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At",
+ "description": "Timestamp when the script was last modified"
+ },
+ "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"
+ },
+ "content": {
+ "type": "string",
+ "title": "Content",
+ "description": "Base64 encoded file content"
+ },
+ "encoding": {
+ "$ref": "#/components/schemas/FileEncoding",
+ "description": "Content encoding",
+ "default": "base64"
+ },
+ "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": {
+ "type": "boolean",
+ "title": "Ai Fallback Triggered",
+ "default": false
+ }
+ },
+ "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"
+ ],
+ "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."
+ },
+ "SelectOption": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "nullable": true,
+ "title": "Label"
+ },
+ "value": {
+ "type": "string",
+ "nullable": true,
+ "title": "Value"
+ },
+ "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": ""
+ },
+ "data": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "title": "Data",
+ "description": "Additional context data",
+ "nullable": true
+ },
+ "timeout": {
+ "type": "number",
+ "title": "Timeout",
+ "description": "Timeout in milliseconds",
+ "default": 10000
+ }
+ },
+ "type": "object",
+ "title": "SelectOptionAction",
+ "description": "Select option action parameters."
+ },
+ "SendEmailBlock": {
+ "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": [
+ "send_email"
+ ],
+ "title": "Block Type",
+ "default": "send_email"
+ },
+ "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
+ },
+ "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"
+ },
+ "file_attachments": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "title": "File Attachments",
+ "default": []
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "smtp_host",
+ "smtp_port",
+ "smtp_username",
+ "smtp_password",
+ "sender",
+ "recipients",
+ "subject",
+ "body"
+ ],
+ "title": "SendEmailBlock"
+ },
+ "SendEmailBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "send_email"
+ ],
+ "title": "Block Type",
+ "default": "send_email"
+ },
+ "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
+ },
+ "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"
+ }
+ },
+ "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"
+ ],
+ "title": "SendEmailBlockYAML"
+ },
+ "TOTPCode": {
+ "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": {
+ "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"
+ },
+ "source": {
+ "type": "string",
+ "nullable": true,
+ "title": "Source",
+ "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",
+ "example": "email"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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": {
+ "$ref": "#/components/schemas/OTPType",
+ "nullable": true,
+ "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.",
+ "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": {
+ "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"
+ },
+ "source": {
+ "type": "string",
+ "nullable": true,
+ "title": "Source",
+ "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",
+ "example": "email"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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"
+ }
+ },
+ "type": "object",
+ "required": [
+ "totp_identifier",
+ "content"
+ ],
+ "title": "TOTPCodeCreate"
+ },
+ "TaskBlock": {
+ "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": [
+ "task"
+ ],
+ "title": "Block Type",
+ "default": "task"
+ },
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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": "TaskBlock"
+ },
+ "TaskBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "task"
+ ],
+ "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]]."
+ },
+ "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"
+ },
+ "data_extraction_goal": {
+ "type": "string",
+ "nullable": true,
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "parameter_keys": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Parameter Keys"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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"
+ ],
+ "title": "TaskBlockYAML"
+ },
+ "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-2.0`, the latest Skyvern agent that performs pretty well with complex and multi-step tasks. `skyvern-1.0` is good for simple tasks like filling a form, or searching for information on Google. 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-2.0"
+ },
+ "title": {
+ "type": "string",
+ "nullable": true,
+ "title": "Title",
+ "description": "The title for the task",
+ "example": "The title of my first skyvern task"
+ },
+ "proxy_location": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ProxyLocation"
+ },
+ {
+ "$ref": "#/components/schemas/GeoTarget"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "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
+ },
+ "data_extraction_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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]"
+ },
+ "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"
+ },
+ "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"
+ },
+ "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."
+ },
+ "publish_workflow": {
+ "type": "boolean",
+ "title": "Publish Workflow",
+ "description": "Whether to publish this task as a reusable workflow. Only available for skyvern-2.0.",
+ "default": false
+ },
+ "include_action_history_in_verification": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Include Action History In Verification",
+ "description": "Whether to include action history when verifying that the task is complete",
+ "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"
+ },
+ "status": {
+ "$ref": "#/components/schemas/RunStatus",
+ "description": "Current status of the run",
+ "example": "created"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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"
+ },
+ "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": [
+ "task_v1",
+ "task_v2",
+ "openai_cua",
+ "anthropic_cua",
+ "ui_tars"
+ ],
+ "title": "Run Type",
+ "description": "Types of a task run - task_v1, task_v2, openai_cua, anthropic_cua, ui_tars"
+ },
+ "run_request": {
+ "$ref": "#/components/schemas/TaskRunRequest",
+ "nullable": true,
+ "description": "The original request parameters used to start this task run"
+ }
+ },
+ "type": "object",
+ "required": [
+ "run_id",
+ "status",
+ "created_at",
+ "modified_at",
+ "run_type"
+ ],
+ "title": "TaskRunResponse"
+ },
+ "TaskV2Block": {
+ "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": [
+ "task_v2"
+ ],
+ "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
+ },
+ "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"
+ ],
+ "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
+ },
+ "disable_cache": {
+ "type": "boolean",
+ "title": "Disable Cache",
+ "default": false
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "prompt"
+ ],
+ "title": "TaskV2BlockYAML"
+ },
+ "TextPromptBlock": {
+ "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"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
+ },
+ "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": []
+ },
+ "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"
+ ],
+ "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"
+ },
+ "parameter_keys": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Parameter Keys"
+ },
+ "json_schema": {
+ "additionalProperties": true,
+ "type": "object",
+ "nullable": true,
+ "title": "Json Schema"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "prompt"
+ ],
+ "title": "TextPromptBlockYAML"
+ },
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "Workflow Id"
+ },
+ "workflow_permanent_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Workflow Permanent Id"
+ },
+ "user_input": {
+ "type": "string",
+ "nullable": true,
+ "title": "User Input"
+ },
+ "observation": {
+ "type": "string",
+ "nullable": true,
+ "title": "Observation"
+ },
+ "thought": {
+ "type": "string",
+ "nullable": true,
+ "title": "Thought"
+ },
+ "answer": {
+ "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"
+ },
+ "thought_cost": {
+ "type": "number",
+ "nullable": true,
+ "title": "Thought Cost"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "thought_id",
+ "task_id",
+ "organization_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"
+ },
+ "TotpType": {
+ "type": "string",
+ "enum": [
+ "authenticator",
+ "email",
+ "text",
+ "none"
+ ],
+ "title": "TotpType",
+ "description": "Type of 2FA/TOTP method used."
+ },
+ "UploadFileAction": {
+ "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": {
+ "type": "string",
+ "nullable": true,
+ "title": "File Url",
+ "description": "File URL for upload",
+ "default": ""
+ },
+ "intention": {
+ "type": "string",
+ "title": "Intention",
+ "description": "The intention or goal of the upload",
+ "default": ""
+ },
+ "data": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "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
+ },
+ "next_loop_on_failure": {
+ "type": "boolean",
+ "title": "Next Loop On Failure",
+ "default": false
+ },
+ "path": {
+ "type": "string",
+ "nullable": true,
+ "title": "Path"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter"
+ ],
+ "title": "UploadToS3Block"
+ },
+ "UploadToS3BlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "upload_to_s3"
+ ],
+ "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
+ },
+ "path": {
+ "type": "string",
+ "nullable": true,
+ "title": "Path"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "UploadToS3BlockYAML"
+ },
+ "UrlBlock": {
+ "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": [
+ "goto_url"
+ ],
+ "title": "Block Type",
+ "default": "goto_url"
+ },
+ "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",
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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",
+ "url"
+ ],
+ "title": "UrlBlock"
+ },
+ "UrlBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "enum": [
+ "goto_url"
+ ],
+ "title": "Block Type",
+ "default": "goto_url"
+ },
+ "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",
+ "title": "Url"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "url"
+ ],
+ "title": "UrlBlockYAML"
+ },
+ "UserDefinedError": {
+ "properties": {
+ "error_code": {
+ "type": "string",
+ "title": "Error Code"
+ },
+ "reasoning": {
+ "type": "string",
+ "title": "Reasoning"
+ },
+ "confidence_float": {
+ "type": "number",
+ "maximum": 1,
+ "minimum": 0,
+ "title": "Confidence Float"
+ }
+ },
+ "type": "object",
+ "required": [
+ "error_code",
+ "reasoning",
+ "confidence_float"
+ ],
+ "title": "UserDefinedError"
+ },
+ "ValidateAction": {
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "validate"
+ ],
+ "title": "Type",
+ "default": "validate"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt",
+ "description": "Validation criteria or condition to check"
+ },
+ "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": {
+ "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": [
+ "validation"
+ ],
+ "title": "Block Type",
+ "default": "validation"
+ },
+ "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"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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": {
+ "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
+ },
+ "complete_criterion": {
+ "type": "string",
+ "nullable": true,
+ "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"
+ }
+ ]
+ },
+ "type": "array",
+ "title": "Location"
+ },
+ "msg": {
+ "type": "string",
+ "title": "Message"
+ },
+ "type": {
+ "type": "string",
+ "title": "Error Type"
+ }
+ },
+ "type": "object",
+ "required": [
+ "loc",
+ "msg",
+ "type"
+ ],
+ "title": "ValidationError"
+ },
+ "WaitBlock": {
+ "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": [
+ "wait"
+ ],
+ "title": "Block Type",
+ "default": "wait"
+ },
+ "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
+ },
+ "wait_sec": {
+ "type": "integer",
+ "title": "Wait Sec"
+ },
+ "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",
+ "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."
+ },
+ "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
+ },
+ "wait_sec": {
+ "type": "integer",
+ "title": "Wait Sec",
+ "default": 0
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "WaitBlockYAML"
+ },
+ "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"
+ },
+ "workflow_definition": {
+ "$ref": "#/components/schemas/WorkflowDefinition"
+ },
+ "proxy_location": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ProxyLocation"
+ },
+ {
+ "$ref": "#/components/schemas/GeoTarget"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "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"
+ },
+ "ai_fallback": {
+ "type": "boolean",
+ "title": "Ai Fallback",
+ "default": false
+ },
+ "cache_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Cache Key"
+ },
+ "run_sequentially": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Run Sequentially"
+ },
+ "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"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "workflow_id",
+ "organization_id",
+ "title",
+ "workflow_permanent_id",
+ "version",
+ "is_saved_task",
+ "workflow_definition",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "Workflow"
+ },
+ "WorkflowCreateYAMLRequest": {
+ "properties": {
+ "title": {
+ "type": "string",
+ "title": "Title"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "proxy_location": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ProxyLocation"
+ },
+ {
+ "$ref": "#/components/schemas/GeoTarget"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "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"
+ },
+ "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
+ },
+ "cache_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Cache Key",
+ "default": "default"
+ },
+ "run_sequentially": {
+ "type": "boolean",
+ "title": "Run Sequentially",
+ "default": false
+ },
+ "sequential_key": {
+ "type": "string",
+ "nullable": true,
+ "title": "Sequential Key"
+ },
+ "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
+ },
+ "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/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"
+ }
+ }
+ },
+ "type": "array",
+ "title": "Blocks"
+ },
+ "finally_block_label": {
+ "type": "string",
+ "nullable": true,
+ "title": "Finally Block Label"
+ }
+ },
+ "type": "object",
+ "required": [
+ "parameters",
+ "blocks"
+ ],
+ "title": "WorkflowDefinition"
+ },
+ "WorkflowDefinitionYAML": {
+ "properties": {
+ "version": {
+ "type": "integer",
+ "title": "Version",
+ "default": 1
+ },
+ "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"
+ },
+ "blocks": {
+ "items": {
+ "oneOf": [
+ {
+ "$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"
+ }
+ ],
+ "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"
+ }
+ }
+ },
+ "type": "array",
+ "title": "Blocks"
+ },
+ "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"
+ ],
+ "title": "Parameter Type",
+ "default": "workflow"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "workflow_parameter_id": {
+ "type": "string",
+ "title": "Workflow Parameter Id"
+ },
+ "workflow_parameter_type": {
+ "$ref": "#/components/schemas/WorkflowParameterType"
+ },
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
+ },
+ "default_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ }
+ ],
+ "title": "Default Value",
+ "nullable": true
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "type": "string",
+ "format": "date-time",
+ "nullable": true,
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "workflow_parameter_id",
+ "workflow_parameter_type",
+ "workflow_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "WorkflowParameter"
+ },
+ "WorkflowParameterType": {
+ "type": "string",
+ "enum": [
+ "string",
+ "integer",
+ "float",
+ "boolean",
+ "json",
+ "file_url",
+ "credential_id"
+ ],
+ "title": "WorkflowParameterType"
+ },
+ "WorkflowParameterYAML": {
+ "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"
+ },
+ "default_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ }
+ ],
+ "title": "Default Value",
+ "nullable": true
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "workflow_parameter_type"
+ ],
+ "title": "WorkflowParameterYAML"
+ },
+ "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"
+ },
+ "WorkflowRunBlock": {
+ "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": {
+ "type": "string",
+ "title": "Workflow Run Id"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "title": "Description"
+ },
+ "parent_workflow_run_block_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Parent Workflow Run Block Id"
+ },
+ "block_type": {
+ "$ref": "#/components/schemas/BlockType"
+ },
+ "label": {
+ "type": "string",
+ "nullable": true,
+ "title": "Label"
+ },
+ "status": {
+ "type": "string",
+ "nullable": true,
+ "title": "Status"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "navigation_payload": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "title": "Navigation Payload",
+ "nullable": true
+ },
+ "data_extraction_goal": {
+ "type": "string",
+ "nullable": true,
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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": []
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "include_action_history_in_verification": {
+ "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": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "nullable": true,
+ "title": "Recipients"
+ },
+ "attachments": {
+ "items": {
+ "type": "string"
+ },
+ "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": "string",
+ "nullable": true,
+ "title": "Executed Branch Id"
+ },
+ "executed_branch_expression": {
+ "type": "string",
+ "nullable": true,
+ "title": "Executed Branch Expression"
+ },
+ "executed_branch_result": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Executed Branch Result"
+ },
+ "executed_branch_next_block": {
+ "type": "string",
+ "nullable": true,
+ "title": "Executed Branch Next Block"
+ }
+ },
+ "type": "object",
+ "required": [
+ "workflow_run_block_id",
+ "workflow_run_id",
+ "organization_id",
+ "block_type",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "WorkflowRunBlock"
+ },
+ "WorkflowRunRequest": {
+ "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,
+ "type": "object",
+ "nullable": true,
+ "title": "Parameters",
+ "description": "Parameters to pass to the workflow"
+ },
+ "title": {
+ "type": "string",
+ "nullable": true,
+ "title": "Title",
+ "description": "The title for this workflow run"
+ },
+ "proxy_location": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ProxyLocation"
+ },
+ {
+ "$ref": "#/components/schemas/GeoTarget"
+ },
+ {
+ "additionalProperties": true,
+ "type": "object"
+ }
+ ],
+ "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."
+ },
+ "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"
+ },
+ "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]"
+ },
+ "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"
+ },
+ "browser_profile_id": {
+ "type": "string",
+ "nullable": true,
+ "title": "Browser Profile Id",
+ "description": "ID of a browser profile to reuse for this workflow run"
+ },
+ "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."
+ },
+ "extra_http_headers": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object",
+ "nullable": true,
+ "title": "Extra Http Headers",
+ "description": "The extra HTTP headers for the requests in browser."
+ },
+ "browser_address": {
+ "type": "string",
+ "nullable": true,
+ "title": "Browser Address",
+ "description": "The CDP address for the workflow run.",
+ "example": "http://127.0.0.1:9222"
+ },
+ "ai_fallback": {
+ "type": "boolean",
+ "nullable": true,
+ "title": "Ai Fallback",
+ "description": "Whether to fallback to AI if the workflow run fails."
+ },
+ "run_with": {
+ "type": "string",
+ "nullable": true,
+ "title": "Run With",
+ "description": "Whether to run the workflow with agent or code."
+ }
+ },
+ "type": "object",
+ "required": [
+ "workflow_id"
+ ],
+ "title": "WorkflowRunRequest"
+ },
+ "WorkflowRunResponse": {
+ "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"
+ },
+ "status": {
+ "$ref": "#/components/schemas/RunStatus",
+ "description": "Current status of the run",
+ "example": "created"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "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"
+ },
+ "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"
+ },
+ "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"
+ ],
+ "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"
+ },
+ "ai_fallback": {
+ "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"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ }
+ },
+ "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"
+ ],
+ "title": "WorkflowStatus"
+ },
+ "skyvern__forge__sdk__schemas__credentials__CredentialType": {
+ "type": "string",
+ "enum": [
+ "password",
+ "credit_card",
+ "secret"
+ ],
+ "title": "CredentialType",
+ "description": "Type of credential stored in the system."
+ },
+ "skyvern__schemas__run_blocks__CredentialType": {
+ "type": "string",
+ "enum": [
+ "skyvern",
+ "bitwarden",
+ "1password",
+ "azure_vault"
+ ],
+ "title": "CredentialType"
+ }
+ }
+ },
+ "servers": [
+ {
+ "url": "https://api.skyvern.com"
+ },
+ {
+ "url": "https://api-staging.skyvern.com"
+ },
+ {
+ "url": "http://localhost:8000"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/docs/cloud/getting-started.mdx b/docs/cloud/getting-started.mdx
index 07234258d..8ddd67245 100644
--- a/docs/cloud/getting-started.mdx
+++ b/docs/cloud/getting-started.mdx
@@ -9,7 +9,7 @@ Run browser automations without writing code. This guide walks you through runni
Prefer to integrate via code? Check out the [SDK Quickstart](/getting-started/quickstart) instead.
</Note>
-## Opening Skyvern Cloud
+## Open Skyvern Cloud
Visit [app.skyvern.com](https://app.skyvern.com) and sign-up or sign-in to your account.
@@ -17,7 +17,7 @@ You'll land on the **Discover** page—your starting point for running automatio
<img src="/images/discover-page.png" alt="discover page in skyvern"/>
-## Understanding the Interface
+## Understand the Interface
The left sidebar organizes everything you need:
diff --git a/docs/cloud/running-tasks.mdx b/docs/cloud/running-tasks.mdx
new file mode 100644
index 000000000..af4461189
--- /dev/null
+++ b/docs/cloud/running-tasks.mdx
@@ -0,0 +1,359 @@
+---
+title: Running Tasks
+subtitle: Go deeper with task configuration in the Cloud UI
+slug: cloud/running-tasks
+---
+
+You've run your first task. Now let's explore what else you can do—access websites as if you're in another country, extract structured data into JSON, watch the AI work in real-time, and turn successful tasks into reusable workflows.
+
+<Note>
+New to Skyvern? Start with [Getting Started](/cloud/getting-started) to run your first task.
+</Note>
+
+---
+
+## The Discover page
+
+The **Discover** page is where you run ad-hoc tasks. Open [app.skyvern.com](https://app.skyvern.com) and you'll land here.
+
+<Frame>
+ <img src="/images/cloud/discover-page-annotated.png" alt="The Discover page with annotations" />
+</Frame>
+
+You'll see two main areas:
+
+**The Prompt Box** — Enter a URL and describe what you want Skyvern to do. Click the gear icon to access advanced settings before running.
+
+**Workflow Templates** — A carousel of pre-built automations for common tasks. Click any template to see how it's built, or use it as a starting point for your own.
+
+Tasks are flexible. You can:
+- Extract data from any website without writing scrapers
+- Fill out forms with data you provide
+- Navigate multi-page flows (search → filter → extract)
+- Download files like invoices and reports
+- Monitor prices, inventory, or content changes
+
+The power comes from combining a clear prompt with the right settings. Let's walk through the key configurations.
+
+---
+
+## Access geo-restricted content
+
+You're trying to scrape product prices from a UK retailer. But when you run the task, you see USD prices—the site detected you're in the US and redirected you.
+
+This is where **Proxy Location** changes everything.
+
+<Frame>
+ <img src="/images/cloud/proxy-location-example.gif" alt="Selecting UK proxy and seeing GBP prices" />
+</Frame>
+
+Skyvern routes your browser through residential IP addresses worldwide. The site sees a real UK visitor, shows GBP prices, and doesn't block you.
+
+**To set it up:**
+
+1. Click the gear icon to open settings
+2. Find **Proxy Location** in the dropdown
+3. Select the country you need
+
+<Frame>
+ <img src="/images/cloud/proxy-location-dropdown.png" alt="Proxy location dropdown showing available countries" />
+</Frame>
+
+Available locations include United States (default), United Kingdom, Germany, France, Japan, Australia, Canada, Brazil, and more. Select **None** if you're accessing internal tools that don't need a proxy.
+
+The browser's timezone adjusts automatically to match the proxy location. Sites that check for mismatches between IP and timezone won't flag you.
+
+---
+
+## Extract structured data
+
+By default, Skyvern returns whatever data makes sense for your prompt. For consistent output you can process programmatically, define a **Data Schema**.
+
+Say you're extracting product information. Without a schema, you might get:
+
+```json
+{"info": "The product costs $79.99 and is in stock"}
+```
+
+With a schema, you get predictable fields:
+
+```json
+{
+ "product_name": "Wireless Headphones",
+ "price": 79.99,
+ "in_stock": true
+}
+```
+
+**To set it up:**
+
+1. Click the gear icon to open settings
+2. Scroll to **Data Schema**
+3. Enter a JSON Schema defining your fields
+
+<Frame>
+ <img src="/images/cloud/data-schema-editor.png" alt="Data schema JSON editor" />
+</Frame>
+
+```json
+{
+ "type": "object",
+ "properties": {
+ "product_name": {
+ "type": "string",
+ "description": "The full product name"
+ },
+ "price": {
+ "type": "number",
+ "description": "Current price in USD, without currency symbol"
+ },
+ "in_stock": {
+ "type": "boolean",
+ "description": "Whether the product is currently available"
+ }
+ }
+}
+```
+
+The `description` field is crucial—it tells the AI exactly what to look for. "Price in USD without currency symbol" works better than just "the price."
+
+**Extracting lists:**
+
+Need multiple items? Wrap your fields in an array:
+
+```json
+{
+ "type": "object",
+ "properties": {
+ "products": {
+ "type": "array",
+ "description": "Top 5 search results",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": { "type": "string", "description": "Product name" },
+ "price": { "type": "number", "description": "Price in USD" }
+ }
+ }
+ }
+ }
+}
+```
+
+<Note>
+A schema doesn't guarantee all fields are populated. If the data isn't on the page, fields return `null`.
+</Note>
+
+---
+
+## Configure your task
+
+Click the gear icon to access all task settings. Here's what each one does:
+
+<Frame>
+ <img src="/images/cloud/task-settings-panel.png" alt="Task settings panel" />
+</Frame>
+
+### Core settings
+
+| Setting | What it does |
+|---------|--------------|
+| **Navigation Goal** | Your main prompt—what should Skyvern do? |
+| **Navigation Payload** | JSON data to use in form fields (names, addresses, etc.) |
+| **Data Extraction Goal** | Describe what data you want extracted |
+| **Data Schema** | JSON Schema for structured output |
+
+### Cost and limits
+
+| Setting | What it does |
+|---------|--------------|
+| **Max Steps Override** | Limit how many actions the AI can take. You're billed per step, so this caps costs. If the task hits this limit, it stops with a `timed_out` status. |
+
+<Warning>
+Always set a max steps limit during development. A task that gets stuck in a loop will keep consuming steps until it hits this limit.
+</Warning>
+
+### Advanced settings
+
+| Setting | What it does |
+|---------|--------------|
+| **Proxy Location** | Route traffic through a specific country |
+| **Webhook Callback URL** | Receive a POST request when the task completes (instead of polling) |
+| **2FA Identifier** | Handle two-factor authentication during login |
+| **Browser Address** | Connect to your own browser for local development |
+| **Extra HTTP Headers** | Add custom headers (e.g., Authorization tokens) |
+| **Max Screenshot Scrolls** | How many times to scroll for lazy-loaded content |
+| **Include Action History** | Include past actions when verifying completion |
+
+---
+
+## Watch the live browser
+
+Once you click run, Skyvern opens a cloud browser and starts executing. You can watch it work in real-time via a live VNC stream.
+
+<Frame>
+ <img src="/images/cloud/live-execution-view.png" alt="Live browser view during task execution" />
+</Frame>
+
+The execution screen shows:
+
+| Area | What you see |
+|------|--------------|
+| **Left panel** | Task configuration—URL, prompt, current status badge |
+| **Center** | Live browser stream. Watch pages load, forms fill, buttons click. |
+| **Right panel** | Action list showing what the AI has done, with step count and cost |
+
+### Take control of the browser
+
+See the **Take Control** button? Click it to pause the AI and control the browser yourself.
+
+<Frame>
+ <img src="/images/cloud/take-control-demo.gif" alt="Taking control of the browser to solve a CAPTCHA" />
+</Frame>
+
+Use this when:
+- A CAPTCHA appears that the AI can't solve
+- The site requires an unusual login flow
+- You need to manually navigate past an unexpected popup
+
+Click **Stop Controlling** to hand control back to the AI.
+
+### Stop a running task
+
+Changed your mind? Click the **Cancel** button in the header. You'll be billed for steps already taken, but no further steps will run.
+
+---
+
+## Review your results
+
+After the task completes, you'll see the results page. You can also find all past runs in **Runs** in the sidebar.
+
+<Frame>
+ <img src="/images/cloud/task-results-header.png" alt="Task results page header" />
+</Frame>
+
+The header shows:
+- **Task ID** — Unique identifier (click to copy)
+- **Status badge** — `completed`, `failed`, `terminated`, `timed_out`, or `canceled`
+- **Rerun button** — Run the same task again
+- **API & Webhooks** — Copy the API command or test webhook delivery
+
+### Extracted data
+
+If the task completed successfully, the **Extracted Information** section shows your output:
+
+<Frame>
+ <img src="/images/cloud/extracted-data-section.png" alt="Extracted data JSON display" />
+</Frame>
+
+```json
+{
+ "product_name": "Wireless Bluetooth Headphones",
+ "price": 79.99,
+ "in_stock": true
+}
+```
+
+If something went wrong, you'll see **Failure Reason** with details about what happened.
+
+### Results tabs
+
+Four tabs let you dig deeper:
+
+<Frame>
+ <img src="/images/cloud/results-tabs-overview.png" alt="Results tabs showing Actions, Recording, Parameters, Diagnostics" />
+</Frame>
+
+**Actions** — Step-by-step breakdown of everything the AI did. Each action shows a screenshot, what was done, and why. The right side shows total steps, actions, and cost.
+
+<Frame>
+ <img src="/images/cloud/actions-tab-detail.png" alt="Actions tab with step-by-step screenshots" />
+</Frame>
+
+**Recording** — Full video replay of the browser session. Scrub through to see exactly what happened.
+
+<Frame>
+ <img src="/images/cloud/recording-tab.png" alt="Recording tab with video player" />
+</Frame>
+
+**Parameters** — The configuration you submitted: URL, navigation goal, payload, schema, proxy, and all other settings. Useful for debugging or recreating the task.
+
+**Diagnostics** — Debug information including LLM prompts and responses, element trees, and annotated screenshots. Use this when you need to understand why the AI made a specific decision.
+
+### Understanding failures
+
+If your task failed or terminated, check these in order:
+
+1. **Recording** — Watch what happened. Did the AI get stuck? Click the wrong thing?
+2. **Actions tab** — Read the AI's reasoning for each step. Where did it go wrong?
+3. **Diagnostics** — See the full LLM prompt and response to understand the decision
+
+Common fixes:
+- **Completed too early** → Add clearer completion criteria: "COMPLETE when you see the confirmation page with order number"
+- **Wrong element clicked** → Add visual descriptions: "Click the blue Submit button at the bottom of the form"
+- **Timed out** → Increase max steps, or simplify the task into smaller pieces
+
+---
+
+## Turn a task into a workflow
+
+Found a task that works well? Save it as a reusable **Workflow** so you can run it again with different inputs.
+
+Before running your task, expand Advanced Settings and toggle **Publish Workflow** on.
+
+<Frame>
+ <img src="/images/cloud/publish-workflow-toggle.png" alt="Publish workflow toggle in settings" />
+</Frame>
+
+After the task completes successfully, Skyvern creates a workflow you can find in the **Workflows** section. From there you can:
+
+- Run it again with different data
+- Edit the steps in the visual workflow builder
+- Schedule it to run automatically
+- Share it with your team
+
+---
+
+## Tips for better results
+
+### Start simple, then iterate
+
+1. Run with just URL and prompt first—no advanced settings
+2. Watch the live browser to understand what the AI does
+3. Add constraints based on what you observe
+
+### Write better prompts
+
+The prompt drives everything. A good prompt includes:
+
+- **Clear goal** — "Get the price of the first product" not "Get product info"
+- **Completion criteria** — "COMPLETE when you see the order confirmation page"
+- **Visual hints** — "Click the blue Add to Cart button below the price"
+- **What to extract** — "Extract the price as a number without the currency symbol"
+
+### Control costs
+
+- Set **Max Steps** to a reasonable limit for your task
+- Watch the **Actions tab** to see if steps are being wasted
+- Use **Data Schema** to get exactly the fields you need—nothing extra
+
+---
+
+## What's next?
+
+<CardGroup cols={2}>
+ <Card
+ title="Build a Workflow"
+ icon="diagram-project"
+ href="/multi-step-automations/build-a-workflow"
+ >
+ Create multi-step automations with the visual workflow builder
+ </Card>
+ <Card
+ title="Extract Structured Data"
+ icon="table"
+ href="/running-automations/extract-structured-data"
+ >
+ Pull structured data from websites into JSON format
+ </Card>
+</CardGroup>
diff --git a/docs/docs.json b/docs/docs.json
index fbf669760..f1ebf65e8 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -32,19 +32,38 @@
"running-automations/task-parameters",
"running-automations/extract-structured-data"
]
+ },
+ {
+ "group": "Multi-Step Automations",
+ "pages": [
+ "multi-step-automations/build-a-workflow",
+ "multi-step-automations/workflow-blocks-reference",
+ "multi-step-automations/file-operations",
+ "multi-step-automations/workflow-parameters"
+ ]
+ },
+ {
+ "group": "Going to Production",
+ "pages": [
+ "going-to-production/webhooks",
+ "going-to-production/proxy-geolocation",
+ "going-to-production/error-handling",
+ "going-to-production/reliability-tips",
+ "going-to-production/captcha-bot-detection"
+ ]
}
]
},
{
"tab": "Cloud UI",
- "groups": [
- {
- "group": "Cloud UI",
- "pages": [
- "cloud/getting-started"
- ]
- }
+ "pages": [
+ "cloud/getting-started",
+ "cloud/running-tasks"
]
+ },
+ {
+ "tab": "API Reference",
+ "openapi": "api-reference/openapi.json"
}
]
},
@@ -69,6 +88,11 @@
}
},
"api": {
+ "baseUrl": "https://api.skyvern.com",
+ "auth": {
+ "method": "key",
+ "name": "x-api-key"
+ },
"playground": {
"display": "interactive"
}
diff --git a/docs/going-to-production/captcha-bot-detection.mdx b/docs/going-to-production/captcha-bot-detection.mdx
new file mode 100644
index 000000000..649fec988
--- /dev/null
+++ b/docs/going-to-production/captcha-bot-detection.mdx
@@ -0,0 +1,209 @@
+---
+title: CAPTCHA & Bot Detection
+subtitle: How Skyvern detects, solves, and avoids CAPTCHAs and anti-bot systems
+slug: going-to-production/captcha-bot-detection
+---
+
+Websites use CAPTCHAs and bot detection to block automated traffic. Skyvern handles both — it detects CAPTCHAs using vision, solves them automatically on Skyvern Cloud, and configures browsers to avoid triggering anti-bot systems in the first place.
+
+---
+
+## CAPTCHA detection
+
+Skyvern detects CAPTCHAs using its LLM vision model. During each step, the AI analyzes the page screenshot and identifies whether a CAPTCHA is present and what type it is.
+
+**Supported CAPTCHA types:**
+
+| Type | Examples |
+|------|----------|
+| `RECAPTCHA` | Google reCAPTCHA v2, v3 |
+| `HCAPTCHA` | hCaptcha checkbox, image challenges |
+| `CLOUDFLARE` | Cloudflare Turnstile, Challenge pages |
+| `FUNCAPTCHA` | FunCaptcha / ArkoseLabs |
+| `MTCAPTCHA` | MTCaptcha |
+| `TEXT_CAPTCHA` | Distorted text/number images with an input field |
+| `OTHER` | Unrecognized CAPTCHA types |
+
+When the AI detects a CAPTCHA, it emits a `SOLVE_CAPTCHA` action with the identified `captcha_type`. What happens next depends on your deployment.
+
+---
+
+## CAPTCHA solving
+
+### Skyvern Cloud (automatic)
+
+On [Skyvern Cloud](https://app.skyvern.com), CAPTCHAs are solved automatically. When the AI detects a CAPTCHA, Skyvern's solver service handles it in the background. No configuration needed — it works out of the box for all supported CAPTCHA types.
+
+If the solver cannot resolve the CAPTCHA (rare edge cases or novel CAPTCHA types), the task continues with a `SOLVE_CAPTCHA` action failure. Handle this with [error code mapping](/going-to-production/error-handling):
+
+<CodeGroup>
+```python Python
+result = await client.run_task(
+ prompt="Submit the application form. COMPLETE when you see confirmation.",
+ url="https://example.com/apply",
+ error_code_mapping={
+ "captcha_failed": "Return this if a CAPTCHA blocks progress after multiple attempts",
+ },
+)
+```
+
+```typescript TypeScript
+const result = await client.runTask({
+ body: {
+ prompt: "Submit the application form. COMPLETE when you see confirmation.",
+ url: "https://example.com/apply",
+ error_code_mapping: {
+ captcha_failed: "Return this if a CAPTCHA blocks progress after multiple attempts",
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/tasks" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "prompt": "Submit the application form. COMPLETE when you see confirmation.",
+ "url": "https://example.com/apply",
+ "error_code_mapping": {
+ "captcha_failed": "Return this if a CAPTCHA blocks progress after multiple attempts"
+ }
+ }'
+```
+</CodeGroup>
+
+### Human Interaction block (workflows)
+
+For workflows where you want a human to solve the CAPTCHA manually, use the **Human Interaction** block. The workflow pauses and notifies you, then resumes after you solve it.
+
+```yaml
+blocks:
+ - block_type: navigation
+ label: fill_form
+ url: https://example.com/form
+ navigation_goal: Fill out the registration form
+
+ - block_type: human_interaction
+ label: solve_captcha
+ message: "Please solve the CAPTCHA and click Continue"
+
+ - block_type: navigation
+ label: submit_form
+ navigation_goal: Click the submit button
+```
+
+---
+
+## Bot detection avoidance
+
+Skyvern automatically configures the browser to reduce bot detection triggers. These protections apply to every run — no configuration needed.
+
+### Browser fingerprinting
+
+Skyvern launches Chromium with settings that remove common automation signals:
+
+- **`AutomationControlled` disabled** — Removes the Blink feature flag that marks the browser as automated
+- **`navigator.webdriver` hidden** — The `enable-automation` flag is suppressed so JavaScript detection scripts don't see a webdriver
+- **Viewport and user agent** — Set to match real consumer browsers
+- **Locale and timezone** — Automatically matched to the proxy location (see [Proxy & Geolocation](/going-to-production/proxy-geolocation))
+
+### Reducing detection risk
+
+Beyond fingerprinting, how you structure your automation affects detection. Three patterns that help:
+
+**1. Use residential proxies for sensitive sites.** Datacenter IPs are the most common bot signal. Residential proxies route through real ISP addresses. See [Proxy & Geolocation](/going-to-production/proxy-geolocation).
+
+**2. Reuse browser sessions for multi-step flows.** Creating a fresh browser for every step looks suspicious. A persistent session maintains cookies, cache, and history — appearing as a returning user. See [Browser Sessions](/optimization/browser-sessions).
+
+**3. Use browser profiles for repeat visits.** Profiles save browser state from a previous session. Starting with an existing profile means the site sees a known browser with familiar cookies, not a blank slate. See [Browser Profiles](/optimization/browser-profiles).
+
+---
+
+## Self-hosted deployment
+
+<Note>
+The sections above apply to Skyvern Cloud. If you're running Skyvern locally, the following differences apply.
+</Note>
+
+### CAPTCHA solving
+
+The open-source version does **not** include automatic CAPTCHA solving. When a CAPTCHA is detected, the agent pauses for 30 seconds to allow manual intervention (e.g., solving it in the browser window yourself), then continues.
+
+To handle CAPTCHAs in self-hosted workflows, use the Human Interaction block as described above.
+
+### Browser extensions
+
+Self-hosted deployments can load Chrome extensions for additional stealth or functionality:
+
+```bash
+# .env
+EXTENSIONS=extension1,extension2
+EXTENSIONS_BASE_PATH=/path/to/extensions
+```
+
+Extensions are loaded automatically when the browser launches.
+
+### Proxies
+
+Self-hosted deployments need their own proxy infrastructure. The `proxy_location` parameter is not available — configure proxies at the network level or via environment variables.
+
+---
+
+## Troubleshooting
+
+### CAPTCHA blocks the run
+
+**On Skyvern Cloud:** This is rare. If it happens, the CAPTCHA type may be unsupported or the site changed its challenge. Add an `error_code_mapping` entry to detect the failure, and contact [[email protected]](mailto:[email protected]).
+
+**Self-hosted:** Use a Human Interaction block, or solve it manually within the 30-second window.
+
+### Bot detection triggered (access denied)
+
+1. Switch to a residential proxy — `proxy_location="RESIDENTIAL"` or `RESIDENTIAL_ISP` for static IPs
+2. Reuse a browser session instead of creating fresh browsers
+3. Use a browser profile with existing cookies
+4. Add `wait` blocks between rapid actions to reduce behavioral signals
+
+### Cloudflare challenge page loops
+
+Cloudflare sometimes loops through multiple challenges. If a task gets stuck:
+
+- Increase `max_steps` to give the solver more attempts
+- Use `RESIDENTIAL_ISP` for a static IP that Cloudflare is more likely to trust
+- Use a browser profile that has previously passed the Cloudflare challenge on that domain
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Proxy & Geolocation"
+ icon="globe"
+ href="/going-to-production/proxy-geolocation"
+ >
+ Route traffic through residential proxies in 19 countries
+ </Card>
+ <Card
+ title="Handle 2FA"
+ icon="lock"
+ href="/credentials/handle-2fa"
+ >
+ Configure TOTP, email, and SMS verification codes
+ </Card>
+ <Card
+ title="Browser Sessions"
+ icon="window-restore"
+ href="/optimization/browser-sessions"
+ >
+ Persist browser state across multiple runs
+ </Card>
+ <Card
+ title="Error Handling"
+ icon="triangle-exclamation"
+ href="/going-to-production/error-handling"
+ >
+ Map CAPTCHA and bot failures to custom error codes
+ </Card>
+</CardGroup>
diff --git a/docs/going-to-production/error-handling.mdx b/docs/going-to-production/error-handling.mdx
new file mode 100644
index 000000000..1d53ca6d2
--- /dev/null
+++ b/docs/going-to-production/error-handling.mdx
@@ -0,0 +1,694 @@
+---
+title: Error Handling
+subtitle: Build systems that detect, classify, and recover from failures
+slug: going-to-production/error-handling
+---
+
+Skyvern lets you make your workflows and tasks handle errors gracefully instead of failing silently.
+
+Every run returns a `status`. When it's not `completed`, you need to know what went wrong and respond programmatically. The flow is:
+
+1. **Check `status`** to detect failure states
+2. **Read `failure_reason`** to get the raw error description
+3. **Set up `error_code_mapping`** to map failures to your own error codes
+4. **Respond in code** to branch your logic based on the error code
+
+This page covers each step with exact field locations and full code examples.
+
+---
+
+## Step 1: Check `status`
+
+Every run transitions through these states:
+
+| Status | What it means |
+|--------|---------------|
+| `created` | Run initialized, not yet queued |
+| `queued` | Waiting for an available browser |
+| `running` | AI is navigating and executing |
+| `completed` | Success—check `output` for results |
+| `failed` | System error (browser crash, network failure, exception) |
+| `terminated` | AI determined the goal is unachievable (login blocked, page unavailable) |
+| `timed_out` | Exceeded `max_steps` or time limit |
+| `canceled` | Manually stopped |
+
+**Terminal states:** `completed`, `failed`, `terminated`, `timed_out`, `canceled`
+
+You can detect failures in two ways:
+
+1. by polling `get_run`
+2. by checking the webhook payload
+
+Both contain the same `status` field.
+
+<CodeGroup>
+```json Polling Response
+{
+ "run_id": "tsk_v2_486305187432193504",
+ "status": "failed", // <-- Check this field
+ "output": null,
+ "failure_reason": "Login failed: Invalid credentials",
+ ...
+}
+```
+
+```json Webhook Payload
+{
+ "run_id": "tsk_v2_486306851394503256",
+ "status": "completed", // <-- Check this field
+ "output": {
+ "top_post_title": "Linux kernel framework for PCIe device emulation, in userspace"
+ },
+ "failure_reason": null,
+ "errors": [],
+ "webhook_callback_url": "https://your-server.com/webhook",
+ "created_at": "2026-01-20T11:58:57.414123",
+ "finished_at": "2026-01-20T12:00:31.512692",
+ ...
+}
+```
+</CodeGroup>
+
+The `status` field is at the top level of both responses.
+
+### For tasks
+
+Poll `get_run` until the status is terminal:
+
+<CodeGroup>
+```python Python
+run_id = result.run_id
+
+while True:
+ run = await client.get_run(run_id)
+
+ if run.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+
+ await asyncio.sleep(5)
+
+if run.status == "completed":
+ process_output(run.output)
+else:
+ handle_failure(run)
+```
+
+```typescript TypeScript
+const runId = result.run_id;
+
+while (true) {
+ const run = await client.getRun(runId);
+
+ if (["completed", "failed", "terminated", "timed_out", "canceled"].includes(run.status)) {
+ break;
+ }
+
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+}
+
+if (run.status === "completed") {
+ processOutput(run.output);
+} else {
+ handleFailure(run);
+}
+```
+
+```bash cURL
+# Poll until terminal state
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+
+ STATUS=$(echo $RESPONSE | jq -r '.status')
+
+ if [[ "$STATUS" == "completed" ]] || [[ "$STATUS" == "failed" ]] || \
+ [[ "$STATUS" == "terminated" ]] || [[ "$STATUS" == "timed_out" ]] || \
+ [[ "$STATUS" == "canceled" ]]; then
+ echo $RESPONSE | jq
+ break
+ fi
+
+ sleep 5
+done
+```
+</CodeGroup>
+
+### For workflows
+
+Same polling pattern works for workflow runs:
+
+<CodeGroup>
+```python Python
+run_id = result.run_id
+
+while True:
+ run = await client.get_run(run_id)
+
+ if run.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+
+ await asyncio.sleep(5)
+
+if run.status == "completed":
+ process_output(run.output)
+else:
+ handle_failure(run)
+```
+
+```typescript TypeScript
+const runId = result.run_id;
+
+while (true) {
+ const run = await client.getRun(runId);
+
+ if (["completed", "failed", "terminated", "timed_out", "canceled"].includes(run.status)) {
+ break;
+ }
+
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+}
+
+if (run.status === "completed") {
+ processOutput(run.output);
+} else {
+ handleFailure(run);
+}
+```
+
+```bash cURL
+# Poll workflow run until terminal state
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/workflow_runs/$WORKFLOW_RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+
+ STATUS=$(echo $RESPONSE | jq -r '.status')
+
+ if [[ "$STATUS" == "completed" ]] || [[ "$STATUS" == "failed" ]] || \
+ [[ "$STATUS" == "terminated" ]] || [[ "$STATUS" == "timed_out" ]] || \
+ [[ "$STATUS" == "canceled" ]]; then
+ echo $RESPONSE | jq
+ break
+ fi
+
+ sleep 5
+done
+```
+</CodeGroup>
+
+**`failed` vs `terminated`:** A `failed` run hit infrastructure problems—retry might work. A `terminated` run means the AI recognized the goal is unachievable with current conditions. Retrying without changes (new credentials, different URL) will produce the same result.
+
+---
+
+## Step 2: Read `failure_reason`
+
+When a run fails or terminates, the `failure_reason` field contains a description of what went wrong. This is a free-text string—useful for logging but hard to branch on programmatically.
+
+The field is available in both the polling response and webhook payload:
+
+```json
+{
+ "run_id": "tsk_v2_486305187432193504",
+ "status": "terminated",
+ "output": null,
+ "failure_reason": "Login failed: The page displayed 'Invalid username or password' after submitting credentials", // <-- Raw error text
+ ...
+}
+```
+
+### For tasks
+
+<CodeGroup>
+```python Python
+run = await client.get_run(run_id)
+
+if run.status in ["failed", "terminated"]:
+ print(f"Run failed: {run.failure_reason}")
+
+ # Fragile: parsing free text
+ if "login" in run.failure_reason.lower():
+ refresh_credentials()
+```
+
+```typescript TypeScript
+const run = await client.getRun(runId);
+
+if (["failed", "terminated"].includes(run.status)) {
+ console.log(`Run failed: ${run.failure_reason}`);
+
+ // Fragile: parsing free text
+ if (run.failure_reason?.toLowerCase().includes("login")) {
+ refreshCredentials();
+ }
+}
+```
+
+```bash cURL
+RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+
+STATUS=$(echo $RESPONSE | jq -r '.status')
+FAILURE_REASON=$(echo $RESPONSE | jq -r '.failure_reason')
+
+if [[ "$STATUS" == "failed" ]] || [[ "$STATUS" == "terminated" ]]; then
+ echo "Run failed: $FAILURE_REASON"
+
+ # Fragile: parsing free text
+ if echo "$FAILURE_REASON" | grep -qi "login"; then
+ # refresh_credentials
+ echo "Login error detected"
+ fi
+fi
+```
+</CodeGroup>
+
+### For workflows
+
+<CodeGroup>
+```python Python
+run = await client.get_run(workflow_run_id)
+
+if run.status in ["failed", "terminated"]:
+ print(f"Workflow failed: {run.failure_reason}")
+
+ # Fragile: parsing free text
+ if "login" in run.failure_reason.lower():
+ refresh_credentials()
+```
+
+```typescript TypeScript
+const run = await client.getRun(workflowRunId);
+
+if (["failed", "terminated"].includes(run.status)) {
+ console.log(`Workflow failed: ${run.failure_reason}`);
+
+ // Fragile: parsing free text
+ if (run.failure_reason?.toLowerCase().includes("login")) {
+ refreshCredentials();
+ }
+}
+```
+
+```bash cURL
+RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/workflow_runs/$WORKFLOW_RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+
+STATUS=$(echo $RESPONSE | jq -r '.status')
+FAILURE_REASON=$(echo $RESPONSE | jq -r '.failure_reason')
+
+if [[ "$STATUS" == "failed" ]] || [[ "$STATUS" == "terminated" ]]; then
+ echo "Workflow failed: $FAILURE_REASON"
+
+ # Fragile: parsing free text
+ if echo "$FAILURE_REASON" | grep -qi "login"; then
+ # refresh_credentials
+ echo "Login error detected"
+ fi
+fi
+```
+</CodeGroup>
+
+---
+
+## Step 3: Use `error_code_mapping`
+
+`failure_reason` contains an AI-generated description of what went wrong. Define custom error codes to get consistent, actionable error messages.
+
+When the run fails, Skyvern evaluates your natural language error descriptions against the page state and returns the matching code.
+
+**How it works:** The `error_code_mapping` values are LLM-evaluated descriptions—you don't need exact string matches. For example, `"The login credentials are incorrect"` will match pages showing "Invalid password", "Wrong username", "Authentication failed", etc.
+
+### In tasks
+
+Pass `error_code_mapping` as a parameter to `run_task`:
+
+<CodeGroup>
+```python Python
+result = await client.run_task(
+ prompt="Log in and download the invoice for January 2024",
+ url="https://vendor-portal.example.com",
+ error_code_mapping={
+ "login_failed": "The login credentials are incorrect, account is locked, or MFA is required",
+ "invoice_not_found": "No invoice exists for the requested date range",
+ "maintenance": "The website is down for maintenance or unavailable",
+ "access_denied": "User does not have permission to view invoices"
+ }
+)
+```
+
+```typescript TypeScript
+const result = await client.runTask({
+ body: {
+ prompt: "Log in and download the invoice for January 2024",
+ url: "https://vendor-portal.example.com",
+ error_code_mapping: {
+ login_failed: "The login credentials are incorrect, account is locked, or MFA is required",
+ invoice_not_found: "No invoice exists for the requested date range",
+ maintenance: "The website is down for maintenance or unavailable",
+ access_denied: "User does not have permission to view invoices",
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/tasks" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "prompt": "Log in and download the invoice for January 2024",
+ "url": "https://vendor-portal.example.com",
+ "error_code_mapping": {
+ "login_failed": "The login credentials are incorrect, account is locked, or MFA is required",
+ "invoice_not_found": "No invoice exists for the requested date range",
+ "maintenance": "The website is down for maintenance or unavailable",
+ "access_denied": "User does not have permission to view invoices"
+ }
+ }'
+```
+</CodeGroup>
+
+### In workflows
+
+Add `error_code_mapping` to individual blocks (navigation, task, validation):
+
+<Note>
+The JSON examples below include comments (`//`) for clarity. Remove comments before using in actual workflow definitions—JSON does not support comments.
+</Note>
+
+<CodeGroup>
+```json JSON
+{
+ "blocks": [
+ {
+ "block_type": "navigation",
+ "label": "login_step",
+ "url": "https://vendor-portal.example.com/login",
+ "navigation_goal": "Log in using the stored credentials",
+ "error_code_mapping": {
+ "login_failed": "Login credentials are incorrect or account is locked",
+ "mfa_required": "Two-factor authentication is being requested",
+ "captcha_blocked": "CAPTCHA is displayed and cannot be bypassed"
+ }
+ },
+ {
+ "block_type": "navigation",
+ "label": "download_invoice",
+ "navigation_goal": "Download the invoice for {{invoice_date}}",
+ "error_code_mapping": {
+ "invoice_not_found": "No invoice found for the specified date",
+ "download_failed": "Invoice exists but download button is broken or missing"
+ }
+ }
+ ]
+}
+```
+
+```yaml YAML
+- block_type: navigation
+ label: login_step
+ url: "https://vendor-portal.example.com/login"
+ navigation_goal: "Log in using the stored credentials"
+ error_code_mapping:
+ login_failed: "Login credentials are incorrect or account is locked"
+ mfa_required: "Two-factor authentication is being requested"
+ captcha_blocked: "CAPTCHA is displayed and cannot be bypassed"
+
+- block_type: navigation
+ label: download_invoice
+ navigation_goal: "Download the invoice for {{invoice_date}}"
+ error_code_mapping:
+ invoice_not_found: "No invoice found for the specified date"
+ download_failed: "Invoice exists but download button is broken or missing"
+```
+</CodeGroup>
+
+### Where the error code appears
+
+When a mapped error occurs, your code appears in `output.error`. This field is available in both polling responses and webhook payloads:
+
+<CodeGroup>
+```json Polling Response
+{
+ "run_id": "tsk_v2_486305187432193504",
+ "status": "terminated",
+ "output": {
+ "error": "login_failed" // <-- Your custom code
+ },
+ "failure_reason": "Login failed: The page displayed 'Invalid username or password'"
+}
+```
+
+```json Webhook Payload
+{
+ "run_id": "tsk_v2_486305187432193504",
+ "status": "terminated",
+ "output": {
+ "error": "login_failed" // <-- Your custom code
+ },
+ "failure_reason": "Login failed: The page displayed 'Invalid username or password'",
+ "webhook_callback_url": "https://your-server.com/webhook",
+ "created_at": "2026-01-20T11:58:57.414123",
+ "finished_at": "2026-01-20T12:00:31.512692"
+}
+```
+</CodeGroup>
+
+Both `output.error` (your code) and `failure_reason` (raw text) are present. Use `output.error` for branching, `failure_reason` for logging.
+
+**Quick reference:** Where error codes appear
+
+| Context | Field | Example |
+|---------|-------|---------|
+| Polling response | `run.output.error` | `run.output.get("error")` in Python |
+| Webhook payload | `output.error` | Same structure as polling |
+| Successful run | `output` contains your extracted data | No `error` key present |
+
+---
+
+## Step 4: Respond in code
+
+Now you can write clean switch/match logic:
+
+<CodeGroup>
+```python Python
+import asyncio
+from skyvern import Skyvern
+
+client = Skyvern(api_key="your-api-key")
+
+async def run_with_error_handling(retries=1):
+ result = await client.run_task(
+ prompt="Log in and download the invoice",
+ url="https://vendor-portal.example.com",
+ error_code_mapping={
+ "login_failed": "Login credentials are incorrect or account is locked",
+ "invoice_not_found": "No invoice for the requested date",
+ "maintenance": "Site is down for maintenance"
+ }
+ )
+
+ run_id = result.run_id
+
+ # Poll until terminal state
+ while True:
+ run = await client.get_run(run_id)
+ if run.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ await asyncio.sleep(5)
+
+ # Handle based on status and error code
+ if run.status == "completed":
+ return {"success": True, "data": run.output}
+
+ error_code = run.output.get("error") if run.output else None
+
+ if error_code == "login_failed":
+ if retries > 0:
+ await refresh_credentials("vendor-portal")
+ return await run_with_error_handling(retries=retries - 1)
+ return {"success": False, "reason": "login_failed", "details": "Retry limit reached"}
+
+ elif error_code == "invoice_not_found":
+ # Expected condition—no invoice for this period
+ return {"success": False, "reason": "no_invoice", "date": invoice_date}
+
+ elif error_code == "maintenance":
+ # Schedule retry for later
+ await schedule_retry(run_id, delay_minutes=60)
+ return {"success": False, "reason": "scheduled_retry"}
+
+ else:
+ # Unknown error—log and alert
+ log_error(run_id, run.failure_reason)
+ return {"success": False, "reason": "unknown", "details": run.failure_reason}
+```
+
+```typescript TypeScript
+async function runWithErrorHandling(retries = 1) {
+ const result = await client.runTask({
+ body: {
+ prompt: "Log in and download the invoice",
+ url: "https://vendor-portal.example.com",
+ error_code_mapping: {
+ login_failed: "Login credentials are incorrect or account is locked",
+ invoice_not_found: "No invoice for the requested date",
+ maintenance: "Site is down for maintenance",
+ },
+ },
+ });
+
+ const runId = result.run_id;
+
+ // Poll until terminal state
+ let run;
+ while (true) {
+ run = await client.getRun(runId);
+ if (["completed", "failed", "terminated", "timed_out", "canceled"].includes(run.status)) {
+ break;
+ }
+ await new Promise((r) => setTimeout(r, 5000));
+ }
+
+ // Handle based on status and error code
+ if (run.status === "completed") {
+ return { success: true, data: run.output };
+ }
+
+ const errorCode = run.output?.error;
+
+ switch (errorCode) {
+ case "login_failed":
+ if (retries > 0) {
+ await refreshCredentials("vendor-portal");
+ return runWithErrorHandling(retries - 1);
+ }
+ return { success: false, reason: "login_failed", details: "Retry limit reached" };
+
+ case "invoice_not_found":
+ return { success: false, reason: "no_invoice", date: invoiceDate };
+
+ case "maintenance":
+ await scheduleRetry(runId, { delayMinutes: 60 });
+ return { success: false, reason: "scheduled_retry" };
+
+ default:
+ logError(runId, run.failure_reason);
+ return { success: false, reason: "unknown", details: run.failure_reason };
+ }
+}
+```
+</CodeGroup>
+
+---
+
+## Validation blocks as assertions
+
+Validation blocks are assertions that check conditions at critical points—like unit test assertions. If validation fails, the workflow terminates immediately with your error code instead of continuing and failing later with a confusing error.
+
+Use validation blocks after steps where you need to confirm success before proceeding:
+
+<CodeGroup>
+```json JSON
+{
+ "blocks": [
+ {
+ // First, attempt to log in
+ "block_type": "navigation",
+ "label": "login",
+ "url": "https://vendor-portal.example.com/login",
+ "navigation_goal": "Log in using stored credentials"
+ },
+ {
+ // Then verify login succeeded before continuing
+ "block_type": "validation",
+ "label": "verify_login",
+ "complete_criterion": "Dashboard or account overview page is visible",
+ "terminate_criterion": "Login error message, CAPTCHA, or still on login page",
+ "error_code_mapping": {
+ "login_failed": "Login error message is displayed",
+ "captcha_required": "CAPTCHA verification is shown",
+ "session_expired": "Session timeout message appeared"
+ }
+ },
+ {
+ // Only runs if validation passed
+ "block_type": "navigation",
+ "label": "download_invoice",
+ "navigation_goal": "Navigate to invoices and download {{invoice_date}}",
+ "error_code_mapping": {
+ "invoice_not_found": "No invoice for the specified date"
+ }
+ }
+ ]
+}
+```
+
+```yaml YAML
+blocks:
+ # First, attempt to log in
+ - block_type: navigation
+ label: login
+ url: "https://vendor-portal.example.com/login"
+ navigation_goal: "Log in using stored credentials"
+
+ # Then verify login succeeded before continuing
+ - block_type: validation
+ label: verify_login
+ complete_criterion: "Dashboard or account overview page is visible"
+ terminate_criterion: "Login error message, CAPTCHA, or still on login page"
+ error_code_mapping:
+ login_failed: "Login error message is displayed"
+ captcha_required: "CAPTCHA verification is shown"
+ session_expired: "Session timeout message appeared"
+
+ # Only runs if validation passed
+ - block_type: navigation
+ label: download_invoice
+ navigation_goal: "Navigate to invoices and download {{invoice_date}}"
+ error_code_mapping:
+ invoice_not_found: "No invoice for the specified date"
+```
+</CodeGroup>
+
+| Parameter | Purpose |
+|-----------|---------|
+| `complete_criterion` | Condition that must be true to continue to the next block |
+| `terminate_criterion` | Condition that stops the workflow immediately |
+| `error_code_mapping` | Maps termination conditions to your error codes |
+
+If `verify_login` sees a login error, the workflow terminates with `output.error = "login_failed"`. Your Step 4 code handles it the same way as any other error code.
+
+---
+
+## Common error patterns
+
+| Error Code | Description | Typical Response |
+|------------|-------------|------------------|
+| `login_failed` | Credentials wrong, account locked, or MFA | Refresh credentials, retry |
+| `captcha_required` | CAPTCHA blocking automation | Use `human_interaction` block or browser profile |
+| `not_found` | Target data doesn't exist | Return empty result, don't retry |
+| `maintenance` | Site temporarily down | Schedule retry with backoff |
+| `rate_limited` | Too many requests | Add delays, use different proxy |
+| `access_denied` | Permission issue | Check account permissions |
+| `timeout` | Task took too long | Increase `max_steps`, simplify task |
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Reliability Tips"
+ icon="shield-check"
+ href="/going-to-production/reliability-tips"
+ >
+ Write prompts that fail less often
+ </Card>
+ <Card
+ title="Webhooks"
+ icon="webhook"
+ href="/going-to-production/webhooks"
+ >
+ Get notified when runs complete or fail
+ </Card>
+</CardGroup>
diff --git a/docs/going-to-production/proxy-geolocation.mdx b/docs/going-to-production/proxy-geolocation.mdx
new file mode 100644
index 000000000..9d7592c39
--- /dev/null
+++ b/docs/going-to-production/proxy-geolocation.mdx
@@ -0,0 +1,728 @@
+---
+title: Proxy & Geolocation
+subtitle: Route browser traffic through residential proxies worldwide
+slug: going-to-production/proxy-geolocation
+---
+
+export const COUNTRY_PATHS = {
+ "AD": "m 985.4,301.7 0.1,-0.2 0.1,-0.2 0,-0.1 -0.2,-0.1 -0.7,-0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3.7 6,7 2.3,0.7 -0.1,2.2 1.5,4.1 4.2,0.9 3.4,2.9 2.2,0.1 2.6,1.1 1.9,-0.8 2.9,0.6 z",
+}
+
+export const PROXY_LOCATIONS = [
+ { code: "US", name: "United States", value: "RESIDENTIAL", timezone: "America/New_York", flag: "🇺🇸" },
+ { code: "US_ISP", name: "United States (ISP)", value: "RESIDENTIAL_ISP", timezone: "America/New_York", flag: "🇺🇸" },
+ { code: "CA", name: "Canada", value: "RESIDENTIAL_CA", timezone: "America/Toronto", flag: "🇨🇦" },
+ { code: "MX", name: "Mexico", value: "RESIDENTIAL_MX", timezone: "America/Mexico_City", flag: "🇲🇽" },
+ { code: "AR", name: "Argentina", value: "RESIDENTIAL_AR", timezone: "America/Argentina/Buenos_Aires", flag: "🇦🇷" },
+ { code: "BR", name: "Brazil", value: "RESIDENTIAL_BR", timezone: "America/Sao_Paulo", flag: "🇧🇷" },
+ { code: "GB", name: "United Kingdom", value: "RESIDENTIAL_GB", timezone: "Europe/London", flag: "🇬🇧" },
+ { code: "IE", name: "Ireland", value: "RESIDENTIAL_IE", timezone: "Europe/Dublin", flag: "🇮🇪" },
+ { code: "NL", name: "Netherlands", value: "RESIDENTIAL_NL", timezone: "Europe/Amsterdam", flag: "🇳🇱" },
+ { code: "DE", name: "Germany", value: "RESIDENTIAL_DE", timezone: "Europe/Berlin", flag: "🇩🇪" },
+ { code: "FR", name: "France", value: "RESIDENTIAL_FR", timezone: "Europe/Paris", flag: "🇫🇷" },
+ { code: "ES", name: "Spain", value: "RESIDENTIAL_ES", timezone: "Europe/Madrid", flag: "🇪🇸" },
+ { code: "IT", name: "Italy", value: "RESIDENTIAL_IT", timezone: "Europe/Rome", flag: "🇮🇹" },
+ { code: "TR", name: "Türkiye", value: "RESIDENTIAL_TR", timezone: "Europe/Istanbul", flag: "🇹🇷" },
+ { code: "ZA", name: "South Africa", value: "RESIDENTIAL_ZA", timezone: "Africa/Johannesburg", flag: "🇿🇦" },
+ { code: "IN", name: "India", value: "RESIDENTIAL_IN", timezone: "Asia/Kolkata", flag: "🇮🇳" },
+ { code: "PH", name: "Philippines", value: "RESIDENTIAL_PH", timezone: "Asia/Manila", flag: "🇵🇭" },
+ { code: "JP", name: "Japan", value: "RESIDENTIAL_JP", timezone: "Asia/Tokyo", flag: "🇯🇵" },
+ { code: "AU", name: "Australia", value: "RESIDENTIAL_AU", timezone: "Australia/Sydney", flag: "🇦🇺" },
+ { code: "NZ", name: "New Zealand", value: "RESIDENTIAL_NZ", timezone: "Pacific/Auckland", flag: "🇳🇿" },
+ { code: "NONE", name: "No Proxy", value: "NONE", timezone: "—", flag: "🚫" },
+]
+
+export const AVAILABLE_COUNTRIES = ["US", "CA", "MX", "AR", "BR", "GB", "IE", "NL", "DE", "FR", "ES", "IT", "TR", "ZA", "IN", "PH", "JP", "AU", "NZ"]
+
+export const ProxyMapSelector = () => {
+ const [selected, setSelected] = useState("US")
+ const [hoveredCountry, setHoveredCountry] = useState(null)
+ const [outputFormat, setOutputFormat] = useState("python")
+ const [copied, setCopied] = useState(false)
+
+ const selectedLocation = PROXY_LOCATIONS.find(l => l.code === selected)
+
+ const getCountryFill = (countryCode) => {
+ const isSelected = selected === countryCode || (selected === "US_ISP" && countryCode === "US")
+ const isAvailable = AVAILABLE_COUNTRIES.includes(countryCode)
+ const isHovered = hoveredCountry === countryCode
+ if (isSelected) return "#6366f1"
+ if (isHovered && isAvailable) return "#34d399"
+ if (isAvailable) return "#10b981"
+ return "#e5e7eb"
+ }
+
+ const handleCountryClick = (countryCode) => {
+ if (AVAILABLE_COUNTRIES.includes(countryCode)) {
+ setSelected(countryCode)
+ }
+ }
+
+ const getCodeSnippet = () => {
+ if (!selectedLocation) return ""
+ if (outputFormat === "python") return 'proxy_location="' + selectedLocation.value + '"'
+ if (outputFormat === "typescript") return 'proxy_location: "' + selectedLocation.value + '"'
+ return '"proxy_location": "' + selectedLocation.value + '"'
+ }
+
+ const copyToClipboard = async () => {
+ await navigator.clipboard.writeText(getCodeSnippet())
+ setCopied(true)
+ setTimeout(() => setCopied(false), 2000)
+ }
+
+ return (
+ <div className="p-5 border rounded-lg mt-4 mb-6 not-prose" style={{ backgroundColor: "#f8fafc" }}>
+ <label className="block font-semibold mb-3 text-sm">Click a country to select a proxy location</label>
+
+ <div className="mb-4 border rounded-lg overflow-hidden" style={{ backgroundColor: "#1e293b" }}>
+ <svg viewBox="0 0 2000 1001" className="w-full h-auto" style={{ maxHeight: "400px" }}>
+ <rect x="0" y="0" width="2000" height="1001" fill="#1e293b" />
+ {Object.entries(COUNTRY_PATHS).map(([countryCode, pathD]) => {
+ const isAvailable = AVAILABLE_COUNTRIES.includes(countryCode)
+ return (
+ <path
+ key={countryCode}
+ d={pathD}
+ fill={getCountryFill(countryCode)}
+ stroke="#334155"
+ strokeWidth="0.5"
+ style={{ cursor: isAvailable ? "pointer" : "default", transition: "fill 0.15s ease" }}
+ onClick={() => handleCountryClick(countryCode)}
+ onMouseEnter={() => isAvailable && setHoveredCountry(countryCode)}
+ onMouseLeave={() => setHoveredCountry(null)}
+ />
+ )
+ })}
+ </svg>
+ <div className="flex items-center justify-center gap-6 py-2 text-xs" style={{ backgroundColor: "#0f172a" }}>
+ <div className="flex items-center gap-1.5">
+ <div className="w-3 h-3 rounded-sm" style={{ backgroundColor: "#10b981" }}></div>
+ <span className="text-slate-300">Available</span>
+ </div>
+ <div className="flex items-center gap-1.5">
+ <div className="w-3 h-3 rounded-sm" style={{ backgroundColor: "#6366f1" }}></div>
+ <span className="text-slate-300">Selected</span>
+ </div>
+ <div className="flex items-center gap-1.5">
+ <div className="w-3 h-3 rounded-sm" style={{ backgroundColor: "#e5e7eb" }}></div>
+ <span className="text-slate-300">Not available</span>
+ </div>
+ </div>
+ </div>
+
+ {(selected === "US" || selected === "US_ISP") && (
+ <div className="mb-4 p-3 rounded-md border" style={{ backgroundColor: "#ffffff" }}>
+ <div className="text-xs font-medium text-gray-500 mb-2">US Proxy Type</div>
+ <div className="flex gap-2">
+ <button
+ onClick={() => setSelected("US")}
+ className="px-3 py-1.5 rounded text-sm transition-all"
+ style={{ backgroundColor: selected === "US" ? "#6366f1" : "#f1f5f9", color: selected === "US" ? "white" : "#374151", fontWeight: selected === "US" ? 600 : 400 }}
+ >
+ Residential (rotating IPs)
+ </button>
+ <button
+ onClick={() => setSelected("US_ISP")}
+ className="px-3 py-1.5 rounded text-sm transition-all"
+ style={{ backgroundColor: selected === "US_ISP" ? "#6366f1" : "#f1f5f9", color: selected === "US_ISP" ? "white" : "#374151", fontWeight: selected === "US_ISP" ? 600 : 400 }}
+ >
+ ISP (static IPs)
+ </button>
+ </div>
+ </div>
+ )}
+
+ <div className="mb-4">
+ <button
+ onClick={() => setSelected("NONE")}
+ className="px-3 py-2 rounded-lg text-sm flex items-center gap-2 transition-all"
+ style={{ backgroundColor: selected === "NONE" ? "#6366f1" : "white", color: selected === "NONE" ? "white" : "#374151", border: selected === "NONE" ? "2px solid #6366f1" : "2px solid #e5e7eb" }}
+ >
+ <span>🚫</span>
+ <span className="font-medium">No Proxy</span>
+ </button>
+ </div>
+
+ {selectedLocation && (
+ <div className="mb-4 p-3 rounded-md border" style={{ backgroundColor: "#ffffff" }}>
+ <div className="flex items-center gap-2 mb-2">
+ <span className="text-2xl">{selectedLocation.flag}</span>
+ <div>
+ <div className="font-semibold text-sm">{selectedLocation.name}</div>
+ <div className="text-xs text-gray-500">Timezone: {selectedLocation.timezone}</div>
+ </div>
+ </div>
+ <div className="text-xs font-mono bg-slate-100 px-2 py-1 rounded inline-block">
+ {selectedLocation.value}
+ </div>
+ </div>
+ )}
+
+ <div>
+ <div className="flex justify-between items-center mb-2">
+ <label className="font-semibold text-sm">Generated code</label>
+ <div className="flex gap-1">
+ {["python", "typescript", "curl"].map((format) => (
+ <button
+ key={format}
+ onClick={() => setOutputFormat(format)}
+ className={"px-3 py-1 rounded text-xs " + (outputFormat === format ? "bg-indigo-100 border-indigo-500 border font-medium" : "bg-white border border-gray-200")}
+ >
+ {format === "curl" ? "cURL" : format.charAt(0).toUpperCase() + format.slice(1)}
+ </button>
+ ))}
+ </div>
+ </div>
+ <div className="relative">
+ <pre className="bg-slate-800 text-slate-200 p-4 rounded-md overflow-auto text-sm leading-relaxed">
+ <code>{getCodeSnippet()}</code>
+ </pre>
+ <button
+ onClick={copyToClipboard}
+ className={"absolute top-2 right-2 px-3 py-1 rounded text-xs text-white " + (copied ? "bg-green-500" : "bg-slate-600 hover:bg-slate-500")}
+ >
+ {copied ? "Copied!" : "Copy"}
+ </button>
+ </div>
+ </div>
+ </div>
+ )
+}
+
+Many websites serve different content based on your location—prices in local currency, region-locked inventory, or outright access blocks. Others detect and block datacenter IPs, treating them as bots. Skyvern's residential proxy network routes your browser through real consumer IP addresses in 20 countries, so sites see a legitimate local visitor.
+
+<Note>
+Proxy routing is only available in Skyvern Cloud. Self-hosted deployments require your own proxy infrastructure.
+</Note>
+
+---
+
+## Set `proxy_location`
+
+Pass `proxy_location` when creating or running tasks, workflows or browser sessions to route browser traffic through a specific region.
+
+<ProxyMapSelector />
+
+For tasks:
+
+<CodeGroup>
+```python Python
+result = await client.run_task(
+ prompt="Get the price of this product",
+ url="https://shop.example.co.uk/product/123",
+ proxy_location="RESIDENTIAL_GB",
+)
+```
+
+```typescript TypeScript
+const result = await client.runTask({
+ body: {
+ prompt: "Get the price of this product",
+ url: "https://shop.example.co.uk/product/123",
+ proxy_location: "RESIDENTIAL_GB",
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/tasks" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "prompt": "Get the price of this product",
+ "url": "https://shop.example.co.uk/product/123",
+ "proxy_location": "RESIDENTIAL_GB"
+ }'
+```
+</CodeGroup>
+
+For workflows, set a default `proxy_location` when creating the workflow, then you can also override it when starting the run:
+
+<CodeGroup>
+```python Python
+# Set default proxy on workflow
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "UK Price Monitor",
+ "proxy_location": "RESIDENTIAL_GB",
+ "workflow_definition": {...}
+ }
+)
+
+# Override for a specific run (takes priority over workflow default)
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={...},
+ proxy_location="RESIDENTIAL_DE" # This run uses Germany instead
+)
+```
+
+```typescript TypeScript
+// Set default proxy on workflow
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "UK Price Monitor",
+ proxy_location: "RESIDENTIAL_GB",
+ workflow_definition: {...},
+ },
+ },
+});
+
+// Override for a specific run (takes priority over workflow default)
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {...},
+ proxy_location: "RESIDENTIAL_DE", // This run uses Germany instead
+ },
+});
+```
+
+```bash cURL
+# Set default proxy on workflow
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "UK Price Monitor",
+ "proxy_location": "RESIDENTIAL_GB",
+ "workflow_definition": {...}
+ }
+ }'
+
+# Override for a specific run (takes priority over workflow default)
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {...},
+ "proxy_location": "RESIDENTIAL_DE"
+ }'
+```
+</CodeGroup>
+
+For browser sessions, set `proxy_location` at creation. All tasks in that session use the same proxy IP, which matters for sites that track IP consistency across a login session—switching IPs mid-session often triggers security warnings or logouts.
+
+<Warning>
+**Browser profiles don't store proxy settings.** Profiles save cookies, localStorage, and authentication state—but not the proxy used to create them. When reusing a profile, explicitly set `proxy_location` to match the original session, or sites may detect the IP mismatch and invalidate your session.
+</Warning>
+
+<CodeGroup>
+```python Python
+session = await client.create_browser_session(
+ timeout=60,
+ proxy_location="RESIDENTIAL_DE"
+)
+```
+
+```typescript TypeScript
+const session = await client.createBrowserSession({
+ body: {
+ timeout: 60,
+ proxy_location: "RESIDENTIAL_DE",
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/browser_sessions" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "timeout": 60,
+ "proxy_location": "RESIDENTIAL_DE"
+ }'
+```
+</CodeGroup>
+
+---
+
+## Proxy location options
+
+Use these enum values for country-level targeting. Each routes through a residential proxy pool in that country.
+
+| Value | Country | Timezone |
+|-------|---------|----------|
+| `RESIDENTIAL` | United States | America/New_York |
+| `RESIDENTIAL_ISP` | United States | America/New_York |
+| `RESIDENTIAL_AR` | Argentina | America/Argentina/Buenos_Aires |
+| `RESIDENTIAL_AU` | Australia | Australia/Sydney |
+| `RESIDENTIAL_BR` | Brazil | America/Sao_Paulo |
+| `RESIDENTIAL_CA` | Canada | America/Toronto |
+| `RESIDENTIAL_DE` | Germany | Europe/Berlin |
+| `RESIDENTIAL_ES` | Spain | Europe/Madrid |
+| `RESIDENTIAL_FR` | France | Europe/Paris |
+| `RESIDENTIAL_GB` | United Kingdom | Europe/London |
+| `RESIDENTIAL_IE` | Ireland | Europe/Dublin |
+| `RESIDENTIAL_IN` | India | Asia/Kolkata |
+| `RESIDENTIAL_IT` | Italy | Europe/Rome |
+| `RESIDENTIAL_JP` | Japan | Asia/Tokyo |
+| `RESIDENTIAL_MX` | Mexico | America/Mexico_City |
+| `RESIDENTIAL_NL` | Netherlands | Europe/Amsterdam |
+| `RESIDENTIAL_NZ` | New Zealand | Pacific/Auckland |
+| `RESIDENTIAL_PH` | Philippines | Asia/Manila |
+| `RESIDENTIAL_TR` | Türkiye | Europe/Istanbul |
+| `RESIDENTIAL_ZA` | South Africa | Africa/Johannesburg |
+| `NONE` | No proxy | — |
+
+- `RESIDENTIAL` is the default. It routes traffic through a random US residential IP.
+- `RESIDENTIAL_ISP` uses static ISP IPs instead of rotating residential IPs. Useful for sites that distrust rotating pools or require consistent IP addresses across requests.
+- `NONE` disables proxy routing entirely—traffic originates from Skyvern's US datacenters. Useful for testing or internal tools.
+
+<Note>
+**Default behavior:** If you don't specify `proxy_location`, Skyvern uses `RESIDENTIAL` which routes through a random US residential IP. Each request may get a different IP from the pool. For consistent IPs, use `RESIDENTIAL_ISP` or browser sessions.
+</Note>
+
+<Info>
+**Timezone is automatically set:** When using `proxy_location`, the browser's timezone is set to match the proxy's region. Sites that compare your IP's geolocation against browser timezone for bot detection will see consistent data.
+</Info>
+
+### Choosing the right proxy type
+
+| Scenario | Recommended | Why |
+|----------|-------------|-----|
+| General scraping | `RESIDENTIAL` | Large pool, good success rate |
+| Login / authenticated sessions | `RESIDENTIAL_ISP` | Static IPs prevent session invalidation |
+| Region-specific content | `RESIDENTIAL_XX` | Routes through that country |
+| Sites that block rotating IPs | `RESIDENTIAL_ISP` | Static IPs have better reputation |
+| Internal tools / testing | `NONE` | Skip proxy overhead |
+| Multi-step checkout flows | `RESIDENTIAL_ISP` + browser session | IP consistency required |
+
+<Tip>
+**Use `RESIDENTIAL_ISP` for authenticated sessions.** Sites that track IP consistency across a login session may flag accounts when IPs rotate mid-session. ISP proxies provide static IPs that don't change during your task.
+</Tip>
+
+### State and city targeting
+
+For granular targeting—a specific US state, a city, or a country not in the presets—pass a `GeoTarget` object instead of an enum.
+
+<CodeGroup>
+```python Python
+# US state (California)
+result = await client.run_task(
+ prompt="Get local pricing",
+ url="https://example.com",
+ proxy_location={"country": "US", "subdivision": "CA"},
+)
+
+# US city (New York City)
+result = await client.run_task(
+ prompt="Get local pricing",
+ url="https://example.com",
+ proxy_location={"country": "US", "subdivision": "NY", "city": "New York"},
+)
+
+# City without subdivision (London)
+result = await client.run_task(
+ prompt="Get local pricing",
+ url="https://example.com",
+ proxy_location={"country": "GB", "city": "London"},
+)
+```
+
+```typescript TypeScript
+// US state (California)
+const result = await client.runTask({
+ body: {
+ prompt: "Get local pricing",
+ url: "https://example.com",
+ proxy_location: { country: "US", subdivision: "CA" },
+ },
+});
+
+// US city (New York City)
+const result = await client.runTask({
+ body: {
+ prompt: "Get local pricing",
+ url: "https://example.com",
+ proxy_location: { country: "US", subdivision: "NY", city: "New York" },
+ },
+});
+
+// City without subdivision (London)
+const result = await client.runTask({
+ body: {
+ prompt: "Get local pricing",
+ url: "https://example.com",
+ proxy_location: { country: "GB", city: "London" },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/tasks" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "prompt": "Get local pricing",
+ "url": "https://example.com",
+ "proxy_location": {
+ "country": "US",
+ "subdivision": "CA",
+ "city": "San Francisco"
+ }
+ }'
+```
+</CodeGroup>
+
+| Field | Type | Description |
+|-------|------|-------------|
+| `country` | string | **Required.** ISO 3166-1 alpha-2 code (e.g., `US`, `GB`, `DE`). |
+| `subdivision` | string | ISO 3166-2 subdivision code without country prefix (e.g., `CA` for California, `NY` for New York). |
+| `city` | string | City name in English (e.g., `San Francisco`, `London`). |
+
+**Supported countries:** `US`, `AR`, `AU`, `BR`, `CA`, `DE`, `ES`, `FR`, `GB`, `IE`, `IN`, `IT`, `JP`, `MX`, `NL`, `NZ`, `PH`, `TR`, `ZA`
+
+<Note>
+**City/state targeting has limited availability.** Proxy pools for specific cities or US states are smaller and may return `NoProxyAvailable` during high-demand periods. If this happens, broaden your target (city → state → country) or retry later.
+</Note>
+
+---
+
+## Troubleshooting
+
+| Error | Reason | How to Fix |
+|-------|--------|------------|
+| `NoProxyAvailable` | Requested city/state is temporarily unavailable in the proxy pool | Broaden target (city → state → country), use `RESIDENTIAL_ISP`, or retry later |
+| Site still blocks requests | Bot detection beyond IP geolocation (fingerprinting, behavioral analysis) | Use `RESIDENTIAL_ISP` for static IPs, match proxy to site's region, add `wait` blocks between actions |
+| Need to debug proxy issues | Isolate whether proxy is causing failures | Set `proxy_location: "NONE"` to bypass proxy entirely |
+
+For sites with aggressive bot detection, combine residential proxies with the techniques in [Captcha & Bot Detection](/going-to-production/captcha-bot-detection).
+
+Need a location that's not available? Get help in the [Skyvern Discord community](https://discord.gg/skyvern) to request new proxy pools.
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Captcha & Bot Detection"
+ icon="robot"
+ href="/going-to-production/captcha-bot-detection"
+ >
+ Combine proxies with anti-detection techniques
+ </Card>
+ <Card
+ title="Browser Sessions"
+ icon="window"
+ href="/browser-sessions/introduction"
+ >
+ Maintain IP consistency across multi-step tasks
+ </Card>
+</CardGroup>
+
diff --git a/docs/going-to-production/reliability-tips.mdx b/docs/going-to-production/reliability-tips.mdx
new file mode 100644
index 000000000..05e79805d
--- /dev/null
+++ b/docs/going-to-production/reliability-tips.mdx
@@ -0,0 +1,366 @@
+---
+title: Reliability Tips
+subtitle: Write robust prompts and handle edge cases
+slug: going-to-production/reliability-tips
+---
+
+The difference between a demo and production-ready automation is reliability. This page covers techniques for writing prompts that work consistently, handling dynamic pages, and validating results.
+
+---
+
+## Writing robust prompts
+
+### Anatomy of a good prompt
+
+Every prompt needs four components:
+
+1. **Main goal** (required) — What should happen
+2. **Guardrails** — Constraints and boundaries
+3. **Payload** — Data to use in form fields
+4. **Completion criteria** (required) — How to know when done
+
+```
+Your goal is to fill out the contact form with the provided information.
+Only fill out required fields. Skip optional fields unless you have data for them.
+
+Here is the information:
+{{contact_data}}
+
+COMPLETE when the form is submitted and you see a confirmation message.
+TERMINATE if you see an error message or the form cannot be submitted.
+```
+
+### What works
+
+**Be explicit about completion.** The AI needs to know when to stop. "COMPLETE when you see 'Order confirmed'" is unambiguous. Without this, the AI might keep navigating or stop too early.
+
+<Tip>
+**Don't forget the submit button.** A common failure mode is the AI completing after filling form fields but before clicking Submit. Be explicit: "COMPLETE when you have clicked the Submit button AND see a confirmation message." The AI might consider the form "done" once all fields are filled—make clear that submission is part of the goal.
+</Tip>
+
+**Use visual descriptions.** "Click the blue Submit button at the bottom of the form" works better than "click Submit"—there might be multiple buttons, and visual context helps the AI pick the right one. Describe position, color, icons, and surrounding text.
+
+**Start general, then refine.** Begin with simple prompts and add specifics based on failures. Over-specified prompts are brittle; the AI handles variation better when you describe goals rather than exact steps.
+
+**Include termination criteria.** Tell the AI when to give up: "TERMINATE if login fails or account is locked." Without this, the AI might keep trying forever or fail silently.
+
+**Reference visual indicators.** "The invoice download link has a PDF icon next to it" helps the AI identify the right element when there are multiple links with similar text.
+
+### What doesn't work
+
+**Vague goals.** "Do the thing on the website" gives the AI nothing to work with. Be specific about what outcome you want.
+
+**Missing completion criteria.** Without knowing when to stop, the AI keeps navigating indefinitely or terminates at arbitrary points.
+
+**Action lists without context.** "Click button A, then B, then C" breaks when the layout changes or buttons move. Describe the goal instead, and let the AI figure out the steps.
+
+**HTML element names.** "Click the `<button id='submit'>` element" assumes IDs are stable and visible to the AI. They often change between deployments, and the AI works from visual screenshots, not DOM structure.
+
+**Assuming page state.** The AI doesn't know what page you expect to be on. Always describe what you expect to see, not just what to do.
+
+### Autocomplete and dropdown fields
+
+Address fields, city selectors, and other autocomplete inputs are notoriously tricky. The AI might type a value, see suggestions appear, then second-guess itself—erasing and retyping, cycling through options like "Toronto" → "Ontario" → "Canada" → "Toronto" again before settling.
+
+To reduce cycling behavior:
+
+**Be explicit about the exact value.** Instead of "enter the city," say "type 'Toronto' and select it from the dropdown."
+
+**Tell it to stop after selection.** Add "Once you've selected the value, move to the next field—don't modify it further."
+
+**Specify which suggestion to pick.** "Select the first suggestion that matches" or "Choose the option that shows the full address" reduces ambiguity.
+
+```
+Fill in the shipping address:
+- For the City field, type "Toronto" and select the first matching suggestion
+- Do NOT cycle through suggestions or second-guess your selection
+- Once a field is filled, move to the next field immediately
+
+{{address_data}}
+```
+
+<Warning>
+Multi-select fields (where you pick several options from a list) are slower and less reliable than single-select. If the form allows it, consider making multiple API calls with single values rather than one call selecting many options.
+</Warning>
+
+---
+
+## Choosing the right block type
+
+Skyvern offers three block types with different tradeoffs between reliability and flexibility. The more interpretation you ask the AI to do, the more room for unexpected behavior.
+
+**Action blocks** are the most deterministic. You tell Skyvern exactly what to do: "Click the Submit button." There's no interpretation—it either finds the element and clicks it, or fails. Use these when you know exactly what action is needed and the page structure is predictable.
+
+**Navigation blocks** give Skyvern a goal: "Fill out the registration form." The AI figures out which fields to fill and in what order. This handles variation in form layouts—fields might be in different positions, have different labels, or be split across tabs—but the AI can misinterpret ambiguous forms or fill fields you didn't intend.
+
+**Task blocks (Navigation V2)** handle multi-step goals: "Log in, navigate to settings, update profile." Maximum flexibility for complex workflows, but more room for the AI to take unexpected paths. A task block might navigate through menus you didn't anticipate or skip steps it deems unnecessary.
+
+<Warning>
+**Task blocks keep navigating until they believe the goal is complete.** If you want to click "Next" once and then stop, a Task block will likely click through ALL pages until it reaches the end. For single-action-then-stop behavior, use an Action block or Navigation block with explicit completion criteria like "COMPLETE after clicking Next once."
+</Warning>
+
+**Rule of thumb:** Start with the most deterministic block that can accomplish your goal. If a single click solves the problem, don't use a Task block—you're adding unnecessary interpretation where errors can creep in. Reserve Task blocks for genuinely multi-step workflows where you can't predict the exact sequence of actions.
+
+---
+
+## Handling dynamic pages
+
+### Lazy-loaded content
+
+For pages that load content as you scroll:
+
+```python
+result = await client.run_task(
+ prompt="Extract all product listings from the page",
+ url="https://example.com/products",
+ max_screenshot_scrolls=5 # Scroll to load more content
+)
+```
+
+### Popups and modals
+
+Include handling instructions in your prompt:
+
+```
+Your goal is to add the item to cart.
+
+If a popup appears asking about newsletter signup, close it by clicking the X.
+If a cookie consent banner appears, click Accept.
+
+COMPLETE when the item is in the cart and the cart count increases.
+```
+
+### Multi-step forms
+
+For forms spread across multiple pages:
+
+```
+Your goal is to complete the checkout process.
+
+Page 1: Fill in shipping address using {{shipping_data}}
+Page 2: Select standard shipping
+Page 3: Enter payment details using {{payment_data}}
+Page 4: Review and submit
+
+COMPLETE when you see the order confirmation number.
+TERMINATE if any validation error cannot be resolved.
+```
+
+---
+
+## Validation strategies
+
+Workflows can silently produce wrong results—the AI might fill a form with incorrect data, navigate to the wrong page, or extract stale information. Validation blocks let you assert conditions at critical points and fail fast when something goes wrong, rather than discovering the problem downstream.
+
+### Add validation blocks at critical points
+
+**After login:** Verify you're actually authenticated before proceeding. A failed login might redirect to an error page or show a CAPTCHA, and subsequent blocks will fail in confusing ways if you don't catch this early.
+```yaml
+- block_type: validation
+ label: verify_login_success
+ complete_criterion: Dashboard or account page is visible
+ terminate_criterion: Login error, CAPTCHA, or still on login page
+```
+
+**Before form submission:** Catch data entry errors before they become permanent. The AI might have misinterpreted a field or filled in default values instead of your parameters.
+
+```yaml
+- block_type: validation
+ label: verify_form_data
+ complete_criterion: |
+ Review page shows correct values:
+ - Name matches {{name}}
+ - Email matches {{email}}
+ terminate_criterion: Data mismatch or missing required fields
+```
+
+### Use extraction to verify
+
+For validation that requires exact matching (email addresses, confirmation numbers, prices), extract the values and compare programmatically in your code rather than relying on the AI's judgment:
+
+```python
+result = await client.run_task(
+ prompt="Fill out the form and extract the confirmation number",
+ data_extraction_schema={
+ "type": "object",
+ "properties": {
+ "confirmation_number": {"type": "string"},
+ "submitted_email": {"type": "string"}
+ }
+ }
+)
+
+# Verify in your code
+if result.output["submitted_email"] != expected_email:
+ raise ValueError("Email mismatch")
+```
+
+<Warning>
+**Validation blocks read from the current page, not from prior block outputs.** If you need to validate extracted data from a previous block, use a Code block to compare values programmatically. Validation blocks evaluate their criteria against what's visible on screen—they don't have access to data extracted by earlier extraction blocks.
+</Warning>
+
+---
+
+## ForLoop reliability
+
+Loops are especially prone to cascading failures—when one iteration fails, it can leave the browser in an unexpected state that breaks subsequent iterations. For example, if iteration 3 navigates to an error page and fails, iteration 4 starts from that error page instead of the expected list view, causing it to fail too. One bad item can take down your entire loop.
+
+### Always set `continue_on_failure`
+
+```yaml
+- block_type: for_loop
+ label: process_items
+ loop_over_parameter_key: items_list
+ continue_on_failure: true # Don't stop the whole loop if one item fails
+ loop_blocks:
+ - block_type: navigation
+ label: process_item
+ navigation_goal: "Process: {{ process_item.current_value }}"
+```
+
+### Add a reset block
+
+Each iteration should start from a known state. If iteration 3 fails on a detail page, iteration 4 needs to navigate back to the list before it can find its item. Add a reset block at the start of each loop iteration:
+
+```yaml
+loop_blocks:
+ - block_type: navigation
+ label: reset_to_list
+ url: "https://example.com/items"
+ navigation_goal: "Navigate back to the items list"
+ - block_type: navigation
+ label: process_item
+ navigation_goal: "Find and process: {{ process_item.current_value }}"
+```
+
+### Include termination criteria per iteration
+
+```yaml
+- block_type: navigation
+ label: process_item
+ navigation_goal: |
+ Process the item: {{ process_item.current_value }}
+
+ COMPLETE when the item is processed.
+ TERMINATE if you're not on the expected page or the item doesn't exist.
+```
+
+---
+
+## Session timeouts and human-in-the-loop
+
+Browser sessions have a default timeout. If you're using human-in-the-loop workflows where a person must approve an action before proceeding, the session can expire while waiting for approval—especially if the approver is slow or in a different timezone.
+
+**Symptoms:** Runs that worked during testing fail in production with session expiry errors. The workflow waits for human approval, but by the time approval comes, the browser session has timed out.
+
+**Solutions:**
+
+1. **Increase session timeout** — Set a longer `timeout` when creating browser sessions for workflows that include human approval steps
+2. **Remove the human step for time-sensitive flows** — If session expiry is causing failures, consider making the workflow fully automated and reviewing results after completion
+3. **Split into multiple workflows** — Run the pre-approval steps, wait for human approval outside Skyvern, then trigger a second workflow for post-approval steps using a browser profile to maintain login state
+
+```python
+# Longer timeout for human-in-the-loop workflows
+session = await client.create_browser_session(
+ timeout=300, # 5 minutes instead of default
+ proxy_location="RESIDENTIAL"
+)
+```
+
+<Note>
+For workflows with predictable human approval times, schedule runs to arrive in the approver's inbox during working hours when they can act quickly.
+</Note>
+
+---
+
+## Keyboard actions and workarounds
+
+<Note>
+Direct keyboard shortcuts (Ctrl+C, Alt+Tab, Esc, etc.) are not currently supported. Here are workarounds for common scenarios.
+</Note>
+
+| Scenario | Workaround |
+|----------|------------|
+| **Copy text** | Use extraction block to get the text value |
+| **Paste into field** | Pass the value as a parameter: `{{value_to_paste}}` |
+| **Press Escape to close modal** | Click the X button or "Close" link instead. Add to prompt: "If a modal appears, close it by clicking the X button in the top right corner" |
+| **Keyboard navigation (Tab, arrows)** | Describe the click target visually instead |
+| **Ctrl+S to save** | Click the Save button in the UI, or look for auto-save indicators |
+| **Hotkey-only features** | Look for menu alternatives, toolbar buttons, or right-click context menus |
+| **Tab between fields** | AI handles field navigation automatically—no workaround needed |
+| **Enter to submit** | Explicitly click the Submit button rather than relying on Enter key |
+
+For applications that genuinely require keyboard shortcuts with no UI alternative:
+
+1. **Use the Code block** with custom Playwright scripts—you can call `page.keyboard.press('Escape')` directly
+2. **Check for an API** — Many web apps have APIs that bypass the UI entirely
+3. **Use browser profiles** with pre-configured settings or extensions that add UI buttons for keyboard-only features
+
+```python
+# Example: Using Code block for keyboard actions
+- block_type: code
+ label: press_escape
+ code: |
+ page = context["skyvern_page"].page
+ await page.keyboard.press("Escape")
+ result = {"escaped": True}
+```
+
+---
+
+## Troubleshooting workflow
+
+When a run fails:
+
+1. **Check the recording** — Watch what actually happened
+2. **Review screenshots** — See the state at each step
+3. **Check LLM reasoning** — Understand why the AI made each decision
+4. **Compare parameters** — Verify inputs match expectations
+
+### Common fixes
+
+| Symptom | Likely cause | Fix |
+|---------|--------------|-----|
+| **Completed too early** | Ambiguous completion criteria | Add specific visual indicators. Include "click Submit AND see confirmation" |
+| **Completed without submitting** | Submit button not included in goal | Explicitly state that clicking Submit is part of the task |
+| **Didn't complete** | Missing completion criteria | Add explicit COMPLETE condition |
+| **Wrong element clicked** | Multiple similar elements | Add distinguishing details: position, color, surrounding text |
+| **Form field skipped** | Field not visible or labeled differently | Describe the field's visual position |
+| **Loop stuck** | No reset between iterations | Add reset block at loop start |
+| **Autocomplete cycling** | AI second-guessing dropdown selections | Add "select and move on—don't modify" to prompt |
+| **Task navigates too far** | Task block continues until goal complete | Use Action/Navigation block for single-step actions |
+| **Session expired** | Human-in-the-loop timeout | Increase timeout or split into multiple workflows |
+| **Max steps reached** | Complex page or AI retrying actions | Increase `max_steps_per_run` or simplify the goal |
+
+### When to adjust prompts vs file a bug
+
+**Adjust your prompt if:**
+- The AI misunderstood what to do
+- Completion criteria were ambiguous
+- Visual descriptions were unclear
+
+**File a bug if:**
+- Elements are visibly present but not detected
+- Actions execute on wrong elements consistently
+- Standard UI patterns (dropdowns, checkboxes) don't work
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Error Handling"
+ icon="triangle-exclamation"
+ href="/going-to-production/error-handling"
+ >
+ Map errors to custom codes for programmatic handling
+ </Card>
+ <Card
+ title="Workflow Blocks Reference"
+ icon="cube"
+ href="/multi-step-automations/workflow-blocks-reference"
+ >
+ Detailed documentation for validation and other blocks
+ </Card>
+</CardGroup>
diff --git a/docs/going-to-production/webhooks.mdx b/docs/going-to-production/webhooks.mdx
new file mode 100644
index 000000000..370eb8159
--- /dev/null
+++ b/docs/going-to-production/webhooks.mdx
@@ -0,0 +1,530 @@
+---
+title: Webhooks
+subtitle: Get notified when tasks and workflows complete
+slug: going-to-production/webhooks
+---
+
+Workflows and task runs are asynchronous. When you call `run_task` or `run_workflow`, the API returns immediately with a run ID, but the actual execution happens in the background and can take variable time.
+
+Instead of polling the `get_runs` endpoint, you can use Webhooks to get notified when they finish.
+
+This page covers setting them up, explains payload structure, signature verification, and handling delivery failures.
+
+---
+
+## Step 1: Set webhook URL
+
+### For tasks
+<CodeGroup>
+```python Python
+result = await client.run_task(
+ prompt="Get the price of this product",
+ url="https://example.com/product/123",
+ webhook_url="https://your-server.com/webhook",
+)
+```
+
+```typescript TypeScript
+const result = await client.runTask({
+ body: {
+ prompt: "Get the price of this product",
+ url: "https://example.com/product/123",
+ webhook_url: "https://your-server.com/webhook",
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/tasks" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "prompt": "Get the price of this product",
+ "url": "https://example.com/product/123",
+ "webhook_url": "https://your-server.com/webhook"
+ }'
+```
+</CodeGroup>
+
+### For workflows
+Set a default webhook when creating the workflow, or override it per-run:
+
+<CodeGroup>
+```python Python
+# Set default on workflow (webhook_callback_url goes inside json_definition)
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Invoice Downloader",
+ "webhook_callback_url": "https://your-server.com/webhook",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "task",
+ "label": "download_invoice",
+ "url": "https://vendor-portal.example.com",
+ "prompt": "Download the latest invoice"
+ }
+ ]
+ }
+ }
+)
+
+# Override for a specific run
+run = await client.run_workflow(
+ workflow_id=workflow.workflow_permanent_id,
+ parameters={},
+ webhook_url="https://your-server.com/different-webhook"
+)
+```
+
+```typescript TypeScript
+// Set default on workflow (webhook_callback_url goes inside json_definition)
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Invoice Downloader",
+ webhook_callback_url: "https://your-server.com/webhook",
+ workflow_definition: {
+ parameters: [],
+ blocks: [
+ {
+ block_type: "task",
+ label: "download_invoice",
+ url: "https://vendor-portal.example.com",
+ prompt: "Download the latest invoice",
+ },
+ ],
+ },
+ },
+ },
+});
+
+// Override for a specific run
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ parameters: {},
+ webhook_url: "https://your-server.com/different-webhook",
+ },
+});
+```
+
+```bash cURL
+# Set default on workflow (webhook_callback_url goes inside json_definition)
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Invoice Downloader",
+ "webhook_callback_url": "https://your-server.com/webhook",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "task",
+ "label": "download_invoice",
+ "url": "https://vendor-portal.example.com",
+ "prompt": "Download the latest invoice"
+ }
+ ]
+ }
+ }
+ }'
+
+# Override for a specific run (use workflow_permanent_id from create response)
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {},
+ "webhook_url": "https://your-server.com/different-webhook"
+ }'
+```
+</CodeGroup>
+
+<Info>
+When creating a workflow, use `webhook_callback_url` inside `json_definition` — this sets the default for all runs. When running a workflow, use `webhook_url` at the top level to override for that specific run.
+</Info>
+
+**Quick reference:**
+
+| Context | Parameter | Location |
+|---------|-----------|----------|
+| Task run | `webhook_url` | Top-level parameter |
+| Workflow creation | `webhook_callback_url` | Inside `json_definition` |
+| Workflow run (override) | `webhook_url` | Top-level parameter |
+
+<Warning>
+**Watch the parameter names.** Using `webhook_url` when creating a workflow (instead of `webhook_callback_url` inside `json_definition`) silently results in no webhook being sent. The API won't return an error—your runs will just complete without notifications.
+</Warning>
+
+---
+
+## Step 2: Understand the payload
+
+Skyvern sends a JSON payload with run results. Here's a real example from a completed task:
+
+**Webhook Payload:**
+```json
+{
+ "run_id": "tsk_v2_490440779503357994",
+ "task_id": "tsk_v2_490440779503357994",
+ "status": "completed",
+ "output": {
+ "top_post_title": "Antirender: remove the glossy shine on architectural renderings"
+ },
+ "summary": "I have successfully retrieved the title of the top post from the Hacker News homepage.",
+ "prompt": "Get the title of the top post on Hacker News",
+ "url": "https://news.ycombinator.com/",
+ "downloaded_files": [],
+ "recording_url": "https://skyvern-artifacts.s3.amazonaws.com/v1/production/o_485917350850524254/tsk_490440844256003946/.../recording.webm?AWSAccessKeyId=...&Signature=...&Expires=...",
+ "screenshot_urls": ["https://skyvern-artifacts.s3.amazonaws.com/v1/production/o_485917350850524254/tsk_490441394011816060/.../screenshot_final.png?AWSAccessKeyId=..."],
+ "failure_reason": null,
+ "errors": [],
+ "step_count": 4,
+ "run_type": "task_v2",
+ "app_url": "https://app.skyvern.com/runs/wr_490440779503358000",
+ "organization_id": "o_485917350850524254",
+ "workflow_run_id": "wr_490440779503358000",
+ "workflow_id": "w_490440779503357996",
+ "workflow_permanent_id": "wpid_490440779503357998",
+ "proxy_location": "RESIDENTIAL",
+ "webhook_callback_url": "https://webhook.site/d8d013c1-0481-48d0-8d13-281e8563a508",
+ "webhook_failure_reason": null,
+ "created_at": "2026-01-31T15:20:42.160725",
+ "modified_at": "2026-01-31T15:23:34.993138",
+ "queued_at": "2026-01-31T15:20:42.371545",
+ "started_at": "2026-01-31T15:20:44.391756",
+ "finished_at": "2026-01-31T15:23:34.992815"
+}
+```
+
+**Request Headers Sent:**
+```http
+POST /d8d013c1-0481-48d0-8d13-281e8563a508 HTTP/1.1
+Host: webhook.site
+Content-Type: application/json
+x-skyvern-signature: 024025ccf0bbfe1c8978bdaae43fc136fc8b614b92e2f63c3485be5a36866f68
+x-skyvern-timestamp: 1769873016
+Content-Length: 8208
+User-Agent: python-httpx/0.28.1
+
+{...json payload above...}
+```
+
+| Field | Type | Description |
+|-------|------|-------------|
+| `run_id` | string | Unique identifier for this run |
+| `task_id` | string | Same as `run_id` |
+| `status` | string | `completed`, `failed`, `terminated`, `timed_out`, or `canceled` |
+| `output` | object \| null | Extracted data from the task. If you configured [`error_code_mapping`](/going-to-production/error-handling#step-3-use-error_code_mapping), failed runs include `output.error` with your custom error code. |
+| `summary` | string | AI-generated description of what was done |
+| `prompt` | string | The prompt from the original request |
+| `url` | string | The URL from the original request |
+| `downloaded_files` | array | Files downloaded during execution |
+| `recording_url` | string \| null | Video recording of the browser session |
+| `screenshot_urls` | array \| null | Screenshots captured (latest first) |
+| `failure_reason` | string \| null | Error message if the run failed |
+| `errors` | array | List of errors encountered |
+| `step_count` | integer \| null | Number of steps executed |
+| `run_type` | string | Type of run: `task_v2`, `openai_cua`, `anthropic_cua` |
+| `app_url` | string | Link to view this run in Skyvern Cloud |
+| `organization_id` | string | Your organization ID |
+| `workflow_run_id` | string | Associated workflow run ID |
+| `workflow_id` | string | Internal workflow ID |
+| `workflow_permanent_id` | string | Permanent workflow ID used to run the workflow |
+| `proxy_location` | string | Proxy location used (e.g., `RESIDENTIAL`) |
+| `webhook_callback_url` | string | The webhook URL that received this payload |
+| `webhook_failure_reason` | string \| null | Error message if a previous webhook delivery failed (always `null` in the payload you receive) |
+| `created_at` | datetime | When the run was created |
+| `modified_at` | datetime | When the run was last updated |
+| `queued_at` | datetime \| null | When the run entered the queue |
+| `started_at` | datetime \| null | When execution began |
+| `finished_at` | datetime \| null | When execution completed |
+
+---
+
+## Optional: Verify webhook signatures
+
+Skyvern signs every webhook with your API key using HMAC-SHA256, so you can verify the request actually came from Skyvern before acting on it.
+
+**Headers sent with every webhook:**
+- `x-skyvern-signature` — HMAC-SHA256 signature of the payload
+- `x-skyvern-timestamp` — Unix timestamp when the webhook was sent
+- `Content-Type: application/json`
+
+<CodeGroup>
+```python Python
+import hmac
+import hashlib
+from fastapi import Request, HTTPException
+
+async def handle_webhook(request: Request):
+ signature = request.headers.get("x-skyvern-signature")
+ payload = await request.body()
+
+ expected = hmac.new(
+ SKYVERN_API_KEY.encode("utf-8"),
+ msg=payload,
+ digestmod=hashlib.sha256
+ ).hexdigest()
+
+ if not hmac.compare_digest(signature, expected):
+ raise HTTPException(status_code=401, detail="Invalid signature")
+
+ data = await request.json()
+ # Process the webhook...
+```
+
+```typescript TypeScript
+import crypto from "crypto";
+import express from "express";
+
+app.post("/webhook", express.raw({ type: "application/json" }), (req, res) => {
+ const signature = req.headers["x-skyvern-signature"];
+ const payload = req.body;
+
+ const expected = crypto
+ .createHmac("sha256", process.env.SKYVERN_API_KEY)
+ .update(payload)
+ .digest("hex");
+
+ // Use timing-safe comparison to prevent timing attacks
+ let valid = false;
+ try {
+ crypto.timingSafeEqual(
+ Buffer.from(signature || ''),
+ Buffer.from(expected)
+ );
+ valid = true;
+ } catch (err) {
+ valid = false;
+ }
+
+ if (!valid) {
+ return res.status(401).send("Invalid signature");
+ }
+
+ const data = JSON.parse(payload);
+ // Process the webhook...
+ res.status(200).send("OK");
+});
+```
+
+```go Go
+package main
+
+import (
+ "crypto/hmac"
+ "crypto/sha256"
+ "encoding/hex"
+ "io"
+ "net/http"
+ "os"
+)
+
+func webhookHandler(w http.ResponseWriter, r *http.Request) {
+ signature := r.Header.Get("x-skyvern-signature")
+ payload, err := io.ReadAll(r.Body)
+ if err != nil {
+ http.Error(w, "Failed to read request body", http.StatusBadRequest)
+ return
+ }
+
+ mac := hmac.New(sha256.New, []byte(os.Getenv("SKYVERN_API_KEY")))
+ mac.Write(payload)
+ expected := hex.EncodeToString(mac.Sum(nil))
+
+ if !hmac.Equal([]byte(signature), []byte(expected)) {
+ http.Error(w, "Invalid signature", http.StatusUnauthorized)
+ return
+ }
+
+ // Process the webhook...
+ w.WriteHeader(http.StatusOK)
+}
+```
+</CodeGroup>
+
+
+<Note>
+**Use constant-time comparison** to prevent timing attacks:
+- Python: `hmac.compare_digest()`
+- TypeScript: `crypto.timingSafeEqual()`
+- Go: `hmac.Equal()`
+
+Never use simple equality operators (`==` or `===`) for signature comparison as they are vulnerable to timing attacks.
+</Note>
+
+<Warning>
+**Always validate against the raw request body bytes.** Skyvern normalizes JSON before signing: it removes whitespace (using compact separators) and converts whole-number floats to integers (`3.0` becomes `3`). If you parse the JSON and re-serialize it, the byte representation will differ and signature validation will fail.
+</Warning>
+
+---
+
+## Handling webhook failures
+
+Task execution and webhook delivery are independent—a task can succeed while webhook delivery fails. When this happens, the run shows `status: "failed"` even though your data was extracted successfully.
+
+```mermaid
+graph TD
+ A["Run Finishes"] --> B{"Check status"}
+ B -->|"completed"| C["Task succeeded<br>Webhook delivered"]
+ B -->|"failed"| D{"Does failure_reason<br>mention 'webhook'?"}
+ B -->|"terminated"| E["Goal unachievable"]
+ D -->|"Yes"| F["Webhook delivery failed"]
+ D -->|"No"| G["Task execution failed"]
+ F --> H["Check output field<br>Data may still exist!"]
+ G --> I["Check failure_reason"]
+ C --> J["Process output"]
+
+ style A fill:#f8fafc,stroke:#6366F1,stroke-width:2px,color:#1e293b
+ style B fill:#f8fafc,stroke:#6366F1,stroke-width:2px,color:#1e293b
+ style C fill:#6366F1,stroke:#4F46E5,stroke-width:2px,color:#fff
+ style D fill:#fef3c7,stroke:#f59e0b,stroke-width:2px,color:#1e293b
+ style E fill:#f1f5f9,stroke:#64748b,stroke-width:2px,color:#475569
+ style F fill:#fef3c7,stroke:#f59e0b,stroke-width:2px,color:#92400e
+ style G fill:#fee2e2,stroke:#ef4444,stroke-width:2px,color:#991b1b
+ style H fill:#6366F1,stroke:#4F46E5,stroke-width:2px,color:#fff
+ style I fill:#f1f5f9,stroke:#64748b,stroke-width:2px,color:#475569
+ style J fill:#6366F1,stroke:#4F46E5,stroke-width:2px,color:#fff
+```
+
+Webhook delivery can fail due to network issues, server errors, or misconfigured URLs.
+
+When this happens, the run is marked as `failed` and the error is recorded in the `failure_reason` field. Check it by calling `get_run` after the run terminates:
+
+<CodeGroup>
+```python Python
+run = await client.get_run(run_id)
+
+if run.status == "failed" and "webhook" in (run.failure_reason or "").lower():
+ print(f"Webhook failed: {run.failure_reason}")
+ # The task may have completed successfully before webhook delivery failed
+ # Output data is still available
+ if run.output:
+ process_output(run.output)
+```
+
+```typescript TypeScript
+const run = await client.getRun(runId);
+
+if (run.status === "failed" && run.failure_reason?.toLowerCase().includes("webhook")) {
+ console.log(`Webhook failed: ${run.failure_reason}`);
+ // The task may have completed successfully before webhook delivery failed
+ // Output data is still available
+ if (run.output) {
+ processOutput(run.output);
+ }
+}
+```
+
+```bash cURL
+curl -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY"
+
+# Check status and failure_reason fields in response
+```
+</CodeGroup>
+
+The `failure_reason` field contains the specific error message, for example:
+
+```json
+{
+ "run_id": "tsk_v2_486305187432193504",
+ "status": "failed",
+ "output": {"price": "$29.99"},
+ "failure_reason": "Failed to run task 2.0: Failed to send webhook. task_v2_id=tsk_v2_486305187432193504"
+}
+```
+
+<Note>
+Even when webhook delivery fails, the task's `output` field may still contain extracted data if the browser automation completed successfully before the webhook attempt.
+</Note>
+
+**Common reasons webhooks fail:**
+
+- **Server unreachable** — Your server is down, behind a firewall, or the URL is incorrect. Verify the URL is publicly accessible (not `localhost`) and check your server logs for incoming requests.
+- **Timeout** — Skyvern waits 10 seconds for a response. If your server takes longer, the delivery is marked as failed even if processing eventually succeeds. Return `200 OK` immediately and process the payload in a background job.
+- **Server returns an error** — Your endpoint received the payload but responded with a non-2xx status code (e.g., 500). Check your server logs to identify the issue.
+- **Signature validation fails** — If your verification logic rejects the request, make sure you're validating against the raw request body, not parsed-and-re-serialized JSON (re-serializing changes the byte representation). Also verify you're using the same API key that created the run.
+
+**Recommended pattern:** Always have a fallback polling mechanism for critical workflows. If you don't receive a webhook within your expected window, call `get_run` to check if the run completed and retrieve the data directly.
+
+### Retrying webhooks
+
+Once you've identified and fixed the issue, you can replay the webhook using `retry_run_webhook`.
+
+<Note>
+Skyvern does not automatically retry failed webhooks. This is intentional—automatic retries can cause duplicate processing if your server received the payload but returned an error. You must explicitly call `retry_run_webhook` after fixing the issue.
+</Note>
+
+<CodeGroup>
+```python Python
+from skyvern.client import RetryRunWebhookRequest
+
+await client.retry_run_webhook("tsk_v2_486305187432193504")
+
+# Or send to a different URL
+await client.retry_run_webhook(
+ "tsk_v2_486305187432193504",
+ request=RetryRunWebhookRequest(webhook_url="https://your-server.com/new-webhook")
+)
+```
+
+```typescript TypeScript
+await client.retryRunWebhook("tsk_v2_486305187432193504");
+
+// Or send to a different URL
+await client.retryRunWebhook("tsk_v2_486305187432193504", {
+ webhook_url: "https://your-server.com/new-webhook",
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/runs/tsk_v2_486305187432193504/retry_webhook" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{}'
+
+# Or send to a different URL
+curl -X POST "https://api.skyvern.com/v1/runs/tsk_v2_486305187432193504/retry_webhook" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{"webhook_url": "https://your-server.com/new-webhook"}'
+```
+</CodeGroup>
+
+<Warning>
+`retry_run_webhook` is fire-and-forget—it returns immediately without waiting for delivery confirmation. To verify success, monitor your webhook endpoint directly or check the run's `failure_reason` field after a short delay.
+</Warning>
+
+<Tip>
+**Implement idempotency.** If you call `retry_run_webhook`, you may receive the same payload twice (once from the original attempt that your server processed but returned an error, and once from the retry). Use the `run_id` as an idempotency key—check if you've already processed this run before taking action.
+</Tip>
+
+You can pass a different `webhook_url` to send the payload to a new endpoint—useful if the original URL was misconfigured.
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Error Handling"
+ icon="triangle-exclamation"
+ href="/going-to-production/error-handling"
+ >
+ Handle failures and map custom error codes
+ </Card>
+ <Card
+ title="Reliability Tips"
+ icon="shield-check"
+ href="/going-to-production/reliability-tips"
+ >
+ Write robust prompts and add validation blocks
+ </Card>
+</CardGroup>
diff --git a/docs/images/skyvern-ss4-workflow.svg b/docs/images/skyvern-ss4-workflow.svg
new file mode 100644
index 000000000..82b2cbf1e
--- /dev/null
+++ b/docs/images/skyvern-ss4-workflow.svg
@@ -0,0 +1,116 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1380 500" width="1380" height="500">
+ <defs>
+ <style>
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap');
+ </style>
+ <!-- Hachure fill pattern -->
+ <pattern id="hachure" patternUnits="userSpaceOnUse" width="6" height="6" patternTransform="rotate(135)">
+ <line x1="0" y1="0" x2="0" y2="6" stroke="#5b7fff" stroke-width="0.6" opacity="0.07"/>
+ </pattern>
+ </defs>
+
+ <!-- ============ CANVAS ============ -->
+ <rect width="1380" height="500" fill="#121220"/>
+
+ <!-- ============ TITLE SECTION ============ -->
+ <text x="690" y="46" font-family="Inter, -apple-system, BlinkMacSystemFont, sans-serif" font-size="26" font-weight="700" fill="#ffffff" text-anchor="middle" letter-spacing="-0.5">IRS SS-4 Filing Workflow</text>
+ <text x="690" y="72" font-family="Inter, -apple-system, sans-serif" font-size="13" fill="#7a85b2" text-anchor="middle" font-weight="400">Automated EIN application, verification, and delivery</text>
+
+ <!-- Divider -->
+ <line x1="128" y1="92" x2="1252" y2="92" stroke="#5b7fff" stroke-opacity="0.2" stroke-width="1" stroke-dasharray="8,5"/>
+
+ <!-- ============ CARD 1: NAVIGATION ============ -->
+ <rect x="128" y="115" width="180" height="200" rx="12" fill="#1a1a38" stroke="#5b7fff" stroke-width="2"/>
+ <rect x="128" y="115" width="180" height="200" rx="12" fill="url(#hachure)"/>
+ <circle cx="218" cy="155" r="18" fill="#004bdd" stroke="#5b7fff" stroke-width="1.5"/>
+ <text x="218" y="161" font-family="Inter, sans-serif" font-size="14" font-weight="700" fill="#ffffff" text-anchor="middle">1</text>
+ <text x="218" y="202" font-family="Inter, sans-serif" font-size="16" font-weight="600" fill="#f0f2ff" text-anchor="middle">Navigation</text>
+ <line x1="152" y1="218" x2="284" y2="218" stroke="#5b7fff" stroke-opacity="0.25" stroke-width="1" stroke-dasharray="4,4"/>
+ <text font-family="Inter, sans-serif" font-size="12.5" fill="#a0a8cc" text-anchor="middle">
+ <tspan x="218" y="244">Fill out SS-4 form</tspan>
+ <tspan x="218" dy="18">with company info</tspan>
+ </text>
+
+ <!-- ====== ARROW 1→2 ====== -->
+ <path d="M 313,215 C 330,207 350,223 358,215" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round"/>
+ <path d="M 351,208 L 361,215 L 351,222" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+
+ <!-- ============ CARD 2: VALIDATION ============ -->
+ <rect x="364" y="115" width="180" height="200" rx="12" fill="#1a1a38" stroke="#5b7fff" stroke-width="2"/>
+ <rect x="364" y="115" width="180" height="200" rx="12" fill="url(#hachure)"/>
+ <circle cx="454" cy="155" r="18" fill="#004bdd" stroke="#5b7fff" stroke-width="1.5"/>
+ <text x="454" y="161" font-family="Inter, sans-serif" font-size="14" font-weight="700" fill="#ffffff" text-anchor="middle">2</text>
+ <text x="454" y="202" font-family="Inter, sans-serif" font-size="16" font-weight="600" fill="#f0f2ff" text-anchor="middle">Validation</text>
+ <line x1="388" y1="218" x2="520" y2="218" stroke="#5b7fff" stroke-opacity="0.25" stroke-width="1" stroke-dasharray="4,4"/>
+ <text font-family="Inter, sans-serif" font-size="12.5" fill="#a0a8cc" text-anchor="middle">
+ <tspan x="454" y="244">Verify the summary</tspan>
+ <tspan x="454" dy="18">is correct</tspan>
+ </text>
+
+ <!-- ====== ARROW 2→3 ====== -->
+ <path d="M 549,215 C 566,223 586,207 594,215" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round"/>
+ <path d="M 587,208 L 597,215 L 587,222" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+
+ <!-- ============ CARD 3: EXTRACTION ============ -->
+ <rect x="600" y="115" width="180" height="200" rx="12" fill="#1a1a38" stroke="#5b7fff" stroke-width="2"/>
+ <rect x="600" y="115" width="180" height="200" rx="12" fill="url(#hachure)"/>
+ <circle cx="690" cy="155" r="18" fill="#004bdd" stroke="#5b7fff" stroke-width="1.5"/>
+ <text x="690" y="161" font-family="Inter, sans-serif" font-size="14" font-weight="700" fill="#ffffff" text-anchor="middle">3</text>
+ <text x="690" y="202" font-family="Inter, sans-serif" font-size="16" font-weight="600" fill="#f0f2ff" text-anchor="middle">Extraction</text>
+ <line x1="624" y1="218" x2="756" y2="218" stroke="#5b7fff" stroke-opacity="0.25" stroke-width="1" stroke-dasharray="4,4"/>
+ <text font-family="Inter, sans-serif" font-size="12.5" fill="#a0a8cc" text-anchor="middle">
+ <tspan x="690" y="244">Extract the assigned</tspan>
+ <tspan x="690" dy="18">EIN and legal name</tspan>
+ </text>
+
+ <!-- ====== ARROW 3→4 ====== -->
+ <path d="M 785,215 C 802,208 822,222 830,215" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round"/>
+ <path d="M 823,208 L 833,215 L 823,222" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+
+ <!-- ============ CARD 4: FILE DOWNLOAD ============ -->
+ <rect x="836" y="115" width="180" height="200" rx="12" fill="#1a1a38" stroke="#5b7fff" stroke-width="2"/>
+ <rect x="836" y="115" width="180" height="200" rx="12" fill="url(#hachure)"/>
+ <circle cx="926" cy="155" r="18" fill="#004bdd" stroke="#5b7fff" stroke-width="1.5"/>
+ <text x="926" y="161" font-family="Inter, sans-serif" font-size="14" font-weight="700" fill="#ffffff" text-anchor="middle">4</text>
+ <text x="926" y="202" font-family="Inter, sans-serif" font-size="16" font-weight="600" fill="#f0f2ff" text-anchor="middle">File Download</text>
+ <line x1="860" y1="218" x2="992" y2="218" stroke="#5b7fff" stroke-opacity="0.25" stroke-width="1" stroke-dasharray="4,4"/>
+ <text font-family="Inter, sans-serif" font-size="12.5" fill="#a0a8cc" text-anchor="middle">
+ <tspan x="926" y="244">Download confirmation</tspan>
+ <tspan x="926" dy="18">letter PDF</tspan>
+ </text>
+
+ <!-- ====== ARROW 4→5 ====== -->
+ <path d="M 1021,215 C 1038,222 1058,208 1066,215" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round"/>
+ <path d="M 1059,208 L 1069,215 L 1059,222" fill="none" stroke="#5b7fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+
+ <!-- ============ CARD 5: SEND EMAIL ============ -->
+ <rect x="1072" y="115" width="180" height="200" rx="12" fill="#1a1a38" stroke="#5b7fff" stroke-width="2"/>
+ <rect x="1072" y="115" width="180" height="200" rx="12" fill="url(#hachure)"/>
+ <circle cx="1162" cy="155" r="18" fill="#004bdd" stroke="#5b7fff" stroke-width="1.5"/>
+ <text x="1162" y="161" font-family="Inter, sans-serif" font-size="14" font-weight="700" fill="#ffffff" text-anchor="middle">5</text>
+ <text x="1162" y="202" font-family="Inter, sans-serif" font-size="16" font-weight="600" fill="#f0f2ff" text-anchor="middle">Send Email</text>
+ <line x1="1096" y1="218" x2="1228" y2="218" stroke="#5b7fff" stroke-opacity="0.25" stroke-width="1" stroke-dasharray="4,4"/>
+ <text font-family="Inter, sans-serif" font-size="12.5" fill="#a0a8cc" text-anchor="middle">
+ <tspan x="1162" y="244">Email the letter to</tspan>
+ <tspan x="1162" dy="18">[email protected]</tspan>
+ </text>
+
+ <!-- ============ INPUT / OUTPUT SECTION ============ -->
+ <!-- Input box -->
+ <rect x="128" y="345" width="540" height="70" rx="10" fill="#14142a" stroke="#5b7fff" stroke-width="1.5" stroke-opacity="0.35" stroke-dasharray="6,4"/>
+ <text x="152" y="374" font-family="Inter, sans-serif" font-size="11" font-weight="600" fill="#5b7fff" letter-spacing="1.2">INPUT</text>
+ <rect x="152" y="385" width="72" height="22" rx="6" fill="#5b7fff" fill-opacity="0.1" stroke="#5b7fff" stroke-width="1" stroke-opacity="0.2"/>
+ <text x="188" y="400" font-family="SF Mono, Fira Code, Consolas, monospace" font-size="11" fill="#dee1ff" text-anchor="middle">ein_info</text>
+ <rect x="234" y="385" width="112" height="22" rx="6" fill="#5b7fff" fill-opacity="0.1" stroke="#5b7fff" stroke-width="1" stroke-opacity="0.2"/>
+ <text x="290" y="400" font-family="SF Mono, Fira Code, Consolas, monospace" font-size="11" fill="#dee1ff" text-anchor="middle">company_name</text>
+ <rect x="356" y="385" width="138" height="22" rx="6" fill="#5b7fff" fill-opacity="0.1" stroke="#5b7fff" stroke-width="1" stroke-opacity="0.2"/>
+ <text x="425" y="400" font-family="SF Mono, Fira Code, Consolas, monospace" font-size="11" fill="#dee1ff" text-anchor="middle">responsible_party</text>
+
+ <!-- Output box -->
+ <rect x="688" y="345" width="564" height="70" rx="10" fill="#14142a" stroke="#5b7fff" stroke-width="1.5" stroke-opacity="0.35" stroke-dasharray="6,4"/>
+ <text x="712" y="374" font-family="Inter, sans-serif" font-size="11" font-weight="600" fill="#5b7fff" letter-spacing="1.2">OUTPUT</text>
+ <text x="712" y="400" font-family="Inter, sans-serif" font-size="13" fill="#a0a8cc">EIN confirmation letter emailed to recipient</text>
+
+ <!-- ============ FOOTER ============ -->
+ <text x="690" y="465" font-family="Inter, sans-serif" font-size="12" font-weight="500" fill="#5b7fff" opacity="0.3" text-anchor="middle" letter-spacing="0.5">Powered by Skyvern</text>
+</svg>
diff --git a/docs/multi-step-automations/build-a-workflow.mdx b/docs/multi-step-automations/build-a-workflow.mdx
new file mode 100644
index 000000000..e58b7acb9
--- /dev/null
+++ b/docs/multi-step-automations/build-a-workflow.mdx
@@ -0,0 +1,1115 @@
+---
+title: Build a Workflow
+subtitle: Create, run, and test multi-step automations
+slug: multi-step-automations/build-a-workflow
+---
+
+A **Workflow** chains multiple automation steps into a reusable template. While a Task handles a single goal on one page, a Workflow orchestrates an entire process: filling forms, validating data, downloading files, and sending results.
+
+You define the workflow once with blocks, then run it with different parameters each time.
+
+---
+
+## Tasks vs Workflows
+
+| Characteristic | Tasks | Workflows |
+|----------------|-------|-----------|
+| **Structure** | Single prompt, one execution | Multiple blocks in sequence |
+| **Scope** | Single goal, usually one page | Multi-step process across pages |
+| **Reusability** | Run ad-hoc or scheduled | Define once, run with different parameters |
+| **Parameterization** | Basic (prompt, URL, extraction schema) | Rich (input parameters, block outputs, Jinja templates) |
+| **Control Flow** | Linear | Loops, conditionals, validation gates |
+| **Data Passing** | Output returned at the end | Each block can pass data to subsequent blocks |
+| **Composition** | Single AI agent execution | Combine navigation, extraction, files, notifications |
+| **File Operations** | Download files during task | Download, parse, upload, email files across blocks |
+| **Best For** | Prototyping, simple extractions, one-offs | Production automations, bulk processing, complex logic |
+| **Run ID Format** | `tsk_*` | `wr_*` |
+
+---
+
+## Workflow structure
+
+A workflow is defined as an ordered list of **blocks**. Blocks execute one after another, and each block can access the outputs of previous blocks.
+
+Here's an IRS EIN registration workflow that fills out a government form, validates the summary, extracts the result, downloads the confirmation letter, and emails it to your team:
+
+<Frame>
+ <img src="/images/skyvern-ss4-workflow.svg" alt="IRS SS-4 Filing Workflow: Navigation → Validation → Extraction → File Download → Send Email" />
+</Frame>
+
+Here's what each block does in this workflow:
+
+- **Navigation** takes the company information from `ein_info` and fills out the multi-page SS-4 form until it reaches the review page
+- **Validation** checks that the form summary matches the provided information and either continues (if correct) or terminates the workflow (if incorrect)
+- **Extraction** pulls the assigned EIN number and legal name from the confirmation page into structured JSON output
+- **File Download** navigates to and downloads the EIN confirmation letter as a PDF file
+- **Send Email** attaches the downloaded PDF and sends it to the specified recipients with company details in the email body
+
+<Info>
+For detailed documentation on all available block types and their parameters, see [Workflow Blocks Reference](/multi-step-automations/workflow-blocks-reference).
+</Info>
+
+---
+
+## Step 1: Understand the structure
+
+A workflow definition has two parts: **parameters** (the inputs) and **blocks** (the steps). Here's the complete shape:
+
+```yaml
+title: Job Application Workflow # Display name
+workflow_definition:
+ parameters: # ← Inputs: change per run (Step 2)
+ - key: job_url
+ parameter_type: workflow
+ workflow_parameter_type: string
+
+ blocks: # ← Steps: execute in order (Step 3)
+ - label: apply_to_job
+ block_type: navigation
+ url: "{{ job_url }}"
+ navigation_goal: Fill out the job application form
+```
+
+You send this definition to the API to create a reusable workflow:
+
+```python
+workflow = await client.create_workflow(
+ json_definition={ # ← or yaml_definition="..."
+ "title": "...",
+ "workflow_definition": {
+ "parameters": [...], # Step 2
+ "blocks": [...] # Step 3
+ }
+ }
+)
+```
+
+The rest of this guide walks through each part, then shows the full API calls for creating, running, and monitoring workflows.
+
+---
+
+## Step 2: Define parameters
+
+The `parameters` array (inside `workflow_definition`) defines the inputs your workflow accepts. Instead of hardcoding a resume URL or job page into the workflow definition, you define named inputs that accept different values each time the workflow runs.
+
+Each parameter needs three fields:
+- `key` — the name you reference later with `{{ key }}`
+- `parameter_type` — always `"workflow"` for input parameters
+- `workflow_parameter_type` — the data type (`string`, `file_url`, `json`, etc.)
+
+<CodeGroup>
+```json JSON
+{
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ]
+}
+```
+
+```yaml YAML
+parameters:
+ - key: resume
+ parameter_type: workflow
+ workflow_parameter_type: file_url
+ - key: job_url
+ parameter_type: workflow
+ workflow_parameter_type: string
+```
+</CodeGroup>
+
+This defines two inputs: a `resume` file and a `job_url` string. When you run the workflow later, you pass actual values for these parameters.
+
+**Available parameter types:**
+
+| Type | Description | Example value |
+|------|-------------|---------------|
+| `string` | Text | `"John Smith"` |
+| `integer` | Whole number | `42` |
+| `float` | Decimal number | `99.99` |
+| `boolean` | True or false | `true` |
+| `json` | JSON object or array | `{"key": "value"}` |
+| `file_url` | URL to a file | `"https://example.com/resume.pdf"` |
+| `credential_id` | Reference to a stored credential | `"cred_abc123"` |
+
+For the full parameter reference, see [Workflow Parameters](/multi-step-automations/workflow-parameters).
+
+---
+
+## Step 3: Define blocks
+
+The `blocks` array (inside `workflow_definition`) defines the steps your workflow executes. Each block has a `block_type` that determines what it does: navigate a page, extract data, download a file, send an email.
+
+Every block needs two fields: a `label` (a unique name) and a `block_type`. The remaining fields depend on the block type.
+
+<CodeGroup>
+```json JSON
+{
+ "blocks": [
+ {
+ "label": "parse_resume",
+ "block_type": "file_url_parser",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "label": "apply_to_job",
+ "block_type": "navigation",
+ "url": "{{ job_url }}",
+ "navigation_goal": "Fill out the job application form using the candidate's information."
+ }
+ ]
+}
+```
+
+```yaml YAML
+blocks:
+ - label: parse_resume
+ block_type: file_url_parser
+ file_url: "{{ resume }}"
+ file_type: pdf
+
+ - label: apply_to_job
+ block_type: navigation
+ url: "{{ job_url }}"
+ navigation_goal: Fill out the job application form using the candidate's information.
+```
+</CodeGroup>
+
+The first block (`parse_resume`) parses the resume file passed as an input parameter. The second block (`apply_to_job`) navigates to the job page and fills out the application.
+
+Notice `{{ resume }}` and `{{ job_url }}` — double curly braces reference the input parameters you defined in Step 2. Skyvern replaces these with actual values when the workflow runs.
+
+<Info>
+Skyvern supports 23 block types: navigation, extraction, validation, file download, for loops, conditionals, and more. See [Workflow Blocks Reference](/multi-step-automations/workflow-blocks-reference) for the full list.
+</Info>
+
+---
+
+## Step 4: Pass data between blocks
+
+When a block completes, its output becomes available to subsequent blocks. This is how you chain steps together: one block extracts data, the next block uses it.
+
+Reference a block's output with `{{ label_output }}` — the block's `label` followed by `_output`. Access nested fields with dot notation: `{{ parse_resume_output.name }}`.
+
+Here, the `apply_to_job` block uses specific fields from the `parse_resume` block's output:
+
+<CodeGroup>
+```json JSON
+{
+ "blocks": [
+ {
+ "label": "parse_resume",
+ "block_type": "file_url_parser",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "label": "apply_to_job",
+ "block_type": "navigation",
+ "url": "{{ job_url }}",
+ "navigation_goal": "Fill out the job application form.\n\nUse this information:\n- Name: {{ parse_resume_output.name }}\n- Email: {{ parse_resume_output.email }}\n- Experience: {{ parse_resume_output.work_experience }}"
+ }
+ ]
+}
+```
+
+```yaml YAML
+blocks:
+ - label: parse_resume
+ block_type: file_url_parser
+ file_url: "{{ resume }}"
+ file_type: pdf
+
+ - label: apply_to_job
+ block_type: navigation
+ url: "{{ job_url }}"
+ navigation_goal: |
+ Fill out the job application form.
+
+ Use this information:
+ - Name: {{ parse_resume_output.name }}
+ - Email: {{ parse_resume_output.email }}
+ - Experience: {{ parse_resume_output.work_experience }}
+```
+</CodeGroup>
+
+`{{ parse_resume_output.name }}`, `{{ parse_resume_output.email }}`, and `{{ parse_resume_output.work_experience }}` are fields from the structured data the `parse_resume` block extracted from the PDF.
+
+### Looping over output data
+
+When a block produces a list, use a `for_loop` block to process each item. Set `loop_over_parameter_key` to the output field containing the array, and reference the current item with `{{ loop_block_label.current_value }}`.
+
+<CodeGroup>
+```json JSON
+{
+ "blocks": [
+ {
+ "label": "extract_orders",
+ "block_type": "extraction",
+ "url": "https://example.com/orders",
+ "data_extraction_goal": "Extract all order IDs from the page",
+ "data_schema": {
+ "type": "object",
+ "properties": {
+ "order_ids": {
+ "type": "array",
+ "items": { "type": "string" }
+ }
+ }
+ }
+ },
+ {
+ "label": "download_invoices",
+ "block_type": "for_loop",
+ "loop_over_parameter_key": "extract_orders_output.order_ids",
+ "loop_blocks": [
+ {
+ "label": "download_invoice",
+ "block_type": "file_download",
+ "url": "https://example.com/invoice/{{ download_invoice.current_value }}",
+ "navigation_goal": "Download the invoice PDF"
+ }
+ ]
+ }
+ ]
+}
+```
+
+```yaml YAML
+blocks:
+ - label: extract_orders
+ block_type: extraction
+ url: "https://example.com/orders"
+ data_extraction_goal: Extract all order IDs from the page
+ data_schema:
+ type: object
+ properties:
+ order_ids:
+ type: array
+ items:
+ type: string
+
+ - label: download_invoices
+ block_type: for_loop
+ loop_over_parameter_key: extract_orders_output.order_ids
+ loop_blocks:
+ - label: download_invoice
+ block_type: file_download
+ url: "https://example.com/invoice/{{ download_invoice.current_value }}"
+ navigation_goal: Download the invoice PDF
+```
+</CodeGroup>
+
+The `for_loop` iterates over the `order_ids` array from the extraction block. Inside the loop, `{{ download_invoice.current_value }}` contains one order ID per iteration.
+
+---
+
+## Step 5: Create the workflow
+
+Send the complete workflow definition to the API. Skyvern validates the parameters, blocks, and template references, then returns a `workflow_permanent_id` you use to run the workflow.
+
+The API accepts two formats: pass a JSON object via `json_definition`, or pass a YAML string via `yaml_definition`.
+
+### Using JSON
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "label": "parse_resume",
+ "block_type": "file_url_parser",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "label": "apply_to_job",
+ "block_type": "navigation",
+ "url": "{{ job_url }}",
+ "navigation_goal": (
+ "Fill out the job application form.\n\n"
+ "Use this information:\n"
+ "{{ parse_resume_output }}"
+ )
+ }
+ ]
+ }
+ }
+ )
+
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Job Application Workflow",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "resume",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ },
+ {
+ key: "job_url",
+ parameter_type: "workflow",
+ workflow_parameter_type: "string",
+ },
+ ],
+ blocks: [
+ {
+ label: "parse_resume",
+ block_type: "file_url_parser",
+ file_url: "{{ resume }}",
+ file_type: "pdf",
+ },
+ {
+ label: "apply_to_job",
+ block_type: "navigation",
+ url: "{{ job_url }}",
+ navigation_goal: [
+ "Fill out the job application form.",
+ "",
+ "Use this information:",
+ "{{ parse_resume_output }}",
+ ].join("\n"),
+ },
+ ],
+ },
+ },
+ },
+ });
+
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+}
+
+main();
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "label": "parse_resume",
+ "block_type": "file_url_parser",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "label": "apply_to_job",
+ "block_type": "navigation",
+ "url": "{{ job_url }}",
+ "navigation_goal": "Fill out the job application form.\n\nUse this information:\n{{ parse_resume_output }}"
+ }
+ ]
+ }
+ }
+ }'
+```
+</CodeGroup>
+
+### Using YAML
+
+Pass the same definition as a YAML string via `yaml_definition`. This is useful when you store workflow definitions in `.yaml` files.
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ yaml_definition="""\
+title: Job Application Workflow
+workflow_definition:
+ parameters:
+ - key: resume
+ parameter_type: workflow
+ workflow_parameter_type: file_url
+ - key: job_url
+ parameter_type: workflow
+ workflow_parameter_type: string
+ blocks:
+ - label: parse_resume
+ block_type: file_url_parser
+ file_url: "{{ resume }}"
+ file_type: pdf
+ - label: apply_to_job
+ block_type: navigation
+ url: "{{ job_url }}"
+ navigation_goal: |
+ Fill out the job application form.
+
+ Use this information:
+ {{ parse_resume_output }}
+"""
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ yaml_definition: `
+title: Job Application Workflow
+workflow_definition:
+ parameters:
+ - key: resume
+ parameter_type: workflow
+ workflow_parameter_type: file_url
+ - key: job_url
+ parameter_type: workflow
+ workflow_parameter_type: string
+ blocks:
+ - label: parse_resume
+ block_type: file_url_parser
+ file_url: "{{ resume }}"
+ file_type: pdf
+ - label: apply_to_job
+ block_type: navigation
+ url: "{{ job_url }}"
+ navigation_goal: |
+ Fill out the job application form.
+
+ Use this information:
+ {{ parse_resume_output }}
+`.trim(),
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "yaml_definition": "title: Job Application Workflow\nworkflow_definition:\n parameters:\n - key: resume\n parameter_type: workflow\n workflow_parameter_type: file_url\n - key: job_url\n parameter_type: workflow\n workflow_parameter_type: string\n blocks:\n - label: parse_resume\n block_type: file_url_parser\n file_url: \"{{ resume }}\"\n file_type: pdf\n - label: apply_to_job\n block_type: navigation\n url: \"{{ job_url }}\"\n navigation_goal: \"Fill out the job application form.\\n\\nUse this information:\\n{{ parse_resume_output }}\"\n"
+ }'
+```
+</CodeGroup>
+
+<Tip>
+To load from a file: `await client.create_workflow(yaml_definition=open("workflow.yaml").read())`
+</Tip>
+
+**Example response:**
+
+```json
+{
+ "workflow_permanent_id": "wpid_123456789",
+ "workflow_id": "wf_987654321",
+ "version": 1,
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [...],
+ "blocks": [...]
+ },
+ "created_at": "2026-01-20T12:00:00.000000",
+ "modified_at": "2026-01-20T12:00:00.000000"
+}
+```
+
+Save the `workflow_permanent_id` — you need it to run the workflow.
+
+---
+
+## Step 6: Run the workflow
+
+Pass values for the parameters you defined in Step 2. The call returns immediately with a `run_id` — the workflow runs asynchronously in the background.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={
+ "resume": "https://example.com/resume.pdf",
+ "job_url": "https://jobs.lever.co/company/position"
+ }
+)
+
+print(f"Run ID: {run.run_id}")
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {
+ resume: "https://example.com/resume.pdf",
+ job_url: "https://jobs.lever.co/company/position",
+ },
+ },
+});
+
+console.log(`Run ID: ${run.run_id}`);
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {
+ "resume": "https://example.com/resume.pdf",
+ "job_url": "https://jobs.lever.co/company/position"
+ }
+ }'
+```
+</CodeGroup>
+
+**Example response:**
+
+```json
+{
+ "run_id": "wr_486305187432193510",
+ "status": "created"
+}
+```
+
+The response includes a `run_id`. Use this ID to check status and fetch results.
+
+---
+
+## Step 7: Get results
+
+Workflows run asynchronously, so you need to check back for results. You have two options: poll the API, or receive a webhook when the workflow completes.
+
+### Option 1: Polling
+
+Poll `get_run` until the status reaches a terminal state.
+
+<CodeGroup>
+```python Python
+run_id = run.run_id
+
+while True:
+ result = await client.get_run(run_id)
+
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+
+ await asyncio.sleep(5)
+
+print(f"Status: {result.status}")
+print(f"Output: {result.output}")
+```
+
+```typescript TypeScript
+const runId = run.run_id;
+
+while (true) {
+ const result = await client.getRun(runId);
+
+ if (["completed", "failed", "terminated", "timed_out", "canceled"].includes(result.status)) {
+ console.log(`Status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output)}`);
+ break;
+ }
+
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+}
+```
+
+```bash cURL
+#!/bin/bash
+RUN_ID="wr_486305187432193510"
+
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+
+ sleep 5
+done
+```
+</CodeGroup>
+
+### Option 2: Webhooks
+
+Pass a `webhook_url` when running the workflow. Skyvern sends a POST request to your URL when the workflow reaches a terminal state.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={
+ "resume": "https://example.com/resume.pdf",
+ "job_url": "https://jobs.lever.co/company/position"
+ },
+ webhook_url="https://your-server.com/webhook"
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {
+ resume: "https://example.com/resume.pdf",
+ job_url: "https://jobs.lever.co/company/position",
+ },
+ webhook_url: "https://your-server.com/webhook",
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {
+ "resume": "https://example.com/resume.pdf",
+ "job_url": "https://jobs.lever.co/company/position"
+ },
+ "webhook_url": "https://your-server.com/webhook"
+ }'
+```
+</CodeGroup>
+
+The webhook payload contains the same data as the polling response. See [Webhooks](/going-to-production/webhooks) for authentication and retry options.
+
+---
+
+## Understand the response
+
+The response from polling contains the workflow run status and output from each block.
+
+```json
+{
+ "run_id": "wr_486305187432193510",
+ "run_type": "workflow_run",
+ "status": "completed",
+ "output": {
+ "parse_resume_output": {
+ "name": "John Smith",
+ "email": "[email protected]",
+ "work_experience": [...]
+ },
+ "apply_to_job_output": {
+ "task_id": "tsk_123456",
+ "status": "completed",
+ "extracted_information": null
+ }
+ },
+ "screenshot_urls": [
+ "https://skyvern-artifacts.s3.amazonaws.com/.../screenshot_final.png"
+ ],
+ "recording_url": "https://skyvern-artifacts.s3.amazonaws.com/.../recording.webm",
+ "failure_reason": null,
+ "created_at": "2026-01-20T12:00:00.000000",
+ "modified_at": "2026-01-20T12:05:00.000000"
+}
+```
+
+**Response fields:**
+
+| Field | Type | Description |
+|-------|------|-------------|
+| `run_id` | string | Unique identifier for this run (format: `wr_*`) |
+| `run_type` | string | Always `"workflow_run"` for workflow runs |
+| `status` | string | Current status: `created`, `queued`, `running`, `completed`, `failed`, `terminated`, `timed_out`, `canceled` |
+| `output` | object | Output from each block, keyed by `{label}_output` |
+| `screenshot_urls` | array | Final screenshots from the last blocks |
+| `recording_url` | string | Video recording of the browser session |
+| `failure_reason` | string \| null | Error description if the run failed |
+| `downloaded_files` | array | Files downloaded during the run |
+| `created_at` | datetime | When the run started |
+| `modified_at` | datetime | When the run was last updated |
+
+### Block outputs
+
+Each block's output appears in the `output` object with the key `{label}_output`. The structure depends on the block type:
+
+**Navigation/Action blocks:**
+```json
+{
+ "apply_to_job_output": {
+ "task_id": "tsk_123456",
+ "status": "completed",
+ "extracted_information": null,
+ "failure_reason": null
+ }
+}
+```
+
+**Extraction blocks:**
+```json
+{
+ "extract_data_output": {
+ "product_name": "Widget Pro",
+ "price": 99.99,
+ "in_stock": true
+ }
+}
+```
+
+**For Loop blocks:**
+```json
+{
+ "download_invoices_output": [
+ { "task_id": "tsk_111", "status": "completed" },
+ { "task_id": "tsk_222", "status": "completed" },
+ { "task_id": "tsk_333", "status": "completed" }
+ ]
+}
+```
+
+---
+
+## Complete example
+
+This script creates a job application workflow, runs it, and polls until completion. Copy and run it to get started.
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "label": "parse_resume",
+ "block_type": "file_url_parser",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "label": "apply_to_job",
+ "block_type": "navigation",
+ "url": "{{ job_url }}",
+ "navigation_goal": (
+ "Fill out the job application form.\n\n"
+ "Use this information:\n"
+ "{{ parse_resume_output }}"
+ )
+ }
+ ]
+ }
+ }
+ )
+ print(f"Created workflow: {workflow.workflow_permanent_id}")
+
+ # Run the workflow
+ run = await client.run_workflow(
+ workflow_id=workflow.workflow_permanent_id,
+ parameters={
+ "resume": "https://example.com/resume.pdf",
+ "job_url": "https://jobs.lever.co/company/position"
+ }
+ )
+ print(f"Started run: {run.run_id}")
+
+ # Poll for results
+ while True:
+ result = await client.get_run(run.run_id)
+
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Job Application Workflow",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "resume",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ },
+ {
+ key: "job_url",
+ parameter_type: "workflow",
+ workflow_parameter_type: "string",
+ },
+ ],
+ blocks: [
+ {
+ label: "parse_resume",
+ block_type: "file_url_parser",
+ file_url: "{{ resume }}",
+ file_type: "pdf",
+ },
+ {
+ label: "apply_to_job",
+ block_type: "navigation",
+ url: "{{ job_url }}",
+ navigation_goal: [
+ "Fill out the job application form.",
+ "",
+ "Use this information:",
+ "{{ parse_resume_output }}",
+ ].join("\n"),
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Created workflow: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow
+ const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ parameters: {
+ resume: "https://example.com/resume.pdf",
+ job_url: "https://jobs.lever.co/company/position",
+ },
+ },
+ });
+ console.log(`Started run: ${run.run_id}`);
+
+ // Poll for results
+ while (true) {
+ const result = await client.getRun(run.run_id);
+
+ if (["completed", "failed", "terminated", "timed_out", "canceled"].includes(result.status)) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+#!/bin/bash
+
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "label": "parse_resume",
+ "block_type": "file_url_parser",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "label": "apply_to_job",
+ "block_type": "navigation",
+ "url": "{{ job_url }}",
+ "navigation_goal": "Fill out the job application form.\n\nUse this information:\n{{ parse_resume_output }}"
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Created workflow: $WORKFLOW_ID"
+
+# Run the workflow
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"workflow_id\": \"$WORKFLOW_ID\",
+ \"parameters\": {
+ \"resume\": \"https://example.com/resume.pdf\",
+ \"job_url\": \"https://jobs.lever.co/company/position\"
+ }
+ }")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Started run: $RUN_ID"
+
+# Poll for results
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+
+ sleep 5
+done
+```
+</CodeGroup>
+
+---
+
+## List your workflows
+
+Retrieve all workflows in your organization.
+
+<CodeGroup>
+```python Python
+workflows = await client.get_workflows()
+
+for workflow in workflows:
+ print(f"{workflow.workflow_permanent_id}: {workflow.title}")
+```
+
+```typescript TypeScript
+const workflows = await client.getWorkflows();
+
+for (const workflow of workflows) {
+ console.log(`${workflow.workflow_permanent_id}: ${workflow.title}`);
+}
+```
+
+```bash cURL
+curl -X GET "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY"
+```
+</CodeGroup>
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Workflow Blocks Reference"
+ icon="cube"
+ href="/multi-step-automations/workflow-blocks-reference"
+ >
+ Detailed documentation for all 23 block types
+ </Card>
+ <Card
+ title="Workflow Parameters"
+ icon="sliders"
+ href="/multi-step-automations/workflow-parameters"
+ >
+ Configure proxies, webhooks, and other run options
+ </Card>
+ <Card
+ title="File Operations"
+ icon="file"
+ href="/multi-step-automations/file-operations"
+ >
+ Download, parse, and upload files in workflows
+ </Card>
+</CardGroup>
diff --git a/docs/multi-step-automations/file-operations.mdx b/docs/multi-step-automations/file-operations.mdx
new file mode 100644
index 000000000..e5941ddb0
--- /dev/null
+++ b/docs/multi-step-automations/file-operations.mdx
@@ -0,0 +1,2074 @@
+---
+title: File Operations
+subtitle: Download, parse, and upload files in workflows
+slug: multi-step-automations/file-operations
+---
+
+Workflows often need to handle files: downloading invoices, parsing spreadsheets, uploading documents to storage. This page covers the four core file operations: downloading, parsing, saving, and passing files between blocks.
+
+<Info>
+This page uses workflow template syntax (`{{ parameter }}`, `{{ label_output }}`) and assumes familiarity with blocks. See [Build a Workflow](/multi-step-automations/build-a-workflow) for an introduction.
+</Info>
+
+---
+
+## Downloading files
+
+When your workflow needs to retrieve documents from a website — invoices from a vendor portal, confirmation letters after form submission, compliance certificates — use `file_download`. Downloaded files land in `SKYVERN_DOWNLOAD_DIRECTORY`, a temporary directory created for each workflow run. Every file downloaded during a run accumulates here, and you can reference this directory in later blocks to upload or email the files.
+
+### Downloading a single file
+
+Say you've just filed an SS-4 form on the IRS website and need to grab the EIN confirmation letter. The `file_download` block navigates the page and triggers the download:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Download EIN Letter",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "file_download",
+ "label": "download_ein_letter",
+ "url": "https://sa.www4.irs.gov/modiein/individual/index.jsp",
+ "navigation_goal": (
+ "Find and download the EIN confirmation letter PDF. "
+ "Look for a Download or Print button. "
+ "COMPLETE when the download starts."
+ ),
+ "download_suffix": "ein_confirmation.pdf"
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow
+ run = await client.run_workflow(workflow_id=workflow.workflow_permanent_id)
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Download EIN Letter",
+ workflow_definition: {
+ parameters: [],
+ blocks: [
+ {
+ block_type: "file_download",
+ label: "download_ein_letter",
+ url: "https://sa.www4.irs.gov/modiein/individual/index.jsp",
+ navigation_goal: [
+ "Find and download the EIN confirmation letter PDF.",
+ "Look for a Download or Print button.",
+ "COMPLETE when the download starts.",
+ ].join(" "),
+ download_suffix: "ein_confirmation.pdf",
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow
+ const run = await client.runWorkflow({
+ body: { workflow_id: workflow.workflow_permanent_id },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Download EIN Letter",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "file_download",
+ "label": "download_ein_letter",
+ "url": "https://sa.www4.irs.gov/modiein/individual/index.jsp",
+ "navigation_goal": "Find and download the EIN confirmation letter PDF. Look for a Download or Print button. COMPLETE when the download starts.",
+ "download_suffix": "ein_confirmation.pdf"
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{\"workflow_id\": \"$WORKFLOW_ID\"}")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+Three fields drive this block:
+
+- **`navigation_goal`** tells Skyvern what to do on the page — find the download button, click it, and mark the task complete when the download starts. Write this the way you'd explain the task to a colleague looking at the screen.
+- **`download_suffix`** names the downloaded file. Without it, you'd get a generic filename. Use a descriptive suffix so you can identify the file later when you upload or email it.
+- **`url`** sets the starting page. If your previous block already navigated to the right page, omit `url` and the download block continues from there.
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| `navigation_goal` | string | Describe how to find and click the download button |
+| `url` | string | Set the starting page (omit to continue from previous block) |
+| `download_suffix` | string | Set the filename for the downloaded file |
+| `download_timeout` | number | Allow more time for large files (in seconds) |
+| `parameter_keys` | array | List workflow parameters this block can access |
+| `max_retries` | integer | Retry the block on failure |
+| `max_steps_per_run` | integer | Limit how many actions the block can take |
+| `engine` | string | Set the AI engine (`skyvern-1.0` or `skyvern-2.0`) |
+
+For the full parameter list, see [File Download](/multi-step-automations/workflow-blocks-reference#file-download) in the blocks reference.
+
+### Downloading multiple files
+
+When you need to download a batch of files — say, all monthly invoices from a vendor portal — pair a `for_loop` with `file_download`. A prior block (like an extraction) returns a list of URLs, and the loop downloads each one.
+
+Here, `get_invoices` is an extraction block that scrapes invoice URLs from the portal. The loop iterates over its output and downloads each one:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Download All Invoices",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "portal_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "extraction",
+ "label": "get_invoices",
+ "url": "{{ portal_url }}",
+ "data_extraction_goal": "Extract all invoice download URLs from this page"
+ },
+ {
+ "block_type": "for_loop",
+ "label": "download_all_invoices",
+ "loop_over_parameter_key": "get_invoices_output",
+ "continue_on_failure": True,
+ "loop_blocks": [
+ {
+ "block_type": "file_download",
+ "label": "download_invoice",
+ "url": "{{ download_invoice.current_value }}",
+ "navigation_goal": "Download the invoice PDF from this page"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow with parameters
+ run = await client.run_workflow(
+ workflow_id=workflow.workflow_permanent_id,
+ parameters={"portal_url": "https://vendor.example.com/invoices"}
+ )
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Download All Invoices",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "portal_url",
+ parameter_type: "workflow",
+ workflow_parameter_type: "string",
+ },
+ ],
+ blocks: [
+ {
+ block_type: "extraction",
+ label: "get_invoices",
+ url: "{{ portal_url }}",
+ data_extraction_goal:
+ "Extract all invoice download URLs from this page",
+ },
+ {
+ block_type: "for_loop",
+ label: "download_all_invoices",
+ loop_over_parameter_key: "get_invoices_output",
+ continue_on_failure: true,
+ loop_blocks: [
+ {
+ block_type: "file_download",
+ label: "download_invoice",
+ url: "{{ download_invoice.current_value }}",
+ navigation_goal: "Download the invoice PDF from this page",
+ },
+ ],
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow with parameters
+ const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ parameters: { portal_url: "https://vendor.example.com/invoices" },
+ },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Download All Invoices",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "portal_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "extraction",
+ "label": "get_invoices",
+ "url": "{{ portal_url }}",
+ "data_extraction_goal": "Extract all invoice download URLs from this page"
+ },
+ {
+ "block_type": "for_loop",
+ "label": "download_all_invoices",
+ "loop_over_parameter_key": "get_invoices_output",
+ "continue_on_failure": true,
+ "loop_blocks": [
+ {
+ "block_type": "file_download",
+ "label": "download_invoice",
+ "url": "{{ download_invoice.current_value }}",
+ "navigation_goal": "Download the invoice PDF from this page"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow with parameters
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"workflow_id\": \"$WORKFLOW_ID\",
+ \"parameters\": {
+ \"portal_url\": \"https://vendor.example.com/invoices\"
+ }
+ }")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+- **`loop_over_parameter_key`** points to the output of the prior extraction block (`get_invoices_output`).
+- **`{{ download_invoice.current_value }}`** gives you one URL per iteration — the inner block's label (`download_invoice`) followed by `.current_value`.
+- **`continue_on_failure: true`** on the loop means a single failed download won't stop the rest. All successful downloads still land in `SKYVERN_DOWNLOAD_DIRECTORY`.
+
+<Note>
+If a download fails, the block fails. Set `continue_on_failure: true` on the loop (as shown above) so a single failed download doesn't stop the entire workflow.
+</Note>
+
+---
+
+## Parsing files
+
+When your workflow needs to act on information inside a file — filling forms with resume data, processing orders from a spreadsheet, extracting fields from a PDF — use `file_url_parser`. It downloads the file, parses it, and returns structured data you can use in subsequent blocks.
+
+### Parsing a PDF with a schema
+
+Say you're building a workflow that applies to jobs on Lever. You have a candidate's resume as a PDF URL and need to extract their name, email, and work history so a later navigation block can fill the application form.
+
+Define the fields you want in a `json_schema`, and Skyvern uses an LLM to extract them:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Parse Resume",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url",
+ "description": "URL to the resume PDF"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_url_parser",
+ "label": "parse_resume",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf",
+ "json_schema": {
+ "type": "object",
+ "properties": {
+ "name": {"type": "string"},
+ "email": {"type": "string"},
+ "work_experience": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "company": {"type": "string"},
+ "role": {"type": "string"}
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow with a resume URL
+ run = await client.run_workflow(
+ workflow_id=workflow.workflow_permanent_id,
+ parameters={
+ "resume": "https://writing.colostate.edu/guides/documents/resume/functionalsample.pdf"
+ }
+ )
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Parse Resume",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "resume",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ description: "URL to the resume PDF",
+ },
+ ],
+ blocks: [
+ {
+ block_type: "file_url_parser",
+ label: "parse_resume",
+ file_url: "{{ resume }}",
+ file_type: "pdf",
+ json_schema: {
+ type: "object",
+ properties: {
+ name: { type: "string" },
+ email: { type: "string" },
+ work_experience: {
+ type: "array",
+ items: {
+ type: "object",
+ properties: {
+ company: { type: "string" },
+ role: { type: "string" },
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow with a resume URL
+ const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ parameters: {
+ resume:
+ "https://writing.colostate.edu/guides/documents/resume/functionalsample.pdf",
+ },
+ },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Parse Resume",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url",
+ "description": "URL to the resume PDF"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_url_parser",
+ "label": "parse_resume",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf",
+ "json_schema": {
+ "type": "object",
+ "properties": {
+ "name": {"type": "string"},
+ "email": {"type": "string"},
+ "work_experience": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "company": {"type": "string"},
+ "role": {"type": "string"}
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow with a resume URL
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"workflow_id\": \"$WORKFLOW_ID\",
+ \"parameters\": {
+ \"resume\": \"https://writing.colostate.edu/guides/documents/resume/functionalsample.pdf\"
+ }
+ }")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+- **`file_url`** points to the file. Here, `{{ resume }}` is a workflow parameter passed at runtime — it could be a public URL, an S3 presigned URL, or a Google Drive link.
+- **`file_type`** tells Skyvern how to read the file. Use `pdf`, `csv`, or `excel`.
+- **`json_schema`** defines exactly what to extract. The LLM reads the PDF and returns data matching this structure. The `work_experience` array means you'll get one object per job with `company` and `role` fields.
+
+The output is available as `{{ parse_resume_output }}` in subsequent blocks and looks like this:
+
+```json
+{
+ "name": "Jane Doe",
+ "email": "[email protected]",
+ "work_experience": [
+ { "company": "Acme Corp", "role": "Software Engineer" },
+ { "company": "Globex Inc", "role": "Tech Lead" }
+ ]
+}
+```
+
+Without a `json_schema`, you get the raw parsed content instead — plain text for PDFs, or an array of row objects for CSVs. The schema is what turns unstructured file content into typed, structured data.
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| `file_url` | string | Point to the file (HTTP URL, S3 URI, or parameter like `{{ resume }}`) |
+| `file_type` | string | Specify format: `csv`, `excel`, or `pdf` |
+| `json_schema` | object | Define the structure you want extracted |
+
+**Supported sources for `file_url`:**
+- HTTP/HTTPS URLs
+- S3 URIs (`s3://bucket/path/file.csv`)
+- Azure Blob URIs (`azure://container/path/file.xlsx`)
+- Google Drive links (auto-converted)
+- Workflow parameters (`{{ parameter_name }}`)
+
+### Parsing a CSV and processing each row
+
+Say your procurement team exports purchase orders as a CSV and you need to enter each one into your web-based ERP. First parse the CSV, then loop over the rows:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Import Purchase Orders",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "orders_csv",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_url_parser",
+ "label": "parse_orders",
+ "file_url": "{{ orders_csv }}",
+ "file_type": "csv"
+ },
+ {
+ "block_type": "for_loop",
+ "label": "process_orders",
+ "loop_over_parameter_key": "parse_orders_output",
+ "loop_blocks": [
+ {
+ "block_type": "navigation",
+ "label": "enter_order",
+ "url": "https://erp.example.com/orders/new",
+ "navigation_goal": "Create a new order with: {{ enter_order.current_value }}"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow with a CSV URL
+ run = await client.run_workflow(
+ workflow_id=workflow.workflow_permanent_id,
+ parameters={
+ "orders_csv": "https://example.com/purchase_orders.csv"
+ }
+ )
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Import Purchase Orders",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "orders_csv",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ },
+ ],
+ blocks: [
+ {
+ block_type: "file_url_parser",
+ label: "parse_orders",
+ file_url: "{{ orders_csv }}",
+ file_type: "csv",
+ },
+ {
+ block_type: "for_loop",
+ label: "process_orders",
+ loop_over_parameter_key: "parse_orders_output",
+ loop_blocks: [
+ {
+ block_type: "navigation",
+ label: "enter_order",
+ url: "https://erp.example.com/orders/new",
+ navigation_goal:
+ "Create a new order with: {{ enter_order.current_value }}",
+ },
+ ],
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow with a CSV URL
+ const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ parameters: {
+ orders_csv: "https://example.com/purchase_orders.csv",
+ },
+ },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Import Purchase Orders",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "orders_csv",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_url_parser",
+ "label": "parse_orders",
+ "file_url": "{{ orders_csv }}",
+ "file_type": "csv"
+ },
+ {
+ "block_type": "for_loop",
+ "label": "process_orders",
+ "loop_over_parameter_key": "parse_orders_output",
+ "loop_blocks": [
+ {
+ "block_type": "navigation",
+ "label": "enter_order",
+ "url": "https://erp.example.com/orders/new",
+ "navigation_goal": "Create a new order with: {{ enter_order.current_value }}"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow with a CSV URL
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"workflow_id\": \"$WORKFLOW_ID\",
+ \"parameters\": {
+ \"orders_csv\": \"https://example.com/purchase_orders.csv\"
+ }
+ }")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+CSV parsing returns an array of objects — one per row, with column headers as keys. No `json_schema` needed for CSVs since the column headers already provide structure:
+
+```json
+[
+ { "order_id": "ORD-001", "product": "Widget", "quantity": "10" },
+ { "order_id": "ORD-002", "product": "Gadget", "quantity": "5" }
+]
+```
+
+The `for_loop` iterates over this array. On each iteration, `{{ enter_order.current_value }}` contains one row object (e.g., `{ "order_id": "ORD-001", "product": "Widget", "quantity": "10" }`), which the navigation block uses to fill the ERP form.
+
+---
+
+## Saving files
+
+When your workflow needs to store downloaded files permanently — archiving invoices, sending reports to a shared bucket, integrating with other systems — use one of the upload blocks.
+
+| Block | When to use it |
+|-------|---------------|
+| `upload_to_s3` | Store files in Skyvern's managed S3. Simplest option — no credentials needed. |
+| `file_upload` | Store files in your own S3 bucket or Azure Blob Storage. Use when you need files in your infrastructure. |
+| `download_to_s3` | Save a file from a URL directly to Skyvern's S3, skipping the browser. Use when you already have the file URL. |
+
+### Upload to Skyvern's S3
+
+After downloading EIN confirmation letters from the IRS, archive them to Skyvern's managed S3. Pass `SKYVERN_DOWNLOAD_DIRECTORY` as the path and the block uploads every file downloaded during this run:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Archive Downloads to S3",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "upload_to_s3",
+ "label": "save_invoices",
+ "path": "SKYVERN_DOWNLOAD_DIRECTORY"
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow
+ run = await client.run_workflow(workflow_id=workflow.workflow_permanent_id)
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Archive Downloads to S3",
+ workflow_definition: {
+ parameters: [],
+ blocks: [
+ {
+ block_type: "upload_to_s3",
+ label: "save_invoices",
+ path: "SKYVERN_DOWNLOAD_DIRECTORY",
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow
+ const run = await client.runWorkflow({
+ body: { workflow_id: workflow.workflow_permanent_id },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Archive Downloads to S3",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "upload_to_s3",
+ "label": "save_invoices",
+ "path": "SKYVERN_DOWNLOAD_DIRECTORY"
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{\"workflow_id\": \"$WORKFLOW_ID\"}")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+The output (`{{ save_invoices_output }}`) is a list of S3 URIs you can return from your workflow or pass to subsequent blocks.
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| `path` | string | Specify what to upload (`SKYVERN_DOWNLOAD_DIRECTORY` or a specific file path) |
+
+**Limit:** 50 files maximum per upload.
+
+### Upload to your own storage
+
+When compliance certificates need to land in your company's own S3 bucket (not Skyvern's), use `file_upload` with your AWS credentials:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow with AWS Secrets Manager-backed credentials
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Upload to Company S3",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "aws_key",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/aws/access_key_id"
+ },
+ {
+ "key": "aws_secret",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/aws/secret_access_key"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_upload",
+ "label": "upload_to_company_bucket",
+ "storage_type": "s3",
+ "s3_bucket": "company-documents",
+ "aws_access_key_id": "{{ aws_key }}",
+ "aws_secret_access_key": "{{ aws_secret }}",
+ "region_name": "us-west-2",
+ "path": "SKYVERN_DOWNLOAD_DIRECTORY"
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow (credentials auto-resolve from AWS Secrets Manager)
+ run = await client.run_workflow(workflow_id=workflow.workflow_permanent_id)
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow with AWS Secrets Manager-backed credentials
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Upload to Company S3",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "aws_key",
+ parameter_type: "aws_secret",
+ aws_key: "skyvern/aws/access_key_id",
+ },
+ {
+ key: "aws_secret",
+ parameter_type: "aws_secret",
+ aws_key: "skyvern/aws/secret_access_key",
+ },
+ ],
+ blocks: [
+ {
+ block_type: "file_upload",
+ label: "upload_to_company_bucket",
+ storage_type: "s3",
+ s3_bucket: "company-documents",
+ aws_access_key_id: "{{ aws_key }}",
+ aws_secret_access_key: "{{ aws_secret }}",
+ region_name: "us-west-2",
+ path: "SKYVERN_DOWNLOAD_DIRECTORY",
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow (credentials auto-resolve from AWS Secrets Manager)
+ const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow with AWS Secrets Manager-backed credentials
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Upload to Company S3",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "aws_key",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/aws/access_key_id"
+ },
+ {
+ "key": "aws_secret",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/aws/secret_access_key"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_upload",
+ "label": "upload_to_company_bucket",
+ "storage_type": "s3",
+ "s3_bucket": "company-documents",
+ "aws_access_key_id": "{{ aws_key }}",
+ "aws_secret_access_key": "{{ aws_secret }}",
+ "region_name": "us-west-2",
+ "path": "SKYVERN_DOWNLOAD_DIRECTORY"
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow (credentials auto-resolve from AWS Secrets Manager)
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"workflow_id\": \"$WORKFLOW_ID\"
+ }")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+- **`storage_type`** selects the destination: `s3` for AWS, `azure` for Azure Blob Storage.
+- **Credentials** should use `aws_secret` parameters backed by AWS Secrets Manager — credentials auto-resolve at runtime without being passed in the run payload.
+- **`path`** works the same as `upload_to_s3` — pass `SKYVERN_DOWNLOAD_DIRECTORY` to upload everything, or a specific file path.
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| `storage_type` | string | Choose `s3` or `azure` |
+| `path` | string | Specify what to upload (`SKYVERN_DOWNLOAD_DIRECTORY` or a file path) |
+
+**S3 parameters:** `s3_bucket`, `aws_access_key_id`, `aws_secret_access_key`, `region_name`
+
+**Azure parameters:** `azure_storage_account_name`, `azure_storage_account_key`, `azure_blob_container_name`, `azure_folder_path`
+
+**Limit:** 50 files maximum per upload.
+
+### Quick URL-to-S3
+
+When you already have a direct URL to a file — say, a Google Analytics export link — and just need to save it without opening a browser, use `download_to_s3`:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Save Report to S3",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "download_to_s3",
+ "label": "save_report",
+ "url": "https://analytics.example.com/report.pdf"
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow
+ run = await client.run_workflow(workflow_id=workflow.workflow_permanent_id)
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Save Report to S3",
+ workflow_definition: {
+ parameters: [],
+ blocks: [
+ {
+ block_type: "download_to_s3",
+ label: "save_report",
+ url: "https://analytics.example.com/report.pdf",
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow
+ const run = await client.runWorkflow({
+ body: { workflow_id: workflow.workflow_permanent_id },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Save Report to S3",
+ "workflow_definition": {
+ "parameters": [],
+ "blocks": [
+ {
+ "block_type": "download_to_s3",
+ "label": "save_report",
+ "url": "https://analytics.example.com/report.pdf"
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{\"workflow_id\": \"$WORKFLOW_ID\"}")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| `url` | string | Specify the file URL to download and save |
+
+This skips the browser entirely — it fetches the file directly and stores it in Skyvern's S3. Use it when you already have the URL and don't need Skyvern to navigate a page. **Limit:** 10 MB maximum file size.
+
+---
+
+## Passing files between blocks
+
+Files flow through workflows in two ways: through `SKYVERN_DOWNLOAD_DIRECTORY` for downloaded files, and through output parameters for parsed data.
+
+### Using downloaded files
+
+Say you downloaded invoices from a vendor portal earlier in the workflow and now need to email them to your accounting team. Any file downloaded during the run sits in `SKYVERN_DOWNLOAD_DIRECTORY`, and you can attach the entire directory to an email:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Email Downloaded Invoices",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "smtp_host",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/host"
+ },
+ {
+ "key": "smtp_port",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/port"
+ },
+ {
+ "key": "smtp_username",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/username"
+ },
+ {
+ "key": "smtp_password",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/password"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "send_email",
+ "label": "email_documents",
+ "sender": "[email protected]",
+ "recipients": ["[email protected]"],
+ "subject": "Monthly invoices attached",
+ "body": "See attached invoices for this month.",
+ "smtp_host_secret_parameter_key": "smtp_host",
+ "smtp_port_secret_parameter_key": "smtp_port",
+ "smtp_username_secret_parameter_key": "smtp_username",
+ "smtp_password_secret_parameter_key": "smtp_password",
+ "file_attachments": ["SKYVERN_DOWNLOAD_DIRECTORY"]
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow (SMTP secrets are auto-resolved from AWS Secrets Manager)
+ run = await client.run_workflow(workflow_id=workflow.workflow_permanent_id)
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Email Downloaded Invoices",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "smtp_host",
+ parameter_type: "aws_secret",
+ aws_key: "skyvern/smtp/host",
+ },
+ {
+ key: "smtp_port",
+ parameter_type: "aws_secret",
+ aws_key: "skyvern/smtp/port",
+ },
+ {
+ key: "smtp_username",
+ parameter_type: "aws_secret",
+ aws_key: "skyvern/smtp/username",
+ },
+ {
+ key: "smtp_password",
+ parameter_type: "aws_secret",
+ aws_key: "skyvern/smtp/password",
+ },
+ ],
+ blocks: [
+ {
+ block_type: "send_email",
+ label: "email_documents",
+ sender: "[email protected]",
+ recipients: ["[email protected]"],
+ subject: "Monthly invoices attached",
+ body: "See attached invoices for this month.",
+ smtp_host_secret_parameter_key: "smtp_host",
+ smtp_port_secret_parameter_key: "smtp_port",
+ smtp_username_secret_parameter_key: "smtp_username",
+ smtp_password_secret_parameter_key: "smtp_password",
+ file_attachments: ["SKYVERN_DOWNLOAD_DIRECTORY"],
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow (SMTP secrets are auto-resolved from AWS Secrets Manager)
+ const run = await client.runWorkflow({
+ body: { workflow_id: workflow.workflow_permanent_id },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Email Downloaded Invoices",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "smtp_host",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/host"
+ },
+ {
+ "key": "smtp_port",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/port"
+ },
+ {
+ "key": "smtp_username",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/username"
+ },
+ {
+ "key": "smtp_password",
+ "parameter_type": "aws_secret",
+ "aws_key": "skyvern/smtp/password"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "send_email",
+ "label": "email_documents",
+ "sender": "[email protected]",
+ "recipients": ["[email protected]"],
+ "subject": "Monthly invoices attached",
+ "body": "See attached invoices for this month.",
+ "smtp_host_secret_parameter_key": "smtp_host",
+ "smtp_port_secret_parameter_key": "smtp_port",
+ "smtp_username_secret_parameter_key": "smtp_username",
+ "smtp_password_secret_parameter_key": "smtp_password",
+ "file_attachments": ["SKYVERN_DOWNLOAD_DIRECTORY"]
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow (SMTP secrets are auto-resolved from AWS Secrets Manager)
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{\"workflow_id\": \"$WORKFLOW_ID\"}")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+`file_attachments: ["SKYVERN_DOWNLOAD_DIRECTORY"]` attaches every file downloaded during the run. The SMTP credentials use `aws_secret` parameters — these reference keys stored in AWS Secrets Manager so your credentials are never exposed in the workflow definition.
+
+### Using parsed data
+
+When you parse a file, the extracted data becomes available as `{{ label_output }}`. This is how you chain a parse step with a navigation step — for example, parsing a resume PDF and then using the candidate's info to fill a Lever job application:
+
+<CodeGroup>
+```python Python
+import os
+import asyncio
+from skyvern import Skyvern
+
+async def main():
+ client = Skyvern(api_key=os.getenv("SKYVERN_API_KEY"))
+
+ # Create the workflow
+ workflow = await client.create_workflow(
+ json_definition={
+ "title": "Parse Resume and Apply",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_url_parser",
+ "label": "parse_resume",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "block_type": "navigation",
+ "label": "fill_application",
+ "url": "{{ job_url }}",
+ "navigation_goal": (
+ "Fill out the application form using "
+ "this candidate's information:\n\n"
+ "{{ parse_resume_output }}"
+ )
+ }
+ ]
+ }
+ }
+ )
+ print(f"Workflow ID: {workflow.workflow_permanent_id}")
+
+ # Run the workflow with a resume and job URL
+ run = await client.run_workflow(
+ workflow_id=workflow.workflow_permanent_id,
+ parameters={
+ "resume": "https://writing.colostate.edu/guides/documents/resume/functionalsample.pdf",
+ "job_url": "https://jobs.lever.co/company/position"
+ }
+ )
+ print(f"Run ID: {run.run_id}")
+
+ # Poll until complete
+ while True:
+ result = await client.get_run(run.run_id)
+ if result.status in ["completed", "failed", "terminated", "timed_out", "canceled"]:
+ break
+ print(f"Status: {result.status}")
+ await asyncio.sleep(5)
+
+ print(f"Final status: {result.status}")
+ print(f"Output: {result.output}")
+
+asyncio.run(main())
+```
+
+```typescript TypeScript
+import { SkyvernClient } from "@skyvern/client";
+
+async function main() {
+ const client = new SkyvernClient({
+ apiKey: process.env.SKYVERN_API_KEY,
+ });
+
+ // Create the workflow
+ const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Parse Resume and Apply",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "resume",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ },
+ {
+ key: "job_url",
+ parameter_type: "workflow",
+ workflow_parameter_type: "string",
+ },
+ ],
+ blocks: [
+ {
+ block_type: "file_url_parser",
+ label: "parse_resume",
+ file_url: "{{ resume }}",
+ file_type: "pdf",
+ },
+ {
+ block_type: "navigation",
+ label: "fill_application",
+ url: "{{ job_url }}",
+ navigation_goal: [
+ "Fill out the application form using this candidate's information:",
+ "",
+ "{{ parse_resume_output }}",
+ ].join("\n"),
+ },
+ ],
+ },
+ },
+ },
+ });
+ console.log(`Workflow ID: ${workflow.workflow_permanent_id}`);
+
+ // Run the workflow with a resume and job URL
+ const run = await client.runWorkflow({
+ body: {
+ workflow_id: workflow.workflow_permanent_id,
+ parameters: {
+ resume:
+ "https://writing.colostate.edu/guides/documents/resume/functionalsample.pdf",
+ job_url: "https://jobs.lever.co/company/position",
+ },
+ },
+ });
+ console.log(`Run ID: ${run.run_id}`);
+
+ // Poll until complete
+ while (true) {
+ const result = await client.getRun(run.run_id);
+ if (
+ ["completed", "failed", "terminated", "timed_out", "canceled"].includes(
+ result.status
+ )
+ ) {
+ console.log(`Final status: ${result.status}`);
+ console.log(`Output: ${JSON.stringify(result.output, null, 2)}`);
+ break;
+ }
+ console.log(`Status: ${result.status}`);
+ await new Promise((resolve) => setTimeout(resolve, 5000));
+ }
+}
+
+main();
+```
+
+```bash cURL
+# Create the workflow
+WORKFLOW=$(curl -s -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Parse Resume and Apply",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url"
+ },
+ {
+ "key": "job_url",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string"
+ }
+ ],
+ "blocks": [
+ {
+ "block_type": "file_url_parser",
+ "label": "parse_resume",
+ "file_url": "{{ resume }}",
+ "file_type": "pdf"
+ },
+ {
+ "block_type": "navigation",
+ "label": "fill_application",
+ "url": "{{ job_url }}",
+ "navigation_goal": "Fill out the application form using this candidate'\''s information:\n\n{{ parse_resume_output }}"
+ }
+ ]
+ }
+ }
+ }')
+
+WORKFLOW_ID=$(echo "$WORKFLOW" | jq -r '.workflow_permanent_id')
+echo "Workflow ID: $WORKFLOW_ID"
+
+# Run the workflow with a resume and job URL
+RUN=$(curl -s -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d "{
+ \"workflow_id\": \"$WORKFLOW_ID\",
+ \"parameters\": {
+ \"resume\": \"https://writing.colostate.edu/guides/documents/resume/functionalsample.pdf\",
+ \"job_url\": \"https://jobs.lever.co/company/position\"
+ }
+ }")
+
+RUN_ID=$(echo "$RUN" | jq -r '.run_id')
+echo "Run ID: $RUN_ID"
+
+# Poll until complete
+while true; do
+ RESPONSE=$(curl -s -X GET "https://api.skyvern.com/v1/runs/$RUN_ID" \
+ -H "x-api-key: $SKYVERN_API_KEY")
+ STATUS=$(echo "$RESPONSE" | jq -r '.status')
+ echo "Status: $STATUS"
+ if [[ "$STATUS" == "completed" || "$STATUS" == "failed" || "$STATUS" == "terminated" || "$STATUS" == "timed_out" || "$STATUS" == "canceled" ]]; then
+ echo "$RESPONSE" | jq '.output'
+ break
+ fi
+ sleep 5
+done
+```
+</CodeGroup>
+
+The first block parses the resume and stores the result. The second block references `{{ parse_resume_output }}` in its `navigation_goal` — Skyvern replaces this with the full parsed data (name, email, work experience) and uses it to fill the form fields.
+
+### Accepting files as workflow inputs
+
+To accept a file when the workflow runs, define a parameter with `workflow_parameter_type: file_url`:
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Resume Parser",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url",
+ "description": "URL to the applicant's resume"
+ }
+ ],
+ "blocks": [...]
+ }
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Resume Parser",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "resume",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ description: "URL to the applicant's resume",
+ },
+ ],
+ blocks: [...],
+ },
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Resume Parser",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url",
+ "description": "URL to the applicant'\''s resume"
+ }
+ ],
+ "blocks": [...]
+ }
+ }
+ }'
+```
+</CodeGroup>
+
+When running the workflow, pass any accessible URL: public links, S3 presigned URLs, or files in your own storage.
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Workflow Blocks Reference"
+ icon="cube"
+ href="/multi-step-automations/workflow-blocks-reference"
+ >
+ Complete parameter reference for all file blocks
+ </Card>
+ <Card
+ title="Build a Workflow"
+ icon="hammer"
+ href="/multi-step-automations/build-a-workflow"
+ >
+ Learn how blocks pass data to each other
+ </Card>
+</CardGroup>
diff --git a/docs/multi-step-automations/workflow-blocks-reference.mdx b/docs/multi-step-automations/workflow-blocks-reference.mdx
new file mode 100644
index 000000000..019168170
--- /dev/null
+++ b/docs/multi-step-automations/workflow-blocks-reference.mdx
@@ -0,0 +1,1194 @@
+---
+title: Workflow Blocks Reference
+subtitle: Complete reference for all workflow block types
+slug: multi-step-automations/workflow-blocks-reference
+---
+
+This page covers all block types available for building workflows.
+
+Blocks are defined in the `workflow_definition.blocks` array. Use JSON when passing a `json_definition` or YAML when passing a `yaml_definition` — both formats are shown for every block below.
+
+---
+
+## Quick reference
+
+| Block Type | Use this to |
+|------------|---------|
+| [`navigation`](#navigation) | Navigate websites and take actions with a goal |
+| [`action`](#action) | Take a single action on the current page |
+| [`extraction`](#extraction) | Extract structured data from a page |
+| [`login`](#login) | Authenticate using stored credentials |
+| [`task`](#task) | Legacy block combining navigation and extraction |
+| [`task_v2`](#task-v2) | Simplified task block using natural language prompts |
+| [`validation`](#validation) | Assert conditions and control workflow flow |
+| [`conditional`](#conditional) | Branch workflow based on conditions |
+| [`for_loop`](#for-loop) | Iterate over arrays and repeat nested blocks |
+| [`goto_url`](#goto-url) | Navigate directly to a URL |
+| [`file_download`](#file-download) | Download files from websites |
+| [`file_url_parser`](#file-parser) | Parse CSV, Excel, or PDF files |
+| [`pdf_parser`](#pdf-parser) | Parse PDF files specifically (deprecated, use `file_url_parser`) |
+| [`download_to_s3`](#download-to-s3) | Download a file from URL to S3 |
+| [`upload_to_s3`](#upload-to-s3) | Upload workflow files to S3 |
+| [`file_upload`](#file-upload) | Upload files to S3 or Azure storage |
+| [`http_request`](#http-request) | Make HTTP API calls |
+| [`send_email`](#send-email) | Send emails with attachments |
+| [`code`](#code) | Execute custom Python code |
+| [`text_prompt`](#text-prompt) | Make LLM calls for text generation |
+| [`print_page`](#print-page) | Save current page as PDF |
+| [`wait`](#wait) | Pause execution for a duration |
+| [`human_interaction`](#human-interaction) | Pause for human approval via email |
+
+---
+
+## Common parameters
+
+These parameters are available on all block types:
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `label` | string | — | **Required.** Unique identifier for this block within the workflow. Used for referencing outputs as `{{label_output}}`. |
+| `continue_on_failure` | boolean | `false` | If `true`, workflow continues even if this block fails. |
+| `next_loop_on_failure` | boolean | `false` | If `true` and inside a loop, skips to next iteration on failure. |
+| `next_block_label` | string | — | Label of the next block to execute. If omitted, uses sequential order. |
+| `model` | object | — | Override model configuration for this block. |
+
+### Finally block
+
+You can designate any block as a "finally" block that always executes when the workflow ends — whether it completed, failed, terminated, or timed out. The only exception is explicit cancellation.
+
+Set `finally_block_label` at the workflow definition level (alongside `parameters` and `blocks`):
+
+```yaml
+workflow_definition:
+ parameters: [...]
+ blocks:
+ - block_type: navigation
+ label: main_task
+ # ...
+ - block_type: send_email
+ label: notify_team
+ # ...
+ finally_block_label: notify_team
+```
+
+The referenced block must be a terminal block — it cannot have a `next_block_label`.
+
+---
+
+### Error code mapping
+
+Several blocks accept an `error_code_mapping` parameter. This is an object mapping custom error codes to natural language descriptions. Skyvern evaluates each description against the current page state and surfaces matching errors in the block output.
+
+```json
+{
+ "error_code_mapping": {
+ "INVALID_CREDENTIALS": "The page shows an error message indicating the username or password is incorrect.",
+ "ACCOUNT_LOCKED": "The page indicates the account has been locked or suspended.",
+ "CAPTCHA_REQUIRED": "A CAPTCHA challenge is displayed that cannot be solved."
+ }
+}
+```
+
+### Block outputs
+
+Every block produces an output accessible by other blocks as `{{label_output}}`, where `label` is the block's `label` value. The output shape depends on the block type:
+
+- **Navigation / Action / Login / File Download**: the output is `null` on success (the primary effect is the browser state change).
+- **Extraction**: the output matches the `data_schema` you provide (or a free-form object if no schema is given).
+- **Task**: `null` when only `navigation_goal` is set. When `data_extraction_goal` is set, the output matches the `data_schema`.
+- **Code**: the value of the `result` variable at the end of execution.
+- **Text Prompt**: the LLM response, structured according to `json_schema` if provided.
+- **File Parser / PDF Parser**: the parsed file content (structured if `json_schema` is provided).
+- **For Loop**: an array of outputs, one per iteration.
+- **HTTP Request**: the response body (as JSON if applicable, otherwise as a string).
+- **Upload to S3 / File Upload / Download to S3**: the storage URL of the uploaded/downloaded file.
+- **Print Page**: the file path of the saved PDF.
+- **Validation / Conditional / Goto URL / Wait / Send Email / Human Interaction**: `null` (control-flow blocks).
+
+---
+
+## Navigation
+
+Navigate through websites to take actions with a natural language goal.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "navigation",
+ "label": "search_registry",
+ "url": "https://asha.org/verify",
+ "navigation_goal": "Search for the person using the provided information. COMPLETE when search results are displayed. TERMINATE if no results found.",
+ "parameter_keys": ["first_name", "last_name", "employee_state"],
+ "engine": "skyvern-2.0",
+ "max_steps_per_run": 20
+}
+```
+
+```yaml YAML
+- block_type: navigation
+ label: search_registry
+ url: "https://asha.org/verify"
+ navigation_goal: |
+ Search for the person using:
+ - First name: {{first_name}}
+ - Last name: {{last_name}}
+ - State: {{employee_state}}
+
+ COMPLETE when search results are displayed.
+ TERMINATE if no results found.
+ parameter_keys:
+ - first_name
+ - last_name
+ - employee_state
+ engine: skyvern-2.0
+ max_steps_per_run: 20
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `navigation_goal` | string | — | **Required.** Natural language description of what to do. Include when to COMPLETE or TERMINATE. |
+| `url` | string | — | Starting URL. If omitted, continues from previous block's page. |
+| `title` | string | `""` | Display title for this block. |
+| `engine` | string | `"skyvern-1.0"` | `"skyvern-1.0"` or `"skyvern-2.0"`. |
+| `max_steps_per_run` | integer | — | Maximum steps this block can take. |
+| `max_retries` | integer | `0` | Number of retry attempts on failure. |
+| `parameter_keys` | array | — | Parameters this block can access. |
+| `error_code_mapping` | object | — | Map conditions to custom error codes. |
+| `complete_on_download` | boolean | `false` | Complete when a file download is triggered. |
+| `download_suffix` | string | — | Filename for the downloaded file. |
+| `complete_criterion` | string | — | Natural language condition for completion. |
+| `terminate_criterion` | string | — | Natural language condition for termination. |
+| `complete_verification` | boolean | `true` | Whether to verify completion criteria. |
+| `include_action_history_in_verification` | boolean | `false` | Include action history when verifying completion. |
+| `totp_identifier` | string | — | TOTP credential identifier for 2FA. |
+| `totp_verification_url` | string | — | URL to fetch TOTP codes. |
+| `disable_cache` | boolean | `false` | Disable caching for this block. |
+
+<Info>
+For guidance on which engine to choose (`skyvern-1.0` vs `skyvern-2.0`), see [Engine Selection](/running-automations/task-parameters#engine).
+</Info>
+
+---
+
+## Action
+
+Take a single action on the current page without navigation.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "action",
+ "label": "click_download_button",
+ "navigation_goal": "Click the \"Download PDF\" button",
+ "engine": "skyvern-1.0"
+}
+```
+
+```yaml YAML
+- block_type: action
+ label: click_download_button
+ navigation_goal: Click the "Download PDF" button
+ engine: skyvern-1.0
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `navigation_goal` | string | — | Description of the action to take. |
+| `url` | string | — | URL to navigate to first. |
+| `title` | string | `""` | Display title for this block. |
+| `engine` | string | `"skyvern-1.0"` | AI engine to use (`"skyvern-1.0"` or `"skyvern-2.0"`). |
+| `max_retries` | integer | `0` | Number of retry attempts. |
+| `parameter_keys` | array | — | Parameters this block can access. |
+| `error_code_mapping` | object | — | Map conditions to custom error codes. |
+| `complete_on_download` | boolean | `false` | Complete when download triggered. |
+| `download_suffix` | string | — | Filename for the downloaded file. |
+| `totp_identifier` | string | — | TOTP credential identifier. |
+| `totp_verification_url` | string | — | URL to fetch TOTP codes. |
+| `disable_cache` | boolean | `false` | Disable caching for this block. |
+
+---
+
+## Extraction
+
+Extract structured data from a page without taking any actions.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "extraction",
+ "label": "extract_credentials",
+ "data_extraction_goal": "Extract the professional credentials including ASHA account number, certification status, and valid through date.",
+ "data_schema": {
+ "type": "object",
+ "properties": {
+ "asha_account_number": { "type": "string" },
+ "certification_status": { "type": "string" },
+ "valid_through": { "type": "string" }
+ }
+ }
+}
+```
+
+```yaml YAML
+- block_type: extraction
+ label: extract_credentials
+ data_extraction_goal: |
+ Extract the professional credentials:
+ - ASHA account number
+ - Certification status (active/inactive)
+ - Valid through date
+ - Supervisor/mentor information
+ data_schema:
+ type: object
+ properties:
+ asha_account_number:
+ type: string
+ certification_status:
+ type: string
+ enum: ["active", "inactive", "expired"]
+ valid_through:
+ type: string
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `data_extraction_goal` | string | — | **Required.** What data to extract. |
+| `url` | string | — | URL to extract from. If omitted, uses current page. |
+| `title` | string | `""` | Display title for this block. |
+| `data_schema` | object/array/string | — | JSON Schema for the output structure. |
+| `engine` | string | `"skyvern-1.0"` | AI engine to use (`"skyvern-1.0"` or `"skyvern-2.0"`). |
+| `max_retries` | integer | `0` | Retry attempts. |
+| `max_steps_per_run` | integer | — | Maximum steps allowed. |
+| `parameter_keys` | array | — | Parameters this block can access. |
+| `disable_cache` | boolean | `false` | Disable caching for this block. |
+
+---
+
+## Login
+
+Authenticate to a website using stored credentials.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "login",
+ "label": "login_to_portal",
+ "url": "{{website_url}}",
+ "parameter_keys": ["credentials"],
+ "navigation_goal": "Log in using the provided credentials. Handle any cookie consent or promotional popups first. COMPLETE when on the logged-in dashboard."
+}
+```
+
+```yaml YAML
+- block_type: login
+ label: login_to_portal
+ url: "{{website_url}}"
+ parameter_keys:
+ - credentials
+ navigation_goal: |
+ Log in using the provided credentials.
+ Handle any cookie consent or promotional popups first.
+ COMPLETE when on the logged-in dashboard.
+ TERMINATE if login fails after 3 attempts.
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `url` | string | — | Login page URL. |
+| `navigation_goal` | string | — | Additional instructions for complex login flows. |
+| `title` | string | `""` | Display title for this block. |
+| `engine` | string | `"skyvern-1.0"` | AI engine to use (`"skyvern-1.0"` or `"skyvern-2.0"`). |
+| `parameter_keys` | array | — | Parameters including credential reference. |
+| `error_code_mapping` | object | — | Map conditions to custom error codes. |
+| `max_retries` | integer | `0` | Retry attempts. |
+| `max_steps_per_run` | integer | — | Maximum steps allowed. |
+| `complete_criterion` | string | — | Condition for completion. |
+| `terminate_criterion` | string | — | Condition for termination. |
+| `complete_verification` | boolean | `true` | Verify completion criteria. |
+| `totp_identifier` | string | — | TOTP credential identifier for 2FA. |
+| `totp_verification_url` | string | — | URL to fetch TOTP codes. |
+| `disable_cache` | boolean | `false` | Disable caching for this block. |
+
+---
+
+## Task
+
+Legacy block combining navigation and extraction. For new workflows, prefer separate Navigation and Extraction blocks.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "task",
+ "label": "login_and_extract",
+ "url": "{{website_url}}",
+ "parameter_keys": ["credentials"],
+ "navigation_goal": "Log in using the provided credentials. Navigate to the account settings page. COMPLETE when on the settings page.",
+ "data_extraction_goal": "Extract the account ID and subscription plan.",
+ "data_schema": {
+ "type": "object",
+ "properties": {
+ "account_id": { "type": "string" },
+ "subscription_plan": { "type": "string" }
+ }
+ }
+}
+```
+
+```yaml YAML
+- block_type: task
+ label: login_and_extract
+ url: "{{website_url}}"
+ parameter_keys:
+ - credentials
+ navigation_goal: |
+ Log in using the provided credentials.
+ Navigate to the account settings page.
+ COMPLETE when on the settings page.
+ data_extraction_goal: |
+ Extract the account ID and subscription plan.
+ data_schema:
+ type: object
+ properties:
+ account_id:
+ type: string
+ subscription_plan:
+ type: string
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `url` | string | — | Starting URL. |
+| `navigation_goal` | string | — | What to do on the page. |
+| `data_extraction_goal` | string | — | What data to extract. |
+| `data_schema` | object/array/string | — | Schema for extracted data. |
+| `title` | string | `""` | Display title for this block. |
+| `engine` | string | `"skyvern-1.0"` | AI engine to use (`"skyvern-1.0"` or `"skyvern-2.0"`). |
+| `parameter_keys` | array | — | Available parameters. |
+| `error_code_mapping` | object | — | Custom error codes. |
+| `max_steps_per_run` | integer | — | Maximum steps. |
+| `max_retries` | integer | `0` | Retry attempts. |
+| `complete_on_download` | boolean | `false` | Complete when download triggered. |
+| `download_suffix` | string | — | Filename for the downloaded file. |
+| `complete_criterion` | string | — | Condition for completion. |
+| `terminate_criterion` | string | — | Condition for termination. |
+| `complete_verification` | boolean | `true` | Verify completion criteria. |
+| `include_action_history_in_verification` | boolean | `false` | Include action history in verification. |
+| `totp_identifier` | string | — | TOTP credential identifier. |
+| `totp_verification_url` | string | — | URL to fetch TOTP codes. |
+| `disable_cache` | boolean | `false` | Disable caching. |
+
+---
+
+## Task V2
+
+Simplified task block using natural language prompts. Uses computer-use agents for more flexible automation.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "task_v2",
+ "label": "complete_form",
+ "url": "https://example.com/form",
+ "prompt": "Fill out the contact form with the provided information and submit it. Wait for the confirmation message.",
+ "max_iterations": 10,
+ "max_steps": 25
+}
+```
+
+```yaml YAML
+- block_type: task_v2
+ label: complete_form
+ url: "https://example.com/form"
+ prompt: |
+ Fill out the contact form with the provided information and submit it.
+ Wait for the confirmation message.
+ max_iterations: 10
+ max_steps: 25
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `prompt` | string | — | **Required.** Natural language description of the task. |
+| `url` | string | — | Starting URL. |
+| `max_iterations` | integer | `10` | Maximum number of iterations. |
+| `max_steps` | integer | `25` | Maximum steps per iteration. |
+| `totp_identifier` | string | — | TOTP credential identifier. |
+| `totp_verification_url` | string | — | URL to fetch TOTP codes. |
+| `disable_cache` | boolean | `false` | Disable caching. |
+
+<Info>
+`task_v2` does not use `parameter_keys`. All workflow parameters and previous block outputs are automatically available as Jinja2 template variables in `prompt` and `url`. For example: `"Fill the form with name {{first_name}} and email {{email}}"`.
+</Info>
+
+---
+
+## Validation
+
+Assert conditions using the LLM to control workflow flow.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "validation",
+ "label": "check_credential_status",
+ "parameter_keys": ["extract_credentials_output"],
+ "complete_criterion": "Continue if the certification_status is 'expired' or 'inactive', or if the valid_through date has changed.",
+ "terminate_criterion": "Terminate if the certification_status is 'active' and valid_through matches current_credential_expiry."
+}
+```
+
+```yaml YAML
+- block_type: validation
+ label: check_credential_status
+ parameter_keys:
+ - extract_credentials_output
+ complete_criterion: |
+ Continue if ANY of these are true:
+ - certification_status is "expired"
+ - certification_status is "inactive"
+ - valid_through date has changed
+ terminate_criterion: |
+ Terminate (no email needed) if ALL of these are true:
+ - certification_status is "active"
+ - valid_through matches current_credential_expiry
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `complete_criterion` | string | — | Condition that must be true to continue. |
+| `terminate_criterion` | string | — | Condition that terminates the workflow. |
+| `parameter_keys` | array | — | Parameters to evaluate. |
+| `error_code_mapping` | object | — | Map conditions to custom error codes. |
+| `disable_cache` | boolean | `false` | Disable caching. |
+
+---
+
+## Conditional
+
+Branch workflow execution based on conditions. Supports Jinja2 templates or LLM-based evaluation.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "conditional",
+ "label": "check_status",
+ "branch_conditions": [
+ {
+ "criteria": {
+ "criteria_type": "jinja2_template",
+ "expression": "{{ status == 'approved' }}"
+ },
+ "next_block_label": "process_approved",
+ "description": "Route to approval processing"
+ },
+ {
+ "criteria": {
+ "criteria_type": "jinja2_template",
+ "expression": "{{ status == 'rejected' }}"
+ },
+ "next_block_label": "handle_rejection"
+ },
+ {
+ "is_default": true,
+ "next_block_label": "handle_pending"
+ }
+ ]
+}
+```
+
+```yaml YAML
+- block_type: conditional
+ label: check_status
+ branch_conditions:
+ - criteria:
+ criteria_type: jinja2_template
+ expression: "{{ status == 'approved' }}"
+ next_block_label: process_approved
+ description: Route to approval processing
+ - criteria:
+ criteria_type: prompt
+ expression: "Is the application status indicating rejection?"
+ next_block_label: handle_rejection
+ - is_default: true
+ next_block_label: handle_pending
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `branch_conditions` | array | — | **Required.** List of conditions and their target blocks. |
+
+**Branch Condition properties:**
+
+| Property | Type | Default | Description |
+|----------|------|---------|-------------|
+| `criteria` | object | — | The condition to evaluate. |
+| `criteria.criteria_type` | string | `"jinja2_template"` | `"jinja2_template"` or `"prompt"`. |
+| `criteria.expression` | string | — | **Required.** Jinja2 expression or natural language prompt. |
+| `criteria.description` | string | — | Description of the criteria. |
+| `next_block_label` | string | — | Block to execute if condition is true. |
+| `description` | string | — | Description of this branch. |
+| `is_default` | boolean | `false` | If true, this branch is used when no other conditions match. |
+
+---
+
+## For Loop
+
+Iterate over an array and execute nested blocks for each item.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "for_loop",
+ "label": "apply_to_jobs",
+ "loop_over_parameter_key": "job_urls",
+ "continue_on_failure": true,
+ "loop_blocks": [
+ {
+ "block_type": "navigation",
+ "label": "submit_application",
+ "url": "{{submit_application.current_value}}",
+ "navigation_goal": "Fill out and submit the job application."
+ }
+ ]
+}
+```
+
+```yaml YAML
+- block_type: for_loop
+ label: apply_to_jobs
+ loop_over_parameter_key: job_urls
+ continue_on_failure: true
+ loop_blocks:
+ - block_type: navigation
+ label: submit_application
+ url: "{{submit_application.current_value}}"
+ navigation_goal: |
+ Fill out the job application form using:
+ - Resume data: {{parsed_resume_output}}
+ - Additional info: {{additional_information}}
+
+ COMPLETE when application is submitted.
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `loop_blocks` | array | — | **Required.** Blocks to execute for each iteration. |
+| `loop_over_parameter_key` | string | `""` | Parameter containing the array to iterate. |
+| `loop_variable_reference` | string | — | Custom name for the loop variable. |
+| `complete_if_empty` | boolean | `false` | If `true`, completes successfully when array is empty. |
+
+<Info>
+**Accessing the current item inside a loop**
+
+Use `{{nested_block_label.current_value}}` to reference the current iteration value, where `nested_block_label` is the `label` of the block **inside** `loop_blocks` — not the label of the `for_loop` itself.
+
+In the example above, the loop label is `apply_to_jobs` and the nested block label is `submit_application`, so the current URL is accessed as `{{submit_application.current_value}}`.
+</Info>
+
+The output of a `for_loop` block is an array containing the result from each iteration.
+
+---
+
+## Goto URL
+
+Navigate directly to a URL without any AI processing.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "goto_url",
+ "label": "go_to_dashboard",
+ "url": "https://app.example.com/dashboard"
+}
+```
+
+```yaml YAML
+- block_type: goto_url
+ label: go_to_dashboard
+ url: "https://app.example.com/dashboard"
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `url` | string | — | **Required.** URL to navigate to. |
+
+---
+
+## File Download
+
+Navigate to download a file from a website.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "file_download",
+ "label": "download_ein_letter",
+ "url": "https://irs.gov/ein/confirm",
+ "navigation_goal": "Find and download the EIN confirmation letter PDF. Look for a \"Download\" or \"Print\" button. COMPLETE when download is triggered.",
+ "download_suffix": "ein_confirmation.pdf"
+}
+```
+
+```yaml YAML
+- block_type: file_download
+ label: download_ein_letter
+ url: "https://irs.gov/ein/confirm"
+ navigation_goal: |
+ Find and download the EIN confirmation letter PDF.
+ Look for a "Download" or "Print" button.
+ COMPLETE when download is triggered.
+ download_suffix: ein_confirmation.pdf
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `navigation_goal` | string | — | **Required.** How to find and download the file. |
+| `url` | string | — | Starting URL. |
+| `title` | string | `""` | Display title for this block. |
+| `engine` | string | `"skyvern-1.0"` | AI engine to use (`"skyvern-1.0"` or `"skyvern-2.0"`). |
+| `download_suffix` | string | — | Filename for the downloaded file. |
+| `download_timeout` | number | — | Timeout in seconds for download. |
+| `parameter_keys` | array | — | Parameters this block can access. |
+| `error_code_mapping` | object | — | Map conditions to custom error codes. |
+| `max_retries` | integer | `0` | Retry attempts. |
+| `max_steps_per_run` | integer | — | Maximum steps. |
+| `totp_identifier` | string | — | TOTP credential identifier. |
+| `totp_verification_url` | string | — | URL to fetch TOTP codes. |
+| `disable_cache` | boolean | `false` | Disable caching. |
+
+Downloaded files are stored in `SKYVERN_DOWNLOAD_DIRECTORY`—use this path in `upload_to_s3`, `file_upload`, or `send_email`'s `file_attachments` to access them.
+
+---
+
+## File Parser
+
+Download and parse a file from a URL. Supports CSV, Excel, and PDF files.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "file_url_parser",
+ "label": "parse_order_csv",
+ "file_url": "{{order_file_url}}",
+ "file_type": "csv"
+}
+```
+
+```yaml YAML
+- block_type: file_url_parser
+ label: parse_order_csv
+ file_url: "{{order_file_url}}"
+ file_type: csv
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `file_url` | string | — | **Required.** URL of the file to parse. |
+| `file_type` | string | — | **Required.** One of: `csv`, `excel`, `pdf`. |
+| `json_schema` | object | — | Schema for structured extraction. |
+
+---
+
+## PDF Parser
+
+<Warning>
+Deprecated. Use [File Parser](#file-parser) with `file_type: "pdf"` instead. This block will be removed in a future version.
+</Warning>
+
+Parse a PDF file specifically for text extraction.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "pdf_parser",
+ "label": "parse_resume",
+ "file_url": "{{resume}}"
+}
+```
+
+```yaml YAML
+- block_type: pdf_parser
+ label: parse_resume
+ file_url: "{{resume}}"
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `file_url` | string | — | **Required.** URL of the PDF file. |
+| `json_schema` | object | — | Schema for structured extraction from PDF. |
+
+---
+
+## Download to S3
+
+Download a file from a URL directly to S3 storage.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "download_to_s3",
+ "label": "save_report",
+ "url": "https://example.com/report.pdf"
+}
+```
+
+```yaml YAML
+- block_type: download_to_s3
+ label: save_report
+ url: "https://example.com/report.pdf"
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `url` | string | — | **Required.** URL of the file to download. |
+
+---
+
+## Upload to S3
+
+Upload files from the workflow to S3 storage.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "upload_to_s3",
+ "label": "upload_results",
+ "path": "{{download_report_output}}"
+}
+```
+
+```yaml YAML
+- block_type: upload_to_s3
+ label: upload_results
+ path: "{{download_report_output}}"
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `path` | string | — | Path to the file to upload. |
+
+---
+
+## File Upload
+
+Upload downloaded files to AWS S3 or Azure Blob storage.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "file_upload",
+ "label": "upload_to_s3",
+ "storage_type": "s3",
+ "aws_access_key_id": "{{aws_access_key}}",
+ "aws_secret_access_key": "{{aws_secret_key}}",
+ "s3_bucket": "company-invoices",
+ "region_name": "us-west-2",
+ "path": "SKYVERN_DOWNLOAD_DIRECTORY"
+}
+```
+
+```yaml YAML
+- block_type: file_upload
+ label: upload_to_s3
+ storage_type: s3
+ aws_access_key_id: "{{aws_access_key}}"
+ aws_secret_access_key: "{{aws_secret_key}}"
+ s3_bucket: "company-invoices"
+ region_name: us-west-2
+ path: SKYVERN_DOWNLOAD_DIRECTORY
+```
+</CodeGroup>
+
+**S3 Parameters:**
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `storage_type` | string | — | Set to `"s3"` for AWS S3. |
+| `aws_access_key_id` | string | — | AWS access key. |
+| `aws_secret_access_key` | string | — | AWS secret key. |
+| `s3_bucket` | string | — | Target S3 bucket name. |
+| `region_name` | string | — | AWS region. |
+| `path` | string | — | Path to the file to upload. |
+
+**Azure Parameters:**
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `storage_type` | string | — | Set to `"azure"` for Azure Blob Storage. |
+| `azure_storage_account_name` | string | — | Azure storage account name. |
+| `azure_storage_account_key` | string | — | Azure storage account key. |
+| `azure_blob_container_name` | string | — | Azure blob container name. |
+| `azure_folder_path` | string | — | Folder path within the container. |
+| `path` | string | — | Path to the file to upload. |
+
+---
+
+## HTTP Request
+
+Make HTTP API calls to external services.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "http_request",
+ "label": "post_to_webhook",
+ "method": "POST",
+ "url": "https://api.example.com/webhook",
+ "headers": {
+ "Authorization": "Bearer {{api_token}}",
+ "Content-Type": "application/json"
+ },
+ "body": {
+ "data": "{{extracted_data}}"
+ },
+ "timeout": 30
+}
+```
+
+```yaml YAML
+- block_type: http_request
+ label: post_to_webhook
+ method: POST
+ url: "https://api.example.com/webhook"
+ headers:
+ Authorization: "Bearer {{api_token}}"
+ Content-Type: application/json
+ body:
+ data: "{{extracted_data}}"
+ timeout: 30
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `url` | string | — | URL to make the request to. |
+| `method` | string | `"GET"` | HTTP method: GET, POST, PUT, DELETE, etc. |
+| `headers` | object | — | HTTP headers as key-value pairs. |
+| `body` | object | — | Request body (for POST, PUT, etc.). |
+| `files` | object | — | Files to upload as multipart form data. |
+| `timeout` | integer | `30` | Request timeout in seconds. |
+| `follow_redirects` | boolean | `true` | Whether to follow HTTP redirects. |
+| `download_filename` | string | — | Filename for downloaded response. |
+| `save_response_as_file` | boolean | `false` | Save response body as a file. |
+| `parameter_keys` | array | — | Parameters this block can access. |
+
+---
+
+## Send Email
+
+Send an email with optional attachments.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "send_email",
+ "label": "send_confirmation",
+ "smtp_host_secret_parameter_key": "smtp_host",
+ "smtp_port_secret_parameter_key": "smtp_port",
+ "smtp_username_secret_parameter_key": "smtp_username",
+ "smtp_password_secret_parameter_key": "smtp_password",
+ "sender": "[email protected]",
+ "recipients": ["{{recipient_email}}", "[email protected]"],
+ "subject": "EIN Registration Complete - {{company_name}}",
+ "body": "Your EIN registration has been completed. See attached for details.",
+ "file_attachments": ["SKYVERN_DOWNLOAD_DIRECTORY"]
+}
+```
+
+```yaml YAML
+- block_type: send_email
+ label: send_confirmation
+ smtp_host_secret_parameter_key: smtp_host
+ smtp_port_secret_parameter_key: smtp_port
+ smtp_username_secret_parameter_key: smtp_username
+ smtp_password_secret_parameter_key: smtp_password
+ recipients:
+ - "{{recipient_email}}"
+ subject: "EIN Registration Complete - {{company_name}}"
+ body: |
+ Your EIN registration has been completed.
+ EIN: {{extract_ein_output.ein_number}}
+ file_attachments:
+ - SKYVERN_DOWNLOAD_DIRECTORY
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `smtp_host_secret_parameter_key` | string | — | **Required.** Parameter key for SMTP host. |
+| `smtp_port_secret_parameter_key` | string | — | **Required.** Parameter key for SMTP port. |
+| `smtp_username_secret_parameter_key` | string | — | **Required.** Parameter key for SMTP username. |
+| `smtp_password_secret_parameter_key` | string | — | **Required.** Parameter key for SMTP password. |
+| `sender` | string | — | **Required.** Sender email address. |
+| `recipients` | array | — | **Required.** List of recipient email addresses. |
+| `subject` | string | — | **Required.** Email subject line. |
+| `body` | string | — | **Required.** Email body content. |
+| `file_attachments` | array | — | Files to attach. Use `SKYVERN_DOWNLOAD_DIRECTORY` for downloaded files. |
+
+---
+
+## Code
+
+Execute custom Python code for data transformation or browser control.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "code",
+ "label": "calculate_price_diff",
+ "parameter_keys": ["alibaba_price", "amazon_price"],
+ "code": "if amazon_price and alibaba_price:\n result = {'difference': alibaba_price - amazon_price}\nelse:\n result = None"
+}
+```
+
+```yaml YAML
+- block_type: code
+ label: calculate_price_diff
+ parameter_keys:
+ - alibaba_price
+ - amazon_price
+ code: |
+ if amazon_price and alibaba_price:
+ result = {
+ "difference": alibaba_price - amazon_price,
+ "percentage": ((alibaba_price - amazon_price) / amazon_price) * 100
+ }
+ else:
+ result = None
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `code` | string | — | **Required.** Python code to execute. Store result in `result` variable. |
+| `parameter_keys` | array | — | Parameters available to the code. |
+
+Available objects: `skyvern_page` (Playwright page object for browser control).
+
+<Note>
+Code Block with browser control is invite-only on Skyvern Cloud. Contact [email protected] for access.
+</Note>
+
+---
+
+## Text Prompt
+
+Make an LLM call for text generation or analysis.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "text_prompt",
+ "label": "summarize_credentials",
+ "llm_key": "OPENAI_GPT4O",
+ "parameter_keys": ["extract_credentials_output"],
+ "prompt": "Analyze these professional credentials and provide a summary including current status, any concerns, and recommended actions: {{extract_credentials_output}}",
+ "json_schema": {
+ "type": "object",
+ "properties": {
+ "status_summary": { "type": "string" },
+ "concerns": { "type": "array", "items": { "type": "string" } }
+ }
+ }
+}
+```
+
+```yaml YAML
+- block_type: text_prompt
+ label: summarize_credentials
+ llm_key: OPENAI_GPT4O
+ parameter_keys:
+ - extract_credentials_output
+ prompt: |
+ Analyze these professional credentials and provide a summary:
+ {{extract_credentials_output}}
+
+ Include: Current status, any concerns, recommended actions
+ json_schema:
+ type: object
+ properties:
+ status_summary:
+ type: string
+ concerns:
+ type: array
+ items:
+ type: string
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `prompt` | string | — | **Required.** The prompt to send to the LLM. |
+| `parameter_keys` | array | — | Parameters available in the prompt. |
+| `llm_key` | string | — | Model to use (e.g., `OPENAI_GPT4O`). |
+| `json_schema` | object | — | Schema for structured output. |
+
+---
+
+## Print Page
+
+Save the current browser page as a PDF file.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "print_page",
+ "label": "save_receipt",
+ "custom_filename": "receipt_{{order_id}}",
+ "format": "Letter",
+ "landscape": false,
+ "print_background": true
+}
+```
+
+```yaml YAML
+- block_type: print_page
+ label: save_receipt
+ custom_filename: "receipt_{{order_id}}"
+ format: Letter
+ landscape: false
+ print_background: true
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `custom_filename` | string | — | Custom filename for the PDF. |
+| `format` | string | `"A4"` | Page format: `A4`, `Letter`, `Legal`, or `Tabloid`. |
+| `landscape` | boolean | `false` | Print in landscape orientation. |
+| `print_background` | boolean | `true` | Include background colors and images. |
+| `include_timestamp` | boolean | `true` | Include timestamp in filename. |
+| `parameter_keys` | array | — | Parameters this block can access. |
+
+<Note>
+The `print_page` block works via the REST API and TypeScript SDK, but the Python SDK's generated types do not yet include it. If you use the Python SDK, pass the block definition through `json_definition` or `yaml_definition` — the API will accept it.
+</Note>
+
+---
+
+## Wait
+
+Pause workflow execution for a specified duration.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "wait",
+ "label": "wait_for_processing",
+ "wait_sec": 30
+}
+```
+
+```yaml YAML
+- block_type: wait
+ label: wait_for_processing
+ wait_sec: 30
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `wait_sec` | integer | `0` | Seconds to wait. |
+
+---
+
+## Human Interaction
+
+Pause the workflow and send an email requesting human approval before continuing.
+
+<CodeGroup>
+```json JSON
+{
+ "block_type": "human_interaction",
+ "label": "request_approval",
+ "instructions": "Please review the extracted data and approve or reject to continue.",
+ "positive_descriptor": "Approve",
+ "negative_descriptor": "Reject",
+ "timeout_seconds": 7200,
+ "sender": "[email protected]",
+ "recipients": ["[email protected]"],
+ "subject": "Approval Required - Order Processing",
+ "body": "An order requires your approval before processing can continue."
+}
+```
+
+```yaml YAML
+- block_type: human_interaction
+ label: request_approval
+ instructions: Please review the extracted data and approve or reject to continue.
+ positive_descriptor: Approve
+ negative_descriptor: Reject
+ timeout_seconds: 7200
+ recipients:
+ subject: "Approval Required - Order Processing"
+ body: |
+ An order requires your approval before processing can continue.
+
+ Order details: {{order_details}}
+```
+</CodeGroup>
+
+| Parameter | Type | Default | Description |
+|-----------|------|---------|-------------|
+| `timeout_seconds` | integer | — | **Required.** How long to wait for a response (in seconds). |
+| `sender` | string | — | **Required.** Email address to send from. |
+| `recipients` | array | — | **Required.** List of email addresses to notify. |
+| `subject` | string | — | **Required.** Email subject line. |
+| `body` | string | — | **Required.** Email body content. |
+| `instructions` | string | `"Please review and approve or reject to continue the workflow."` | Instructions shown in the approval interface. |
+| `positive_descriptor` | string | `"Approve"` | Label for the approval button. |
+| `negative_descriptor` | string | `"Reject"` | Label for the rejection button. |
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Build a Workflow"
+ icon="hammer"
+ href="/multi-step-automations/build-a-workflow"
+ >
+ Create and run your first workflow
+ </Card>
+ <Card
+ title="Workflow Parameters"
+ icon="sliders"
+ href="/multi-step-automations/workflow-parameters"
+ >
+ Pass data between blocks with parameters
+ </Card>
+ <Card
+ title="File Operations"
+ icon="file"
+ href="/multi-step-automations/file-operations"
+ >
+ Parse, download, and upload files
+ </Card>
+ <Card
+ title="Webhooks"
+ icon="bell"
+ href="/going-to-production/webhooks"
+ >
+ Get notified when workflows complete
+ </Card>
+</CardGroup>
diff --git a/docs/multi-step-automations/workflow-parameters.mdx b/docs/multi-step-automations/workflow-parameters.mdx
new file mode 100644
index 000000000..076b74fa7
--- /dev/null
+++ b/docs/multi-step-automations/workflow-parameters.mdx
@@ -0,0 +1,818 @@
+---
+title: Workflow Parameters
+subtitle: Configure how your workflow runs
+slug: multi-step-automations/workflow-parameters
+---
+
+This page covers all parameters you can pass when creating and running workflows.
+
+---
+
+## Quick reference: Creating a workflow
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| [`title`](#title) **(Required)** | string | Name the workflow for identification |
+| [`workflow_definition`](#workflow_definition) **(Required)** | object | Define blocks, parameters, and logic |
+| [`description`](#description) | string | Document what the workflow does |
+| [`proxy_location`](#proxy_location-create) | string or object | Set default proxy for all blocks |
+| [`webhook_callback_url`](#webhook_callback_url) | string | Get notified when any run of this workflow completes |
+| [`persist_browser_session`](#persist_browser_session) | boolean | Keep the browser session alive across blocks |
+
+---
+
+## Quick reference: Running a workflow
+
+| Parameter | Type | Use this to |
+|-----------|------|-------------|
+| [`workflow_id`](#workflow_id) **(Required)** | string | Specify which workflow to run |
+| [`parameters`](#parameters) | object | Pass values for workflow input parameters |
+| [`title`](#title-run) | string | Name this specific workflow run |
+| [`proxy_location`](#proxy_location-run) | string or object | Override the default proxy location |
+| [`webhook_url`](#webhook_url) | string | Get notified when the workflow completes |
+| [`browser_session_id`](#browser_session_id) | string | Reuse a persistent browser session |
+| [`browser_profile_id`](#browser_profile_id) | string | Reuse a browser profile (cookies, storage) |
+
+---
+
+## Creating a workflow
+
+<Info>
+All create parameters (`title`, `workflow_definition`, `description`, `proxy_location`, etc.) are nested inside a **`json_definition`** object — not passed at the top level. You can alternatively use `yaml_definition` (a YAML string) instead.
+</Info>
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "...",
+ "workflow_definition": {...}
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "...",
+ workflow_definition: {...},
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "...",
+ "workflow_definition": {...}
+ }
+ }'
+```
+</CodeGroup>
+
+### `title`
+
+**Required.** Display name for the workflow. This field goes inside the `json_definition` object.
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Invoice Downloader",
+ "workflow_definition": {...}
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Invoice Downloader",
+ workflow_definition: {...},
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Invoice Downloader",
+ "workflow_definition": {...}
+ }
+ }'
+```
+</CodeGroup>
+
+---
+
+### `workflow_definition`
+
+**Required.** The workflow structure containing parameters and blocks.
+
+```json
+{
+ "workflow_definition": {
+ "parameters": [...],
+ "blocks": [...]
+ }
+}
+```
+
+#### `parameters`
+
+Input parameters the workflow accepts. Each parameter has:
+
+| Field | Type | Description |
+|-------|------|-------------|
+| `key` | string | Parameter name, used to reference via `{{ key }}` |
+| `parameter_type` | string | Always `"workflow"` for input parameters |
+| `workflow_parameter_type` | string | Data type: `string`, `integer`, `float`, `boolean`, `json`, `file_url`, `credential_id` |
+| `default_value` | any | Optional default value |
+| `description` | string | Optional description |
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url",
+ "description": "URL to the resume PDF"
+ },
+ {
+ "key": "job_urls",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "json",
+ "default_value": []
+ },
+ {
+ "key": "cover_letter",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string",
+ "default_value": ""
+ }
+ ],
+ "blocks": [...]
+ }
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Job Application Workflow",
+ workflow_definition: {
+ parameters: [
+ {
+ key: "resume",
+ parameter_type: "workflow",
+ workflow_parameter_type: "file_url",
+ description: "URL to the resume PDF",
+ },
+ {
+ key: "job_urls",
+ parameter_type: "workflow",
+ workflow_parameter_type: "json",
+ default_value: [],
+ },
+ {
+ key: "cover_letter",
+ parameter_type: "workflow",
+ workflow_parameter_type: "string",
+ default_value: "",
+ },
+ ],
+ blocks: [...],
+ },
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Job Application Workflow",
+ "workflow_definition": {
+ "parameters": [
+ {
+ "key": "resume",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "file_url",
+ "description": "URL to the resume PDF"
+ },
+ {
+ "key": "job_urls",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "json",
+ "default_value": []
+ },
+ {
+ "key": "cover_letter",
+ "parameter_type": "workflow",
+ "workflow_parameter_type": "string",
+ "default_value": ""
+ }
+ ],
+ "blocks": [...]
+ }
+ }
+ }'
+```
+</CodeGroup>
+
+**Parameter types:**
+
+| Type | Description | Example |
+|------|-------------|---------|
+| `string` | Text value | `"John Smith"` |
+| `integer` | Whole number | `42` |
+| `float` | Decimal number | `99.99` |
+| `boolean` | True/false | `true` |
+| `json` | JSON object or array | `{"key": "value"}` or `["a", "b"]` |
+| `file_url` | URL to a file | `"https://example.com/resume.pdf"` |
+| `credential_id` | Reference to a stored credential | `"cred_abc123"` |
+
+#### `blocks`
+
+Array of blocks that execute in sequence. See [Workflow Blocks Reference](/multi-step-automations/workflow-blocks-reference) for all block types.
+
+---
+
+### `description`
+
+Optional description of what the workflow does.
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Invoice Downloader",
+ "description": "Downloads all invoices from the vendor portal since a given date",
+ "workflow_definition": {...}
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Invoice Downloader",
+ description: "Downloads all invoices from the vendor portal since a given date",
+ workflow_definition: {...},
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Invoice Downloader",
+ "description": "Downloads all invoices from the vendor portal since a given date",
+ "workflow_definition": {...}
+ }
+ }'
+```
+</CodeGroup>
+
+---
+
+### `proxy_location` (create)
+
+Default proxy location for all blocks in the workflow. Individual blocks can override this.
+
+See [Proxy & Geo Targeting](/going-to-production/proxy-geolocation) for all available locations.
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "UK Price Checker",
+ "proxy_location": "RESIDENTIAL_GB",
+ "workflow_definition": {...}
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "UK Price Checker",
+ proxy_location: "RESIDENTIAL_GB",
+ workflow_definition: {...},
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "UK Price Checker",
+ "proxy_location": "RESIDENTIAL_GB",
+ "workflow_definition": {...}
+ }
+ }'
+```
+</CodeGroup>
+
+---
+
+### `webhook_callback_url`
+
+URL to receive a POST request whenever any run of this workflow completes. This is set at the workflow level and applies to all runs. To set a webhook for a single run instead, use [`webhook_url`](#webhook_url) when running the workflow.
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Invoice Downloader",
+ "webhook_callback_url": "https://your-server.com/webhook",
+ "workflow_definition": {...}
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Invoice Downloader",
+ webhook_callback_url: "https://your-server.com/webhook",
+ workflow_definition: {...},
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Invoice Downloader",
+ "webhook_callback_url": "https://your-server.com/webhook",
+ "workflow_definition": {...}
+ }
+ }'
+```
+</CodeGroup>
+
+---
+
+### `persist_browser_session`
+
+If `true`, the browser session is kept alive across all blocks in the workflow. This means blocks share the same browser context including cookies, local storage, and login state.
+
+Defaults to `false`.
+
+<CodeGroup>
+```python Python
+workflow = await client.create_workflow(
+ json_definition={
+ "title": "Multi-Step Portal Scraper",
+ "persist_browser_session": True,
+ "workflow_definition": {...}
+ }
+)
+```
+
+```typescript TypeScript
+const workflow = await client.createWorkflow({
+ body: {
+ json_definition: {
+ title: "Multi-Step Portal Scraper",
+ persist_browser_session: true,
+ workflow_definition: {...},
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "json_definition": {
+ "title": "Multi-Step Portal Scraper",
+ "persist_browser_session": true,
+ "workflow_definition": {...}
+ }
+ }'
+```
+</CodeGroup>
+
+<Info>
+Additional advanced parameters are available when creating a workflow, including `totp_verification_url`, `totp_identifier`, `model`, and `extra_http_headers`. See the [API Reference](/api-reference) for the full list.
+</Info>
+
+---
+
+## Running a workflow
+
+### `workflow_id`
+
+**Required.** The ID of the workflow to run. This is the `workflow_permanent_id` returned when creating the workflow.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={...}
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {...},
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {...}
+ }'
+```
+</CodeGroup>
+
+---
+
+### `parameters`
+
+Values for the workflow's input parameters. Keys must match the `key` field in the workflow's parameter definitions.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={
+ "resume": "https://example.com/resume.pdf",
+ "job_urls": [
+ "https://jobs.lever.co/company/position-1",
+ "https://jobs.lever.co/company/position-2"
+ ],
+ "cover_letter": "I am excited to apply for this position..."
+ }
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {
+ resume: "https://example.com/resume.pdf",
+ job_urls: [
+ "https://jobs.lever.co/company/position-1",
+ "https://jobs.lever.co/company/position-2",
+ ],
+ cover_letter: "I am excited to apply for this position...",
+ },
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {
+ "resume": "https://example.com/resume.pdf",
+ "job_urls": [
+ "https://jobs.lever.co/company/position-1",
+ "https://jobs.lever.co/company/position-2"
+ ],
+ "cover_letter": "I am excited to apply for this position..."
+ }
+ }'
+```
+</CodeGroup>
+
+Parameters with `default_value` in the workflow definition are optional. Parameters without defaults are required.
+
+---
+
+### `proxy_location` (run)
+
+Override the workflow's default proxy location for this run.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={...},
+ proxy_location="RESIDENTIAL_CA"
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {...},
+ proxy_location: "RESIDENTIAL_CA",
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {...},
+ "proxy_location": "RESIDENTIAL_CA"
+ }'
+```
+</CodeGroup>
+
+**Proxy locations:**
+
+| Value | Location |
+|-------|----------|
+| `RESIDENTIAL` | United States **(default)** |
+| `RESIDENTIAL_ISP` | United States (static ISP IPs) |
+| `RESIDENTIAL_AR` | Argentina |
+| `RESIDENTIAL_AU` | Australia |
+| `RESIDENTIAL_BR` | Brazil |
+| `RESIDENTIAL_CA` | Canada |
+| `RESIDENTIAL_DE` | Germany |
+| `RESIDENTIAL_ES` | Spain |
+| `RESIDENTIAL_FR` | France |
+| `RESIDENTIAL_GB` | United Kingdom |
+| `RESIDENTIAL_IE` | Ireland |
+| `RESIDENTIAL_IN` | India |
+| `RESIDENTIAL_IT` | Italy |
+| `RESIDENTIAL_JP` | Japan |
+| `RESIDENTIAL_MX` | Mexico |
+| `RESIDENTIAL_NL` | Netherlands |
+| `RESIDENTIAL_NZ` | New Zealand |
+| `RESIDENTIAL_TR` | Türkiye |
+| `RESIDENTIAL_ZA` | South Africa |
+| `NONE` | No proxy |
+
+For US state or city-level targeting, pass a `GeoTarget` object instead:
+
+```json
+{
+ "proxy_location": {
+ "country": "US",
+ "subdivision": "CA",
+ "city": "San Francisco"
+ }
+}
+```
+
+`country` is required (ISO 3166-1 alpha-2 code). `subdivision` and `city` are optional.
+
+See [Proxy & Geo Targeting](/going-to-production/proxy-geolocation) for more details.
+
+---
+
+### `webhook_url`
+
+URL to receive a POST request when the workflow completes.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ parameters={...},
+ webhook_url="https://your-server.com/webhook"
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ parameters: {...},
+ webhook_url: "https://your-server.com/webhook",
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "parameters": {...},
+ "webhook_url": "https://your-server.com/webhook"
+ }'
+```
+</CodeGroup>
+
+The webhook payload contains the same data as the polling response. See [Webhooks](/going-to-production/webhooks) for authentication and retry options.
+
+---
+
+### `title` (run)
+
+Optional display name for this specific workflow run. Useful for distinguishing runs in the UI and API responses.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ title="January 2025 Invoice Batch",
+ parameters={...}
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ title: "January 2025 Invoice Batch",
+ parameters: {...},
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "title": "January 2025 Invoice Batch",
+ "parameters": {...}
+ }'
+```
+</CodeGroup>
+
+---
+
+### `browser_session_id`
+
+ID of an existing Skyvern browser session to reuse. The workflow run continues from the current screen state of that session. Browser session IDs start with `pbs_`.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ browser_session_id="pbs_abc123",
+ parameters={...}
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ browser_session_id: "pbs_abc123",
+ parameters: {...},
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "browser_session_id": "pbs_abc123",
+ "parameters": {...}
+ }'
+```
+</CodeGroup>
+
+---
+
+### `browser_profile_id`
+
+ID of a browser profile to reuse. Browser profiles persist cookies, local storage, and other browser state across runs. Profile IDs start with `bp_`.
+
+<CodeGroup>
+```python Python
+run = await client.run_workflow(
+ workflow_id="wpid_123456789",
+ browser_profile_id="bp_xyz789",
+ parameters={...}
+)
+```
+
+```typescript TypeScript
+const run = await client.runWorkflow({
+ body: {
+ workflow_id: "wpid_123456789",
+ browser_profile_id: "bp_xyz789",
+ parameters: {...},
+ },
+});
+```
+
+```bash cURL
+curl -X POST "https://api.skyvern.com/v1/run/workflows" \
+ -H "x-api-key: $SKYVERN_API_KEY" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "workflow_id": "wpid_123456789",
+ "browser_profile_id": "bp_xyz789",
+ "parameters": {...}
+ }'
+```
+</CodeGroup>
+
+<Info>
+Additional advanced parameters are available when running a workflow, including `totp_url`, `totp_identifier`, `browser_address`, `extra_http_headers`, and `max_screenshot_scrolls`. See the [API Reference](/api-reference) for the full list.
+</Info>
+
+---
+
+## Run response
+
+When you run a workflow, the response contains:
+
+| Field | Type | Description |
+|-------|------|-------------|
+| `run_id` | string | Unique ID for this run (starts with `wr_`). |
+| `status` | string | One of: `created`, `queued`, `running`, `completed`, `failed`, `terminated`, `timed_out`, `canceled`. |
+| `output` | object/array/string/null | Extracted data from the workflow, if any. |
+| `failure_reason` | string/null | Why the run failed, if applicable. |
+| `errors` | array/null | List of errors encountered during the run. |
+| `downloaded_files` | array/null | Files downloaded during the run. |
+| `recording_url` | string/null | URL to the browser recording. |
+| `screenshot_urls` | array/null | Latest screenshots in reverse chronological order. |
+| `app_url` | string/null | Link to view this run in the Skyvern UI. |
+| `created_at` | datetime | When the run was created. |
+| `started_at` | datetime/null | When execution started. |
+| `finished_at` | datetime/null | When execution finished. |
+
+---
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card
+ title="Build a Workflow"
+ icon="hammer"
+ href="/multi-step-automations/build-a-workflow"
+ >
+ Create and run your first workflow
+ </Card>
+ <Card
+ title="Workflow Blocks Reference"
+ icon="cube"
+ href="/multi-step-automations/workflow-blocks-reference"
+ >
+ Detailed documentation for all block types
+ </Card>
+ <Card
+ title="Proxy & Geo Targeting"
+ icon="globe"
+ href="/going-to-production/proxy-geolocation"
+ >
+ Full list of proxy locations
+ </Card>
+ <Card
+ title="Webhooks"
+ icon="webhook"
+ href="/going-to-production/webhooks"
+ >
+ Handle webhook authentication and retries
+ </Card>
+</CardGroup>
diff --git a/docs/running-automations/extract-structured-data.mdx b/docs/running-automations/extract-structured-data.mdx
index a33d706fc..7bae5ecf6 100644
--- a/docs/running-automations/extract-structured-data.mdx
+++ b/docs/running-automations/extract-structured-data.mdx
@@ -32,11 +32,12 @@ export const SchemaBuilder = () => {
setFields(fields.map((f) => (f.id === id ? { ...f, [key]: value } : f)))
}
- // Track duplicate field names
const duplicateNames = useMemo(() => {
const names = fields.map((f) => f.name).filter((n) => n.trim() !== "")
const counts = {}
- names.forEach((n) => { counts[n] = (counts[n] || 0) + 1 })
+ for (const n of names) {
+ counts[n] = (counts[n] || 0) + 1
+ }
return new Set(Object.keys(counts).filter((n) => counts[n] > 1))
}, [fields])
@@ -68,7 +69,6 @@ export const SchemaBuilder = () => {
const formattedOutput = useMemo(() => {
const jsonStr = JSON.stringify(schema, null, 2)
if (outputFormat === "python") {
- // Only replace JSON literals at value positions (after ": "), not inside quoted strings
return `data_extraction_schema=${jsonStr.replace(/: null/g, ": None").replace(/: true/g, ": True").replace(/: false/g, ": False")}`
}
if (outputFormat === "typescript") {
@@ -290,7 +290,7 @@ A schema doesn't guarantee all fields are populated. If the data isn't on the pa
## Build your schema
-Use the interactive builder below to generate a schema, then copy it into your code.
+Use the interactive builder to generate a schema, then copy it into your code.
<SchemaBuilder />
diff --git a/docs/running-automations/run-a-task.mdx b/docs/running-automations/run-a-task.mdx
index 56fee9488..ff818ff43 100644
--- a/docs/running-automations/run-a-task.mdx
+++ b/docs/running-automations/run-a-task.mdx
@@ -297,10 +297,6 @@ The response from polling (`get_run`) and webhooks have slightly different struc
```
</CodeGroup>
-<Note>
-Webhook payloads differ from polling responses: webhooks include `summary` and `organization_id`; polling includes `run_request`. Plan your integration accordingly.
-</Note>
-
**Common fields (both polling and webhook):**
| Field | Type | Description |