Skip to content

Automate browser based workflows with AI

Update API specifications with fern api update (#3329)

Shuchang Zhengdd8f1892344d
diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.json
index 1a63d4108..b700ed1bc 100644
--- a/fern/openapi/skyvern_openapi.json
+++ b/fern/openapi/skyvern_openapi.json
@@ -975,6 +975,95 @@
]
}
},
+ "/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.",
+ "examples": [
+ "wr_123",
+ "tsk_v2_123"
+ ],
+ "title": "Run Id"
+ },
+ "description": "The id of the workflow run or task_v2 run."
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved 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"
+ }
+ }
+ }
+ }
+ },
+ "x-fern-sdk-method-name": "get_run_timeline",
+ "x-fern-examples": [
+ {
+ "code-samples": [
+ {
+ "sdk": "python",
+ "code": "from skyvern import Skyvern\n\nskyvern = Skyvern(api_key=\"YOUR_API_KEY\")\n# Get timeline for a workflow run\ntimeline = await skyvern.get_run_timeline(run_id=\"wr_123\")\nprint(timeline)\n\n# Get timeline for a task_v2 run\ntimeline = await skyvern.get_run_timeline(run_id=\"tsk_v2_123\")\nprint(timeline)\n"
+ }
+ ]
+ }
+ ]
+ }
+ },
"/v1/browser_sessions": {
"post": {
"tags": [
@@ -2245,44 +2334,27 @@
],
"title": "AWSSecretParameterYAML"
},
- "ActionBlock": {
+ "Action": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "action",
- "title": "Block Type",
- "default": "action"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "action_type": {
+ "$ref": "#/components/schemas/ActionType"
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "status": {
+ "$ref": "#/components/schemas/ActionStatus",
+ "default": "pending"
},
- "model": {
+ "action_id": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
+ "title": "Action Id"
},
- "url": {
+ "source_action_id": {
"anyOf": [
{
"type": "string"
@@ -2291,18 +2363,9 @@
"type": "null"
}
],
- "title": "Url"
- },
- "title": {
- "type": "string",
- "title": "Title",
- "default": ""
- },
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "title": "Source Action Id"
},
- "complete_criterion": {
+ "organization_id": {
"anyOf": [
{
"type": "string"
@@ -2311,9 +2374,9 @@
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Organization Id"
},
- "terminate_criterion": {
+ "workflow_run_id": {
"anyOf": [
{
"type": "string"
@@ -2322,9 +2385,9 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Workflow Run Id"
},
- "navigation_goal": {
+ "task_id": {
"anyOf": [
{
"type": "string"
@@ -2333,9 +2396,9 @@
"type": "null"
}
],
- "title": "Navigation Goal"
+ "title": "Task Id"
},
- "data_extraction_goal": {
+ "step_id": {
"anyOf": [
{
"type": "string"
@@ -2344,117 +2407,75 @@
"type": "null"
}
],
- "title": "Data Extraction Goal"
+ "title": "Step Id"
},
- "data_schema": {
+ "step_order": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "integer"
},
{
- "items": {},
- "type": "array"
- },
+ "type": "null"
+ }
+ ],
+ "title": "Step Order"
+ },
+ "action_order": {
+ "anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Data Schema"
+ "title": "Action Order"
},
- "error_code_mapping": {
+ "confidence_float": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "number"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Confidence Float"
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
- },
- "max_steps_per_run": {
+ "description": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "title": "Description"
},
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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"
- }
+ "reasoning": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
}
- },
- "type": "array",
- "title": "Parameters",
- "default": []
+ ],
+ "title": "Reasoning"
},
- "complete_on_download": {
- "type": "boolean",
- "title": "Complete On Download",
- "default": false
+ "intention": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Intention"
},
- "download_suffix": {
+ "response": {
"anyOf": [
{
"type": "string"
@@ -2463,9 +2484,9 @@
"type": "null"
}
],
- "title": "Download Suffix"
+ "title": "Response"
},
- "totp_verification_url": {
+ "element_id": {
"anyOf": [
{
"type": "string"
@@ -2474,9 +2495,9 @@
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Element Id"
},
- "totp_identifier": {
+ "skyvern_element_hash": {
"anyOf": [
{
"type": "string"
@@ -2485,61 +2506,57 @@
"type": "null"
}
],
- "title": "Totp Identifier"
+ "title": "Skyvern Element Hash"
},
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
+ "skyvern_element_data": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Skyvern Element Data"
},
- "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",
- "output_parameter"
- ],
- "title": "ActionBlock"
- },
- "ActionBlockYAML": {
- "properties": {
- "block_type": {
- "type": "string",
- "const": "action",
- "title": "Block Type",
- "default": "action"
- },
- "label": {
- "type": "string",
- "title": "Label"
+ "tool_call_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Tool Call Id"
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "errors": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/components/schemas/UserDefinedError"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Errors"
},
- "model": {
+ "data_extraction_goal": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Data Extraction Goal"
},
- "url": {
+ "file_name": {
"anyOf": [
{
"type": "string"
@@ -2548,89 +2565,103 @@
"type": "null"
}
],
- "title": "Url"
+ "title": "File Name"
},
- "title": {
- "type": "string",
- "title": "Title",
- "default": ""
+ "file_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "File Url"
},
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "download": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Download"
},
- "navigation_goal": {
+ "is_upload_file_tag": {
"anyOf": [
{
- "type": "string"
+ "type": "boolean"
},
{
"type": "null"
}
],
- "title": "Navigation Goal"
+ "title": "Is Upload File Tag"
},
- "error_code_mapping": {
+ "text": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Text"
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "option": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/SelectOption"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "parameter_keys": {
+ "is_checked": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "type": "boolean"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
+ "title": "Is Checked"
},
- "complete_on_download": {
+ "verified": {
"type": "boolean",
- "title": "Complete On Download",
+ "title": "Verified",
"default": false
},
- "download_suffix": {
+ "created_at": {
"anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Download Suffix"
+ "title": "Created At"
},
- "totp_verification_url": {
+ "modified_at": {
"anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Modified At"
},
- "totp_identifier": {
+ "created_by": {
"anyOf": [
{
"type": "string"
@@ -2639,50 +2670,53 @@
"type": "null"
}
],
- "title": "Totp Identifier"
- },
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
+ "title": "Created By"
}
},
"type": "object",
"required": [
- "label"
+ "action_type"
],
- "title": "ActionBlockYAML"
+ "title": "Action"
},
- "Artifact": {
+ "ActionBlock": {
"properties": {
- "created_at": {
+ "label": {
"type": "string",
- "title": "Created At",
- "description": "The creation datetime of the task.",
- "examples": [
- "2023-01-01T00:00:00Z"
- ]
+ "title": "Label"
},
- "modified_at": {
+ "block_type": {
"type": "string",
- "title": "Modified At",
- "description": "The modification datetime of the task.",
- "examples": [
- "2023-01-01T00:00:00Z"
- ]
+ "const": "action",
+ "title": "Block Type",
+ "default": "action"
},
- "artifact_id": {
- "type": "string",
- "title": "Artifact Id"
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
},
- "artifact_type": {
- "$ref": "#/components/schemas/ArtifactType"
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
},
- "uri": {
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "task_type": {
"type": "string",
- "title": "Uri"
+ "title": "Task Type",
+ "default": "general"
},
- "task_id": {
+ "url": {
"anyOf": [
{
"type": "string"
@@ -2691,9 +2725,18 @@
"type": "null"
}
],
- "title": "Task Id"
+ "title": "Url"
},
- "step_id": {
+ "title": {
+ "type": "string",
+ "title": "Title",
+ "default": ""
+ },
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "complete_criterion": {
"anyOf": [
{
"type": "string"
@@ -2702,9 +2745,9 @@
"type": "null"
}
],
- "title": "Step Id"
+ "title": "Complete Criterion"
},
- "workflow_run_id": {
+ "terminate_criterion": {
"anyOf": [
{
"type": "string"
@@ -2713,9 +2756,9 @@
"type": "null"
}
],
- "title": "Workflow Run Id"
+ "title": "Terminate Criterion"
},
- "workflow_run_block_id": {
+ "navigation_goal": {
"anyOf": [
{
"type": "string"
@@ -2724,9 +2767,9 @@
"type": "null"
}
],
- "title": "Workflow Run Block Id"
+ "title": "Navigation Goal"
},
- "observer_cruise_id": {
+ "data_extraction_goal": {
"anyOf": [
{
"type": "string"
@@ -2735,10 +2778,18 @@
"type": "null"
}
],
- "title": "Observer Cruise Id"
+ "title": "Data Extraction Goal"
},
- "observer_thought_id": {
+ "data_schema": {
"anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
{
"type": "string"
},
@@ -2746,91 +2797,98 @@
"type": "null"
}
],
- "title": "Observer Thought Id"
+ "title": "Data Schema"
},
- "ai_suggestion_id": {
+ "error_code_mapping": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Ai Suggestion Id"
+ "title": "Error Code Mapping"
},
- "signed_url": {
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
+ },
+ "max_steps_per_run": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Signed Url"
+ "title": "Max Steps Per Run"
},
- "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"
- ],
- "title": "ArtifactType"
- },
- "AzureSecretParameter": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "azure_secret",
- "title": "Parameter Type",
- "default": "azure_secret"
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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": []
},
- "key": {
- "type": "string",
- "title": "Key"
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
},
- "description": {
+ "download_suffix": {
"anyOf": [
{
"type": "string"
@@ -2839,242 +2897,152 @@
"type": "null"
}
],
- "title": "Description"
- },
- "azure_secret_parameter_id": {
- "type": "string",
- "title": "Azure Secret Parameter Id"
- },
- "workflow_id": {
- "type": "string",
- "title": "Workflow Id"
- },
- "azure_key": {
- "type": "string",
- "title": "Azure Key"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At"
+ "title": "Download Suffix"
},
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At"
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
},
- "deleted_at": {
+ "totp_identifier": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Deleted At"
+ "title": "Totp Identifier"
+ },
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
+ },
+ "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": [
- "key",
- "azure_secret_parameter_id",
- "workflow_id",
- "azure_key",
- "created_at",
- "modified_at"
+ "label",
+ "output_parameter"
],
- "title": "AzureSecretParameter"
+ "title": "ActionBlock"
},
- "BitwardenCreditCardDataParameter": {
+ "ActionBlockYAML": {
"properties": {
- "parameter_type": {
+ "block_type": {
"type": "string",
- "const": "bitwarden_credit_card_data",
- "title": "Parameter Type",
- "default": "bitwarden_credit_card_data"
+ "const": "action",
+ "title": "Block Type",
+ "default": "action"
},
- "key": {
+ "label": {
"type": "string",
- "title": "Key"
+ "title": "Label"
},
- "description": {
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Description"
- },
- "bitwarden_credit_card_data_parameter_id": {
- "type": "string",
- "title": "Bitwarden Credit Card Data Parameter Id"
- },
- "workflow_id": {
- "type": "string",
- "title": "Workflow Id"
- },
- "bitwarden_client_id_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Id Aws Secret Key"
- },
- "bitwarden_client_secret_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Secret Aws Secret Key"
- },
- "bitwarden_master_password_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Master Password Aws Secret Key"
- },
- "bitwarden_collection_id": {
- "type": "string",
- "title": "Bitwarden Collection Id"
+ "title": "Model"
},
- "bitwarden_item_id": {
- "type": "string",
- "title": "Bitwarden Item Id"
+ "url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Url"
},
- "created_at": {
+ "title": {
"type": "string",
- "format": "date-time",
- "title": "Created At"
+ "title": "Title",
+ "default": ""
},
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At"
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
},
- "deleted_at": {
+ "navigation_goal": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Deleted At"
- }
- },
- "type": "object",
- "required": [
- "key",
- "bitwarden_credit_card_data_parameter_id",
- "workflow_id",
- "bitwarden_client_id_aws_secret_key",
- "bitwarden_client_secret_aws_secret_key",
- "bitwarden_master_password_aws_secret_key",
- "bitwarden_collection_id",
- "bitwarden_item_id",
- "created_at",
- "modified_at"
- ],
- "title": "BitwardenCreditCardDataParameter"
- },
- "BitwardenCreditCardDataParameterYAML": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "bitwarden_credit_card_data",
- "title": "Parameter Type",
- "default": "bitwarden_credit_card_data"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "title": "Navigation Goal"
},
- "description": {
+ "error_code_mapping": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Description"
- },
- "bitwarden_client_id_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Id Aws Secret Key"
- },
- "bitwarden_client_secret_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Secret Aws Secret Key"
- },
- "bitwarden_master_password_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Master Password Aws Secret Key"
- },
- "bitwarden_collection_id": {
- "type": "string",
- "title": "Bitwarden Collection Id"
- },
- "bitwarden_item_id": {
- "type": "string",
- "title": "Bitwarden Item Id"
- }
- },
- "type": "object",
- "required": [
- "key",
- "bitwarden_client_id_aws_secret_key",
- "bitwarden_client_secret_aws_secret_key",
- "bitwarden_master_password_aws_secret_key",
- "bitwarden_collection_id",
- "bitwarden_item_id"
- ],
- "title": "BitwardenCreditCardDataParameterYAML"
- },
- "BitwardenLoginCredentialParameter": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "bitwarden_login_credential",
- "title": "Parameter Type",
- "default": "bitwarden_login_credential"
+ "title": "Error Code Mapping"
},
- "key": {
- "type": "string",
- "title": "Key"
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
},
- "description": {
+ "parameter_keys": {
"anyOf": [
{
- "type": "string"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
{
"type": "null"
}
],
- "title": "Description"
- },
- "bitwarden_login_credential_parameter_id": {
- "type": "string",
- "title": "Bitwarden Login Credential Parameter Id"
- },
- "workflow_id": {
- "type": "string",
- "title": "Workflow Id"
- },
- "bitwarden_client_id_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Id Aws Secret Key"
- },
- "bitwarden_client_secret_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Secret Aws Secret Key"
+ "title": "Parameter Keys"
},
- "bitwarden_master_password_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Master Password Aws Secret Key"
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
},
- "url_parameter_key": {
+ "download_suffix": {
"anyOf": [
{
"type": "string"
@@ -3083,9 +3051,9 @@
"type": "null"
}
],
- "title": "Url Parameter Key"
+ "title": "Download Suffix"
},
- "bitwarden_collection_id": {
+ "totp_verification_url": {
"anyOf": [
{
"type": "string"
@@ -3094,9 +3062,9 @@
"type": "null"
}
],
- "title": "Bitwarden Collection Id"
+ "title": "Totp Verification Url"
},
- "bitwarden_item_id": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -3105,57 +3073,85 @@
"type": "null"
}
],
- "title": "Bitwarden Item Id"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At"
- },
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At"
+ "title": "Totp Identifier"
},
- "deleted_at": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ],
- "title": "Deleted At"
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
}
},
"type": "object",
"required": [
- "key",
- "bitwarden_login_credential_parameter_id",
- "workflow_id",
- "bitwarden_client_id_aws_secret_key",
- "bitwarden_client_secret_aws_secret_key",
- "bitwarden_master_password_aws_secret_key",
- "created_at",
- "modified_at"
+ "label"
],
- "title": "BitwardenLoginCredentialParameter"
+ "title": "ActionBlockYAML"
},
- "BitwardenLoginCredentialParameterYAML": {
+ "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",
+ "null_action",
+ "solve_captcha",
+ "terminate",
+ "complete",
+ "reload_page",
+ "extract",
+ "verification_code",
+ "scroll",
+ "keypress",
+ "move",
+ "drag",
+ "left_mouse"
+ ],
+ "title": "ActionType"
+ },
+ "Artifact": {
"properties": {
- "parameter_type": {
+ "created_at": {
"type": "string",
- "const": "bitwarden_login_credential",
- "title": "Parameter Type",
- "default": "bitwarden_login_credential"
+ "title": "Created At",
+ "description": "The creation datetime of the task.",
+ "examples": [
+ "2023-01-01T00:00:00Z"
+ ]
},
- "key": {
+ "modified_at": {
"type": "string",
- "title": "Key"
+ "title": "Modified At",
+ "description": "The modification datetime of the task.",
+ "examples": [
+ "2023-01-01T00:00:00Z"
+ ]
},
- "description": {
+ "artifact_id": {
+ "type": "string",
+ "title": "Artifact Id"
+ },
+ "artifact_type": {
+ "$ref": "#/components/schemas/ArtifactType"
+ },
+ "uri": {
+ "type": "string",
+ "title": "Uri"
+ },
+ "task_id": {
"anyOf": [
{
"type": "string"
@@ -3164,21 +3160,9 @@
"type": "null"
}
],
- "title": "Description"
- },
- "bitwarden_client_id_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Id Aws Secret Key"
- },
- "bitwarden_client_secret_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Client Secret Aws Secret Key"
- },
- "bitwarden_master_password_aws_secret_key": {
- "type": "string",
- "title": "Bitwarden Master Password Aws Secret Key"
+ "title": "Task Id"
},
- "url_parameter_key": {
+ "step_id": {
"anyOf": [
{
"type": "string"
@@ -3187,9 +3171,9 @@
"type": "null"
}
],
- "title": "Url Parameter Key"
+ "title": "Step Id"
},
- "bitwarden_collection_id": {
+ "workflow_run_id": {
"anyOf": [
{
"type": "string"
@@ -3198,9 +3182,9 @@
"type": "null"
}
],
- "title": "Bitwarden Collection Id"
+ "title": "Workflow Run Id"
},
- "bitwarden_item_id": {
+ "workflow_run_block_id": {
"anyOf": [
{
"type": "string"
@@ -3209,31 +3193,9 @@
"type": "null"
}
],
- "title": "Bitwarden Item Id"
- }
- },
- "type": "object",
- "required": [
- "key",
- "bitwarden_client_id_aws_secret_key",
- "bitwarden_client_secret_aws_secret_key",
- "bitwarden_master_password_aws_secret_key"
- ],
- "title": "BitwardenLoginCredentialParameterYAML"
- },
- "BitwardenSensitiveInformationParameter": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "bitwarden_sensitive_information",
- "title": "Parameter Type",
- "default": "bitwarden_sensitive_information"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "title": "Workflow Run Block Id"
},
- "description": {
+ "observer_cruise_id": {
"anyOf": [
{
"type": "string"
@@ -3242,11 +3204,184 @@
"type": "null"
}
],
- "title": "Description"
+ "title": "Observer Cruise Id"
},
- "bitwarden_sensitive_information_parameter_id": {
+ "observer_thought_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Observer Thought Id"
+ },
+ "ai_suggestion_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Ai Suggestion Id"
+ },
+ "signed_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Signed Url"
+ },
+ "organization_id": {
"type": "string",
- "title": "Bitwarden Sensitive Information Parameter Id"
+ "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"
+ ],
+ "title": "ArtifactType"
+ },
+ "AzureSecretParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "azure_secret",
+ "title": "Parameter Type",
+ "default": "azure_secret"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "azure_secret_parameter_id": {
+ "type": "string",
+ "title": "Azure Secret Parameter Id"
+ },
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
+ },
+ "azure_key": {
+ "type": "string",
+ "title": "Azure Key"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "azure_secret_parameter_id",
+ "workflow_id",
+ "azure_key",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "AzureSecretParameter"
+ },
+ "BitwardenCreditCardDataParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "bitwarden_credit_card_data",
+ "title": "Parameter Type",
+ "default": "bitwarden_credit_card_data"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "bitwarden_credit_card_data_parameter_id": {
+ "type": "string",
+ "title": "Bitwarden Credit Card Data Parameter Id"
},
"workflow_id": {
"type": "string",
@@ -3268,16 +3403,9 @@
"type": "string",
"title": "Bitwarden Collection Id"
},
- "bitwarden_identity_key": {
+ "bitwarden_item_id": {
"type": "string",
- "title": "Bitwarden Identity Key"
- },
- "bitwarden_identity_fields": {
- "items": {
- "type": "string"
- },
- "type": "array",
- "title": "Bitwarden Identity Fields"
+ "title": "Bitwarden Item Id"
},
"created_at": {
"type": "string",
@@ -3305,26 +3433,25 @@
"type": "object",
"required": [
"key",
- "bitwarden_sensitive_information_parameter_id",
+ "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_identity_key",
- "bitwarden_identity_fields",
+ "bitwarden_item_id",
"created_at",
"modified_at"
],
- "title": "BitwardenSensitiveInformationParameter"
+ "title": "BitwardenCreditCardDataParameter"
},
- "BitwardenSensitiveInformationParameterYAML": {
+ "BitwardenCreditCardDataParameterYAML": {
"properties": {
"parameter_type": {
"type": "string",
- "const": "bitwarden_sensitive_information",
+ "const": "bitwarden_credit_card_data",
"title": "Parameter Type",
- "default": "bitwarden_sensitive_information"
+ "default": "bitwarden_credit_card_data"
},
"key": {
"type": "string",
@@ -3357,16 +3484,9 @@
"type": "string",
"title": "Bitwarden Collection Id"
},
- "bitwarden_identity_key": {
+ "bitwarden_item_id": {
"type": "string",
- "title": "Bitwarden Identity Key"
- },
- "bitwarden_identity_fields": {
- "items": {
- "type": "string"
- },
- "type": "array",
- "title": "Bitwarden Identity Fields"
+ "title": "Bitwarden Item Id"
}
},
"type": "object",
@@ -3376,27 +3496,23 @@
"bitwarden_client_secret_aws_secret_key",
"bitwarden_master_password_aws_secret_key",
"bitwarden_collection_id",
- "bitwarden_identity_key",
- "bitwarden_identity_fields"
+ "bitwarden_item_id"
],
- "title": "BitwardenSensitiveInformationParameterYAML"
+ "title": "BitwardenCreditCardDataParameterYAML"
},
- "BrowserSessionResponse": {
+ "BitwardenLoginCredentialParameter": {
"properties": {
- "browser_session_id": {
+ "parameter_type": {
"type": "string",
- "title": "Browser Session Id",
- "description": "Unique identifier for the browser session. browser_session_id starts with `pbs_`.",
- "examples": [
- "pbs_123456"
- ]
+ "const": "bitwarden_login_credential",
+ "title": "Parameter Type",
+ "default": "bitwarden_login_credential"
},
- "organization_id": {
+ "key": {
"type": "string",
- "title": "Organization Id",
- "description": "ID of the organization that owns this session"
+ "title": "Key"
},
- "runnable_type": {
+ "description": {
"anyOf": [
{
"type": "string"
@@ -3405,62 +3521,29 @@
"type": "null"
}
],
- "title": "Runnable Type",
- "description": "Type of the current runnable associated with this session (workflow, task etc)",
- "examples": [
- "task",
- "workflow_run"
- ]
+ "title": "Description"
},
- "runnable_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Runnable Id",
- "description": "ID of the current runnable",
- "examples": [
- "tsk_123456",
- "wr_123456"
- ]
+ "bitwarden_login_credential_parameter_id": {
+ "type": "string",
+ "title": "Bitwarden Login Credential Parameter Id"
},
- "timeout": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "title": "Timeout",
- "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Defaults to 60 minutes.",
- "examples": [
- 60,
- 120
- ]
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
},
- "browser_address": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Browser Address",
- "description": "Url for connecting to the browser",
- "examples": [
- "http://localhost:9222",
- "https://3.12.10.11/browser/123456"
- ]
+ "bitwarden_client_id_aws_secret_key": {
+ "type": "string",
+ "title": "Bitwarden Client Id Aws Secret Key"
},
- "app_url": {
+ "bitwarden_client_secret_aws_secret_key": {
+ "type": "string",
+ "title": "Bitwarden Client Secret Aws Secret Key"
+ },
+ "bitwarden_master_password_aws_secret_key": {
+ "type": "string",
+ "title": "Bitwarden Master Password Aws Secret Key"
+ },
+ "url_parameter_key": {
"anyOf": [
{
"type": "string"
@@ -3469,49 +3552,39 @@
"type": "null"
}
],
- "title": "App Url",
- "description": "Url for the browser session page",
- "examples": [
- "https://app.skyvern.com/browser-session/pbs_123456"
- ]
+ "title": "Url Parameter Key"
},
- "started_at": {
+ "bitwarden_collection_id": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Started At",
- "description": "Timestamp when the session was started"
+ "title": "Bitwarden Collection Id"
},
- "completed_at": {
+ "bitwarden_item_id": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Completed At",
- "description": "Timestamp when the session was completed"
+ "title": "Bitwarden Item Id"
},
"created_at": {
"type": "string",
"format": "date-time",
- "title": "Created At",
- "description": "Timestamp when the session was created (the timestamp for the initial request)"
+ "title": "Created At"
},
"modified_at": {
"type": "string",
"format": "date-time",
- "title": "Modified At",
- "description": "Timestamp when the session was last modified"
+ "title": "Modified At"
},
"deleted_at": {
"anyOf": [
@@ -3523,181 +3596,107 @@
"type": "null"
}
],
- "title": "Deleted At",
- "description": "Timestamp when the session was deleted, if applicable"
+ "title": "Deleted At"
}
},
"type": "object",
"required": [
- "browser_session_id",
- "organization_id",
+ "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": "BrowserSessionResponse",
- "description": "Response model for browser session information."
+ "title": "BitwardenLoginCredentialParameter"
},
- "CodeBlock": {
+ "BitwardenLoginCredentialParameterYAML": {
"properties": {
- "label": {
+ "parameter_type": {
"type": "string",
- "title": "Label"
+ "const": "bitwarden_login_credential",
+ "title": "Parameter Type",
+ "default": "bitwarden_login_credential"
},
- "block_type": {
+ "key": {
"type": "string",
- "const": "code",
- "title": "Block Type",
- "default": "code"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Key"
},
- "model": {
+ "description": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Description"
},
- "code": {
+ "bitwarden_client_id_aws_secret_key": {
"type": "string",
- "title": "Code"
+ "title": "Bitwarden Client Id Aws Secret Key"
},
- "parameters": {
- "items": {
- "oneOf": [
- {
- "$ref": "#/components/schemas/WorkflowParameter"
- },
- {
- "$ref": "#/components/schemas/ContextParameter"
- },
- {
- "$ref": "#/components/schemas/AWSSecretParameter"
- },
- {
- "$ref": "#/components/schemas/AzureSecretParameter"
- },
- {
- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"
- },
- {
- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"
- },
- {
- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"
- },
- {
- "$ref": "#/components/schemas/OnePasswordCredentialParameter"
- },
- {
- "$ref": "#/components/schemas/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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": {
+ "bitwarden_client_secret_aws_secret_key": {
"type": "string",
- "const": "code",
- "title": "Block Type",
- "default": "code"
+ "title": "Bitwarden Client Secret Aws Secret Key"
},
- "label": {
+ "bitwarden_master_password_aws_secret_key": {
"type": "string",
- "title": "Label"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Bitwarden Master Password Aws Secret Key"
},
- "model": {
+ "url_parameter_key": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Url Parameter Key"
},
- "code": {
- "type": "string",
- "title": "Code"
+ "bitwarden_collection_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Bitwarden Collection Id"
},
- "parameter_keys": {
+ "bitwarden_item_id": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
+ "title": "Bitwarden Item Id"
}
},
"type": "object",
"required": [
- "label",
- "code"
+ "key",
+ "bitwarden_client_id_aws_secret_key",
+ "bitwarden_client_secret_aws_secret_key",
+ "bitwarden_master_password_aws_secret_key"
],
- "title": "CodeBlockYAML"
+ "title": "BitwardenLoginCredentialParameterYAML"
},
- "ContextParameter": {
+ "BitwardenSensitiveInformationParameter": {
"properties": {
"parameter_type": {
"type": "string",
- "const": "context",
+ "const": "bitwarden_sensitive_information",
"title": "Parameter Type",
- "default": "context"
+ "default": "bitwarden_sensitive_information"
},
"key": {
"type": "string",
@@ -3714,84 +3713,87 @@
],
"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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "title": "Source"
+ "bitwarden_sensitive_information_parameter_id": {
+ "type": "string",
+ "title": "Bitwarden Sensitive Information Parameter Id"
},
- "value": {
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
+ },
+ "bitwarden_client_id_aws_secret_key": {
+ "type": "string",
+ "title": "Bitwarden Client Id Aws Secret Key"
+ },
+ "bitwarden_client_secret_aws_secret_key": {
+ "type": "string",
+ "title": "Bitwarden Client Secret Aws Secret Key"
+ },
+ "bitwarden_master_password_aws_secret_key": {
+ "type": "string",
+ "title": "Bitwarden Master Password Aws Secret Key"
+ },
+ "bitwarden_collection_id": {
+ "type": "string",
+ "title": "Bitwarden Collection Id"
+ },
+ "bitwarden_identity_key": {
+ "type": "string",
+ "title": "Bitwarden Identity Key"
+ },
+ "bitwarden_identity_fields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "title": "Bitwarden Identity Fields"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
"anyOf": [
{
- "type": "string"
- },
- {
- "type": "integer"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Value"
+ "title": "Deleted At"
}
},
"type": "object",
"required": [
"key",
- "source"
+ "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": "ContextParameter"
+ "title": "BitwardenSensitiveInformationParameter"
},
- "ContextParameterYAML": {
+ "BitwardenSensitiveInformationParameterYAML": {
"properties": {
"parameter_type": {
"type": "string",
- "const": "context",
+ "const": "bitwarden_sensitive_information",
"title": "Parameter Type",
- "default": "context"
+ "default": "bitwarden_sensitive_information"
},
"key": {
"type": "string",
@@ -3808,96 +3810,136 @@
],
"title": "Description"
},
- "source_parameter_key": {
+ "bitwarden_client_id_aws_secret_key": {
"type": "string",
- "title": "Source Parameter Key"
+ "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",
- "source_parameter_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": "ContextParameterYAML"
+ "title": "BitwardenSensitiveInformationParameterYAML"
},
- "CreateBrowserSessionRequest": {
+ "BlockType": {
+ "type": "string",
+ "enum": [
+ "task",
+ "task_v2",
+ "for_loop",
+ "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"
+ ],
+ "title": "BlockType"
+ },
+ "BrowserSessionResponse": {
"properties": {
- "timeout": {
+ "browser_session_id": {
+ "type": "string",
+ "title": "Browser Session Id",
+ "description": "Unique identifier for the browser session. browser_session_id starts with `pbs_`.",
+ "examples": [
+ "pbs_123456"
+ ]
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id",
+ "description": "ID of the organization that owns this session"
+ },
+ "runnable_type": {
"anyOf": [
{
- "type": "integer",
- "maximum": 240,
- "minimum": 5
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Timeout",
- "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 240. Defaults to 60.",
- "default": 60
- }
- },
- "type": "object",
- "title": "CreateBrowserSessionRequest"
- },
- "CreateCredentialRequest": {
- "properties": {
- "name": {
- "type": "string",
- "title": "Name",
- "description": "Name of the credential",
+ "title": "Runnable Type",
+ "description": "Type of the current runnable associated with this session (workflow, task etc)",
"examples": [
- "Amazon Login"
+ "task",
+ "workflow_run"
]
},
- "credential_type": {
- "$ref": "#/components/schemas/skyvern__forge__sdk__schemas__credentials__CredentialType",
- "description": "Type of credential to create"
- },
- "credential": {
+ "runnable_id": {
"anyOf": [
{
- "$ref": "#/components/schemas/NonEmptyPasswordCredential"
+ "type": "string"
},
{
- "$ref": "#/components/schemas/NonEmptyCreditCardCredential"
+ "type": "null"
}
],
- "title": "Credential",
- "description": "The credential data to store",
+ "title": "Runnable Id",
+ "description": "ID of the current runnable",
"examples": [
- {
- "password": "securepassword123",
- "username": "[email protected]"
- }
+ "tsk_123456",
+ "wr_123456"
]
- }
- },
- "type": "object",
- "required": [
- "name",
- "credential_type",
- "credential"
- ],
- "title": "CreateCredentialRequest",
- "description": "Request model for creating a new credential."
- },
- "CreateScriptRequest": {
- "properties": {
- "workflow_id": {
+ },
+ "timeout": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Workflow Id",
- "description": "Associated workflow ID"
+ "title": "Timeout",
+ "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Defaults to 60 minutes.",
+ "examples": [
+ 60,
+ 120
+ ]
},
- "run_id": {
+ "browser_address": {
"anyOf": [
{
"type": "string"
@@ -3906,146 +3948,65 @@
"type": "null"
}
],
- "title": "Run Id",
- "description": "Associated run ID"
+ "title": "Browser Address",
+ "description": "Url for connecting to the browser",
+ "examples": [
+ "http://localhost:9222",
+ "https://3.12.10.11/browser/123456"
+ ]
},
- "files": {
+ "app_url": {
"anyOf": [
{
- "items": {
- "$ref": "#/components/schemas/ScriptFileCreate"
- },
- "type": "array"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Files",
- "description": "Array of files to include in the script",
- "examples": [
- {
- "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",
- "encoding": "base64",
- "mime_type": "text/x-python",
- "path": "main.py"
- },
- {
- "content": "cmVxdWVzdHM9PTIuMjguMQ==",
- "encoding": "base64",
- "mime_type": "text/plain",
- "path": "requirements.txt"
- }
- ]
- }
- },
- "type": "object",
- "title": "CreateScriptRequest"
- },
- "CreateScriptResponse": {
- "properties": {
- "script_id": {
- "type": "string",
- "title": "Script Id",
- "description": "Unique script identifier",
- "examples": [
- "s_abc123"
- ]
- },
- "version": {
- "type": "integer",
- "title": "Version",
- "description": "Script version number",
+ "title": "App Url",
+ "description": "Url for the browser session page",
"examples": [
- 1
+ "https://app.skyvern.com/browser-session/pbs_123456"
]
},
- "run_id": {
+ "started_at": {
"anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Run Id",
- "description": "ID of the workflow run or task run that generated this script"
- },
- "file_count": {
- "type": "integer",
- "title": "File Count",
- "description": "Total number of files in the script"
- },
- "file_tree": {
- "additionalProperties": {
- "$ref": "#/components/schemas/FileNode"
- },
- "type": "object",
- "title": "File Tree",
- "description": "Hierarchical file tree structure"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At",
- "description": "Timestamp when the script was created"
- }
- },
- "type": "object",
- "required": [
- "script_id",
- "version",
- "file_count",
- "file_tree",
- "created_at"
- ],
- "title": "CreateScriptResponse"
- },
- "CredentialParameter": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "credential",
- "title": "Parameter Type",
- "default": "credential"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "title": "Started At",
+ "description": "Timestamp when the session was started"
},
- "description": {
+ "completed_at": {
"anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Description"
- },
- "credential_parameter_id": {
- "type": "string",
- "title": "Credential Parameter Id"
- },
- "workflow_id": {
- "type": "string",
- "title": "Workflow Id"
- },
- "credential_id": {
- "type": "string",
- "title": "Credential Id"
+ "title": "Completed At",
+ "description": "Timestamp when the session was completed"
},
"created_at": {
"type": "string",
"format": "date-time",
- "title": "Created At"
+ "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"
+ "title": "Modified At",
+ "description": "Timestamp when the session was last modified"
},
"deleted_at": {
"anyOf": [
@@ -4057,317 +4018,369 @@
"type": "null"
}
],
- "title": "Deleted At"
+ "title": "Deleted At",
+ "description": "Timestamp when the session was deleted, if applicable"
}
},
"type": "object",
"required": [
- "key",
- "credential_parameter_id",
- "workflow_id",
- "credential_id",
+ "browser_session_id",
+ "organization_id",
"created_at",
"modified_at"
],
- "title": "CredentialParameter"
+ "title": "BrowserSessionResponse",
+ "description": "Response model for browser session information."
},
- "CredentialParameterYAML": {
+ "CodeBlock": {
"properties": {
- "parameter_type": {
+ "label": {
"type": "string",
- "const": "credential",
- "title": "Parameter Type",
- "default": "credential"
+ "title": "Label"
},
- "key": {
+ "block_type": {
"type": "string",
- "title": "Key"
+ "const": "code",
+ "title": "Block Type",
+ "default": "code"
},
- "description": {
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Description"
+ "title": "Model"
},
- "credential_id": {
+ "code": {
"type": "string",
- "title": "Credential Id"
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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": [
- "key",
- "credential_id"
+ "label",
+ "output_parameter",
+ "code"
],
- "title": "CredentialParameterYAML"
+ "title": "CodeBlock"
},
- "CredentialResponse": {
+ "CodeBlockYAML": {
"properties": {
- "credential_id": {
+ "block_type": {
"type": "string",
- "title": "Credential Id",
- "description": "Unique identifier for the credential",
- "examples": [
- "cred_1234567890"
- ]
+ "const": "code",
+ "title": "Block Type",
+ "default": "code"
},
- "credential": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "$ref": "#/components/schemas/PasswordCredentialResponse"
+ "additionalProperties": true,
+ "type": "object"
},
{
- "$ref": "#/components/schemas/CreditCardCredentialResponse"
+ "type": "null"
}
],
- "title": "Credential",
- "description": "The credential data"
+ "title": "Model"
},
- "credential_type": {
- "$ref": "#/components/schemas/CredentialType-Output",
- "description": "Type of the credential"
- },
- "name": {
- "type": "string",
- "title": "Name",
- "description": "Name of the credential",
- "examples": [
- "Amazon Login"
- ]
- }
- },
- "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"
- ],
- "title": "CredentialType",
- "description": "Type of credential stored in the system."
- },
- "CreditCardCredentialResponse": {
- "properties": {
- "last_four": {
+ "code": {
"type": "string",
- "title": "Last Four",
- "description": "Last four digits of the credit card number",
- "examples": [
- "1234"
- ]
+ "title": "Code"
},
- "brand": {
- "type": "string",
- "title": "Brand",
- "description": "Brand of the credit card",
- "examples": [
- "visa"
- ]
- }
- },
- "type": "object",
- "required": [
- "last_four",
- "brand"
- ],
- "title": "CreditCardCredentialResponse",
- "description": "Response model for credit card credentials, 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",
- "examples": [
+ "parameter_keys": {
+ "anyOf": [
{
- "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",
- "encoding": "base64",
- "mime_type": "text/x-python",
- "path": "src/main.py"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
}
- ]
+ ],
+ "title": "Parameter Keys"
}
},
"type": "object",
"required": [
- "files"
+ "label",
+ "code"
],
- "title": "DeployScriptRequest",
- "description": "Request model for deploying a script with updated files."
+ "title": "CodeBlockYAML"
},
- "DownloadToS3Block": {
+ "ContextParameter": {
"properties": {
- "label": {
+ "parameter_type": {
"type": "string",
- "title": "Label"
+ "const": "context",
+ "title": "Parameter Type",
+ "default": "context"
},
- "block_type": {
+ "key": {
"type": "string",
- "const": "download_to_s3",
- "title": "Block Type",
- "default": "download_to_s3"
+ "title": "Key"
},
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "title": "Source"
},
- "model": {
+ "value": {
"anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
{
"additionalProperties": true,
"type": "object"
},
+ {
+ "items": {},
+ "type": "array"
+ },
{
"type": "null"
}
],
- "title": "Model"
- },
- "url": {
- "type": "string",
- "title": "Url"
+ "title": "Value"
}
},
"type": "object",
"required": [
- "label",
- "output_parameter",
- "url"
+ "key",
+ "source"
],
- "title": "DownloadToS3Block"
+ "title": "ContextParameter"
},
- "DownloadToS3BlockYAML": {
+ "ContextParameterYAML": {
"properties": {
- "block_type": {
+ "parameter_type": {
"type": "string",
- "const": "download_to_s3",
- "title": "Block Type",
- "default": "download_to_s3"
+ "const": "context",
+ "title": "Parameter Type",
+ "default": "context"
},
- "label": {
+ "key": {
"type": "string",
- "title": "Label"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Key"
},
- "model": {
+ "description": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Description"
},
- "url": {
+ "source_parameter_key": {
"type": "string",
- "title": "Url"
+ "title": "Source Parameter Key"
}
},
"type": "object",
"required": [
- "label",
- "url"
+ "key",
+ "source_parameter_key"
],
- "title": "DownloadToS3BlockYAML"
+ "title": "ContextParameterYAML"
},
- "ExtractionBlock": {
+ "CreateBrowserSessionRequest": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "extraction",
- "title": "Block Type",
- "default": "extraction"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
- },
- "model": {
+ "timeout": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "integer",
+ "maximum": 240,
+ "minimum": 5
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
- },
- "url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Url"
- },
- "title": {
+ "title": "Timeout",
+ "description": "Timeout in minutes for the session. Timeout is applied after the session is started. Must be between 5 and 240. Defaults to 60.",
+ "default": 60
+ }
+ },
+ "type": "object",
+ "title": "CreateBrowserSessionRequest"
+ },
+ "CreateCredentialRequest": {
+ "properties": {
+ "name": {
"type": "string",
- "title": "Title",
- "default": ""
+ "title": "Name",
+ "description": "Name of the credential",
+ "examples": [
+ "Amazon Login"
+ ]
},
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "credential_type": {
+ "$ref": "#/components/schemas/skyvern__forge__sdk__schemas__credentials__CredentialType",
+ "description": "Type of credential to create"
},
- "complete_criterion": {
+ "credential": {
"anyOf": [
{
- "type": "string"
+ "$ref": "#/components/schemas/NonEmptyPasswordCredential"
},
{
- "type": "null"
+ "$ref": "#/components/schemas/NonEmptyCreditCardCredential"
}
],
- "title": "Complete Criterion"
- },
- "terminate_criterion": {
+ "title": "Credential",
+ "description": "The credential data to store",
+ "examples": [
+ {
+ "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": {
"anyOf": [
{
"type": "string"
@@ -4376,9 +4389,10 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Workflow Id",
+ "description": "Associated workflow ID"
},
- "navigation_goal": {
+ "run_id": {
"anyOf": [
{
"type": "string"
@@ -4387,132 +4401,115 @@
"type": "null"
}
],
- "title": "Navigation Goal"
- },
- "data_extraction_goal": {
- "type": "string",
- "title": "Data Extraction Goal"
+ "title": "Run Id",
+ "description": "Associated run ID"
},
- "data_schema": {
+ "files": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
+ "items": {
+ "$ref": "#/components/schemas/ScriptFileCreate"
+ },
"type": "array"
},
- {
- "type": "string"
- },
{
"type": "null"
}
],
- "title": "Data Schema"
- },
- "error_code_mapping": {
- "anyOf": [
+ "title": "Files",
+ "description": "Array of files to include in the script",
+ "examples": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",
+ "encoding": "base64",
+ "mime_type": "text/x-python",
+ "path": "main.py"
},
{
- "type": "null"
+ "content": "cmVxdWVzdHM9PTIuMjguMQ==",
+ "encoding": "base64",
+ "mime_type": "text/plain",
+ "path": "requirements.txt"
}
- ],
- "title": "Error Code Mapping"
+ ]
+ }
+ },
+ "type": "object",
+ "title": "CreateScriptRequest"
+ },
+ "CreateScriptResponse": {
+ "properties": {
+ "script_id": {
+ "type": "string",
+ "title": "Script Id",
+ "description": "Unique script identifier",
+ "examples": [
+ "s_abc123"
+ ]
},
- "max_retries": {
+ "version": {
"type": "integer",
- "title": "Max Retries",
- "default": 0
+ "title": "Version",
+ "description": "Script version number",
+ "examples": [
+ 1
+ ]
},
- "max_steps_per_run": {
+ "run_id": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "title": "Run Id",
+ "description": "ID of the workflow run or task run that generated this script"
},
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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"
- }
- }
+ "file_count": {
+ "type": "integer",
+ "title": "File Count",
+ "description": "Total number of files in the script"
+ },
+ "file_tree": {
+ "additionalProperties": {
+ "$ref": "#/components/schemas/FileNode"
},
- "type": "array",
- "title": "Parameters",
- "default": []
+ "type": "object",
+ "title": "File Tree",
+ "description": "Hierarchical file tree structure"
},
- "complete_on_download": {
- "type": "boolean",
- "title": "Complete On Download",
- "default": false
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At",
+ "description": "Timestamp when the script was created"
+ }
+ },
+ "type": "object",
+ "required": [
+ "script_id",
+ "version",
+ "file_count",
+ "file_tree",
+ "created_at"
+ ],
+ "title": "CreateScriptResponse"
+ },
+ "CredentialParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "credential",
+ "title": "Parameter Type",
+ "default": "credential"
},
- "download_suffix": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Download Suffix"
+ "key": {
+ "type": "string",
+ "title": "Key"
},
- "totp_verification_url": {
+ "description": {
"anyOf": [
{
"type": "string"
@@ -4521,77 +4518,67 @@
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Description"
},
- "totp_identifier": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Identifier"
- },
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
+ "credential_parameter_id": {
+ "type": "string",
+ "title": "Credential Parameter Id"
},
- "complete_verification": {
- "type": "boolean",
- "title": "Complete Verification",
- "default": true
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
},
- "include_action_history_in_verification": {
- "type": "boolean",
- "title": "Include Action History In Verification",
- "default": false
- }
- },
- "type": "object",
- "required": [
- "label",
- "output_parameter",
- "data_extraction_goal"
- ],
- "title": "ExtractionBlock"
- },
- "ExtractionBlockYAML": {
- "properties": {
- "block_type": {
+ "credential_id": {
"type": "string",
- "const": "extraction",
- "title": "Block Type",
- "default": "extraction"
+ "title": "Credential Id"
},
- "label": {
+ "created_at": {
"type": "string",
- "title": "Label"
+ "format": "date-time",
+ "title": "Created At"
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
},
- "model": {
+ "deleted_at": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "credential_parameter_id",
+ "workflow_id",
+ "credential_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "CredentialParameter"
+ },
+ "CredentialParameterYAML": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "credential",
+ "title": "Parameter Type",
+ "default": "credential"
},
- "data_extraction_goal": {
+ "key": {
"type": "string",
- "title": "Data Extraction Goal"
+ "title": "Key"
},
- "url": {
+ "description": {
"anyOf": [
{
"type": "string"
@@ -4600,80 +4587,128 @@
"type": "null"
}
],
- "title": "Url"
+ "title": "Description"
},
- "title": {
+ "credential_id": {
"type": "string",
- "title": "Title",
- "default": ""
- },
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "title": "Credential Id"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "credential_id"
+ ],
+ "title": "CredentialParameterYAML"
+ },
+ "CredentialResponse": {
+ "properties": {
+ "credential_id": {
+ "type": "string",
+ "title": "Credential Id",
+ "description": "Unique identifier for the credential",
+ "examples": [
+ "cred_1234567890"
+ ]
},
- "data_schema": {
+ "credential": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
- {
- "type": "string"
+ "$ref": "#/components/schemas/PasswordCredentialResponse"
},
{
- "type": "null"
+ "$ref": "#/components/schemas/CreditCardCredentialResponse"
}
],
- "title": "Data Schema"
+ "title": "Credential",
+ "description": "The credential data"
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "credential_type": {
+ "$ref": "#/components/schemas/CredentialType-Output",
+ "description": "Type of the credential"
},
- "max_steps_per_run": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "title": "Max Steps Per Run"
+ "name": {
+ "type": "string",
+ "title": "Name",
+ "description": "Name of the credential",
+ "examples": [
+ "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"
+ ],
+ "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",
+ "examples": [
+ "1234"
+ ]
},
- "parameter_keys": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
+ "brand": {
+ "type": "string",
+ "title": "Brand",
+ "description": "Brand of the credit card",
+ "examples": [
+ "visa"
+ ]
+ }
+ },
+ "type": "object",
+ "required": [
+ "last_four",
+ "brand"
+ ],
+ "title": "CreditCardCredentialResponse",
+ "description": "Response model for credit card credentials, 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",
+ "examples": [
{
- "type": "null"
+ "content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",
+ "encoding": "base64",
+ "mime_type": "text/x-python",
+ "path": "src/main.py"
}
- ],
- "title": "Parameter Keys"
- },
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
+ ]
}
},
"type": "object",
"required": [
- "label",
- "data_extraction_goal"
+ "files"
],
- "title": "ExtractionBlockYAML"
+ "title": "DeployScriptRequest",
+ "description": "Request model for deploying a script with updated files."
},
- "FileDownloadBlock": {
+ "DownloadToS3Block": {
"properties": {
"label": {
"type": "string",
@@ -4681,9 +4716,9 @@
},
"block_type": {
"type": "string",
- "const": "file_download",
+ "const": "download_to_s3",
"title": "Block Type",
- "default": "file_download"
+ "default": "download_to_s3"
},
"output_parameter": {
"$ref": "#/components/schemas/OutputParameter"
@@ -4705,15 +4740,101 @@
],
"title": "Model"
},
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
- },
"url": {
- "anyOf": [
- {
- "type": "string"
+ "type": "string",
+ "title": "Url"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "url"
+ ],
+ "title": "DownloadToS3Block"
+ },
+ "DownloadToS3BlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "const": "download_to_s3",
+ "title": "Block Type",
+ "default": "download_to_s3"
+ },
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "url": {
+ "type": "string",
+ "title": "Url"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "url"
+ ],
+ "title": "DownloadToS3BlockYAML"
+ },
+ "ExtractionBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "extraction",
+ "title": "Block Type",
+ "default": "extraction"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "task_type": {
+ "type": "string",
+ "title": "Task Type",
+ "default": "general"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "type": "string"
},
{
"type": "null"
@@ -4764,14 +4885,7 @@
"title": "Navigation Goal"
},
"data_extraction_goal": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
+ "type": "string",
"title": "Data Extraction Goal"
},
"data_schema": {
@@ -4934,17 +5048,18 @@
"type": "object",
"required": [
"label",
- "output_parameter"
+ "output_parameter",
+ "data_extraction_goal"
],
- "title": "FileDownloadBlock"
+ "title": "ExtractionBlock"
},
- "FileDownloadBlockYAML": {
+ "ExtractionBlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "file_download",
+ "const": "extraction",
"title": "Block Type",
- "default": "file_download"
+ "default": "extraction"
},
"label": {
"type": "string",
@@ -4967,9 +5082,9 @@
],
"title": "Model"
},
- "navigation_goal": {
+ "data_extraction_goal": {
"type": "string",
- "title": "Navigation Goal"
+ "title": "Data Extraction Goal"
},
"url": {
"anyOf": [
@@ -4991,19 +5106,24 @@
"$ref": "#/components/schemas/RunEngine",
"default": "skyvern-1.0"
},
- "error_code_mapping": {
+ "data_schema": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
+ "additionalProperties": true,
"type": "object"
},
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
{
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Data Schema"
},
"max_retries": {
"type": "integer",
@@ -5035,39 +5155,6 @@
],
"title": "Parameter Keys"
},
- "download_suffix": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Download Suffix"
- },
- "totp_verification_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Verification Url"
- },
- "totp_identifier": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Identifier"
- },
"cache_actions": {
"type": "boolean",
"title": "Cache Actions",
@@ -5077,39 +5164,48 @@
"type": "object",
"required": [
"label",
- "navigation_goal"
- ],
- "title": "FileDownloadBlockYAML"
- },
- "FileEncoding": {
- "type": "string",
- "enum": [
- "base64",
- "utf-8"
+ "data_extraction_goal"
],
- "title": "FileEncoding",
- "description": "Supported file content encodings."
+ "title": "ExtractionBlockYAML"
},
- "FileInfo": {
+ "FileDownloadBlock": {
"properties": {
- "url": {
+ "label": {
"type": "string",
- "title": "Url",
- "description": "URL to access the file"
+ "title": "Label"
},
- "checksum": {
+ "block_type": {
+ "type": "string",
+ "const": "file_download",
+ "title": "Block Type",
+ "default": "file_download"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Checksum",
- "description": "SHA-256 checksum of the file"
+ "title": "Model"
},
- "filename": {
+ "task_type": {
+ "type": "string",
+ "title": "Task Type",
+ "default": "general"
+ },
+ "url": {
"anyOf": [
{
"type": "string"
@@ -5118,37 +5214,29 @@
"type": "null"
}
],
- "title": "Filename",
- "description": "Original filename"
- }
- },
- "type": "object",
- "required": [
- "url"
- ],
- "title": "FileInfo",
- "description": "Information about a downloaded file, including URL and checksum."
- },
- "FileNode": {
- "properties": {
- "type": {
+ "title": "Url"
+ },
+ "title": {
"type": "string",
- "title": "Type",
- "description": "Type of node: 'file' or 'directory'"
+ "title": "Title",
+ "default": ""
},
- "size": {
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "complete_criterion": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Size",
- "description": "File size in bytes"
+ "title": "Complete Criterion"
},
- "mime_type": {
+ "terminate_criterion": {
"anyOf": [
{
"type": "string"
@@ -5157,10 +5245,9 @@
"type": "null"
}
],
- "title": "Mime Type",
- "description": "MIME type of the file"
+ "title": "Terminate Criterion"
},
- "content_hash": {
+ "navigation_goal": {
"anyOf": [
{
"type": "string"
@@ -5169,188 +5256,194 @@
"type": "null"
}
],
- "title": "Content Hash",
- "description": "SHA256 hash of file content"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At",
- "description": "Timestamp when the file was created"
+ "title": "Navigation Goal"
},
- "children": {
+ "data_extraction_goal": {
"anyOf": [
{
- "additionalProperties": {
- "$ref": "#/components/schemas/FileNode"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Children",
- "description": "Child nodes for directories"
- }
- },
- "type": "object",
- "required": [
- "type",
- "created_at"
- ],
- "title": "FileNode",
- "description": "Model representing a file or directory in the file tree."
- },
- "FileParserBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "file_url_parser",
- "title": "Block Type",
- "default": "file_url_parser"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Data Extraction Goal"
},
- "model": {
+ "data_schema": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Data Schema"
},
- "file_url": {
- "type": "string",
- "title": "File Url"
+ "error_code_mapping": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Error Code Mapping"
},
- "file_type": {
- "$ref": "#/components/schemas/FileType"
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
},
- "json_schema": {
+ "max_steps_per_run": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Json Schema"
- }
- },
- "type": "object",
- "required": [
- "label",
- "output_parameter",
- "file_url",
- "file_type"
- ],
- "title": "FileParserBlock"
- },
- "FileParserBlockYAML": {
- "properties": {
- "block_type": {
- "type": "string",
- "const": "file_url_parser",
- "title": "Block Type",
- "default": "file_url_parser"
+ "title": "Max Steps Per Run"
},
- "label": {
- "type": "string",
- "title": "Label"
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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": []
},
- "continue_on_failure": {
+ "complete_on_download": {
"type": "boolean",
- "title": "Continue On Failure",
+ "title": "Complete On Download",
"default": false
},
- "model": {
+ "download_suffix": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "file_url": {
- "type": "string",
- "title": "File Url"
+ "title": "Download Suffix"
},
- "file_type": {
- "$ref": "#/components/schemas/FileType"
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
},
- "json_schema": {
+ "totp_identifier": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Json Schema"
+ "title": "Totp Identifier"
+ },
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
+ },
+ "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",
- "file_url",
- "file_type"
- ],
- "title": "FileParserBlockYAML"
- },
- "FileStorageType": {
- "type": "string",
- "enum": [
- "s3",
- "azure"
- ],
- "title": "FileStorageType"
- },
- "FileType": {
- "type": "string",
- "enum": [
- "csv",
- "excel",
- "pdf"
+ "output_parameter"
],
- "title": "FileType"
+ "title": "FileDownloadBlock"
},
- "FileUploadBlock": {
+ "FileDownloadBlockYAML": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
"block_type": {
"type": "string",
- "const": "file_upload",
+ "const": "file_download",
"title": "Block Type",
- "default": "file_upload"
+ "default": "file_download"
},
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "label": {
+ "type": "string",
+ "title": "Label"
},
"continue_on_failure": {
"type": "boolean",
@@ -5369,11 +5462,11 @@
],
"title": "Model"
},
- "storage_type": {
- "$ref": "#/components/schemas/FileStorageType",
- "default": "s3"
+ "navigation_goal": {
+ "type": "string",
+ "title": "Navigation Goal"
},
- "s3_bucket": {
+ "url": {
"anyOf": [
{
"type": "string"
@@ -5382,53 +5475,62 @@
"type": "null"
}
],
- "title": "S3 Bucket"
+ "title": "Url"
},
- "aws_access_key_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Aws Access Key Id"
+ "title": {
+ "type": "string",
+ "title": "Title",
+ "default": ""
},
- "aws_secret_access_key": {
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "error_code_mapping": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Aws Secret Access Key"
+ "title": "Error Code Mapping"
},
- "region_name": {
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
+ },
+ "max_steps_per_run": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Region Name"
+ "title": "Max Steps Per Run"
},
- "azure_storage_account_name": {
+ "parameter_keys": {
"anyOf": [
{
- "type": "string"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
{
"type": "null"
}
],
- "title": "Azure Storage Account Name"
+ "title": "Parameter Keys"
},
- "azure_storage_account_key": {
+ "download_suffix": {
"anyOf": [
{
"type": "string"
@@ -5437,9 +5539,9 @@
"type": "null"
}
],
- "title": "Azure Storage Account Key"
+ "title": "Download Suffix"
},
- "azure_blob_container_name": {
+ "totp_verification_url": {
"anyOf": [
{
"type": "string"
@@ -5448,9 +5550,9 @@
"type": "null"
}
],
- "title": "Azure Blob Container Name"
+ "title": "Totp Verification Url"
},
- "path": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -5459,50 +5561,38 @@
"type": "null"
}
],
- "title": "Path"
+ "title": "Totp Identifier"
+ },
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
}
},
"type": "object",
"required": [
"label",
- "output_parameter"
+ "navigation_goal"
],
- "title": "FileUploadBlock"
+ "title": "FileDownloadBlockYAML"
},
- "FileUploadBlockYAML": {
+ "FileEncoding": {
+ "type": "string",
+ "enum": [
+ "base64",
+ "utf-8"
+ ],
+ "title": "FileEncoding",
+ "description": "Supported file content encodings."
+ },
+ "FileInfo": {
"properties": {
- "block_type": {
- "type": "string",
- "const": "file_upload",
- "title": "Block Type",
- "default": "file_upload"
- },
- "label": {
+ "url": {
"type": "string",
- "title": "Label"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
- },
- "model": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Model"
- },
- "storage_type": {
- "$ref": "#/components/schemas/FileStorageType",
- "default": "s3"
+ "title": "Url",
+ "description": "URL to access the file"
},
- "s3_bucket": {
+ "checksum": {
"anyOf": [
{
"type": "string"
@@ -5511,9 +5601,10 @@
"type": "null"
}
],
- "title": "S3 Bucket"
+ "title": "Checksum",
+ "description": "SHA-256 checksum of the file"
},
- "aws_access_key_id": {
+ "filename": {
"anyOf": [
{
"type": "string"
@@ -5522,20 +5613,37 @@
"type": "null"
}
],
- "title": "Aws Access Key Id"
+ "title": "Filename",
+ "description": "Original filename"
+ }
+ },
+ "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'"
},
- "aws_secret_access_key": {
+ "size": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Aws Secret Access Key"
+ "title": "Size",
+ "description": "File size in bytes"
},
- "region_name": {
+ "mime_type": {
"anyOf": [
{
"type": "string"
@@ -5544,9 +5652,10 @@
"type": "null"
}
],
- "title": "Region Name"
+ "title": "Mime Type",
+ "description": "MIME type of the file"
},
- "azure_storage_account_name": {
+ "content_hash": {
"anyOf": [
{
"type": "string"
@@ -5555,62 +5664,111 @@
"type": "null"
}
],
- "title": "Azure Storage Account Name"
+ "title": "Content Hash",
+ "description": "SHA256 hash of file content"
},
- "azure_storage_account_key": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At",
+ "description": "Timestamp when the file was created"
+ },
+ "children": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "$ref": "#/components/schemas/FileNode"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Azure Storage Account Key"
+ "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"
},
- "azure_blob_container_name": {
+ "block_type": {
+ "type": "string",
+ "const": "file_url_parser",
+ "title": "Block Type",
+ "default": "file_url_parser"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Azure Blob Container Name"
+ "title": "Model"
},
- "path": {
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "file_type": {
+ "$ref": "#/components/schemas/FileType"
+ },
+ "json_schema": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Path"
+ "title": "Json Schema"
}
},
"type": "object",
"required": [
- "label"
+ "label",
+ "output_parameter",
+ "file_url",
+ "file_type"
],
- "title": "FileUploadBlockYAML"
+ "title": "FileParserBlock"
},
- "ForLoopBlock": {
+ "FileParserBlockYAML": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
"block_type": {
"type": "string",
- "const": "for_loop",
+ "const": "file_url_parser",
"title": "Block Type",
- "default": "for_loop"
+ "default": "file_url_parser"
},
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "label": {
+ "type": "string",
+ "title": "Label"
},
"continue_on_failure": {
"type": "boolean",
@@ -5629,192 +5787,65 @@
],
"title": "Model"
},
- "loop_blocks": {
- "items": {
- "oneOf": [
- {
- "$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/FileDownloadBlock"
- },
- {
- "$ref": "#/components/schemas/UrlBlock"
- },
- {
- "$ref": "#/components/schemas/TaskV2Block"
- },
- {
- "$ref": "#/components/schemas/FileUploadBlock"
- },
- {
- "$ref": "#/components/schemas/HttpRequestBlock"
- }
- ],
- "discriminator": {
- "propertyName": "block_type",
- "mapping": {
- "action": "#/components/schemas/ActionBlock",
- "code": "#/components/schemas/CodeBlock",
- "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",
- "login": "#/components/schemas/LoginBlock",
- "navigation": "#/components/schemas/NavigationBlock",
- "pdf_parser": "#/components/schemas/PDFParserBlock",
- "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"
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
},
- "loop_over": {
- "anyOf": [
- {
- "oneOf": [
- {
- "$ref": "#/components/schemas/WorkflowParameter"
- },
- {
- "$ref": "#/components/schemas/ContextParameter"
- },
- {
- "$ref": "#/components/schemas/AWSSecretParameter"
- },
- {
- "$ref": "#/components/schemas/AzureSecretParameter"
- },
- {
- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"
- },
- {
- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"
- },
- {
- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"
- },
- {
- "$ref": "#/components/schemas/OnePasswordCredentialParameter"
- },
- {
- "$ref": "#/components/schemas/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",
- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",
- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",
- "context": "#/components/schemas/ContextParameter",
- "credential": "#/components/schemas/CredentialParameter",
- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",
- "output": "#/components/schemas/OutputParameter",
- "workflow": "#/components/schemas/WorkflowParameter"
- }
- }
- },
- {
- "type": "null"
- }
- ],
- "title": "Loop Over"
+ "file_type": {
+ "$ref": "#/components/schemas/FileType"
},
- "loop_variable_reference": {
+ "json_schema": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Loop Variable Reference"
- },
- "complete_if_empty": {
- "type": "boolean",
- "title": "Complete If Empty",
- "default": false
+ "title": "Json Schema"
}
},
"type": "object",
"required": [
"label",
- "output_parameter",
- "loop_blocks"
+ "file_url",
+ "file_type"
],
- "title": "ForLoopBlock"
+ "title": "FileParserBlockYAML"
},
- "ForLoopBlockYAML": {
+ "FileStorageType": {
+ "type": "string",
+ "enum": [
+ "s3",
+ "azure"
+ ],
+ "title": "FileStorageType"
+ },
+ "FileType": {
+ "type": "string",
+ "enum": [
+ "csv",
+ "excel",
+ "pdf"
+ ],
+ "title": "FileType"
+ },
+ "FileUploadBlock": {
"properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
"block_type": {
"type": "string",
- "const": "for_loop",
+ "const": "file_upload",
"title": "Block Type",
- "default": "for_loop"
+ "default": "file_upload"
},
- "label": {
- "type": "string",
- "title": "Label"
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
},
"continue_on_failure": {
"type": "boolean",
@@ -5833,80 +5864,11 @@
],
"title": "Model"
},
- "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/FileDownloadBlockYAML"
- },
- {
- "$ref": "#/components/schemas/UrlBlockYAML"
- },
- {
- "$ref": "#/components/schemas/PDFParserBlockYAML"
- },
- {
- "$ref": "#/components/schemas/TaskV2BlockYAML"
- },
- {
- "$ref": "#/components/schemas/HttpRequestBlockYAML"
- }
- ]
- },
- "type": "array",
- "title": "Loop Blocks"
- },
- "loop_over_parameter_key": {
- "type": "string",
- "title": "Loop Over Parameter Key",
- "default": ""
+ "storage_type": {
+ "$ref": "#/components/schemas/FileStorageType",
+ "default": "s3"
},
- "loop_variable_reference": {
+ "s3_bucket": {
"anyOf": [
{
"type": "string"
@@ -5915,72 +5877,20 @@
"type": "null"
}
],
- "title": "Loop Variable Reference"
- },
- "complete_if_empty": {
- "type": "boolean",
- "title": "Complete If Empty",
- "default": false
- }
- },
- "type": "object",
- "required": [
- "label",
- "loop_blocks"
- ],
- "title": "ForLoopBlockYAML"
- },
- "HTTPValidationError": {
- "properties": {
- "detail": {
- "items": {
- "$ref": "#/components/schemas/ValidationError"
- },
- "type": "array",
- "title": "Detail"
- }
- },
- "type": "object",
- "title": "HTTPValidationError"
- },
- "HttpRequestBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "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
+ "title": "S3 Bucket"
},
- "model": {
+ "aws_access_key_id": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "method": {
- "type": "string",
- "title": "Method",
- "default": "GET"
+ "title": "Aws Access Key Id"
},
- "url": {
+ "aws_secret_access_key": {
"anyOf": [
{
"type": "string"
@@ -5989,97 +5899,62 @@
"type": "null"
}
],
- "title": "Url"
+ "title": "Aws Secret Access Key"
},
- "headers": {
+ "region_name": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Headers"
+ "title": "Region Name"
},
- "body": {
+ "azure_storage_account_name": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Body"
+ "title": "Azure Storage Account Name"
},
- "timeout": {
- "type": "integer",
- "title": "Timeout",
- "default": 30
+ "azure_storage_account_key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Azure Storage Account Key"
},
- "follow_redirects": {
- "type": "boolean",
- "title": "Follow Redirects",
- "default": true
+ "azure_blob_container_name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Azure Blob Container Name"
},
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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"
- }
+ "path": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
}
- },
- "type": "array",
- "title": "Parameters",
- "default": []
+ ],
+ "title": "Path"
}
},
"type": "object",
@@ -6087,15 +5962,15 @@
"label",
"output_parameter"
],
- "title": "HttpRequestBlock"
+ "title": "FileUploadBlock"
},
- "HttpRequestBlockYAML": {
+ "FileUploadBlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "http_request",
+ "const": "file_upload",
"title": "Block Type",
- "default": "http_request"
+ "default": "file_upload"
},
"label": {
"type": "string",
@@ -6118,12 +5993,11 @@
],
"title": "Model"
},
- "method": {
- "type": "string",
- "title": "Method",
- "default": "GET"
+ "storage_type": {
+ "$ref": "#/components/schemas/FileStorageType",
+ "default": "s3"
},
- "url": {
+ "s3_bucket": {
"anyOf": [
{
"type": "string"
@@ -6132,103 +6006,53 @@
"type": "null"
}
],
- "title": "Url"
+ "title": "S3 Bucket"
},
- "headers": {
+ "aws_access_key_id": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Headers"
+ "title": "Aws Access Key Id"
},
- "body": {
+ "aws_secret_access_key": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Body"
- },
- "timeout": {
- "type": "integer",
- "title": "Timeout",
- "default": 30
+ "title": "Aws Secret Access Key"
},
- "follow_redirects": {
- "type": "boolean",
- "title": "Follow Redirects",
- "default": true
+ "region_name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Region Name"
},
- "parameter_keys": {
+ "azure_storage_account_name": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
- }
- },
- "type": "object",
- "required": [
- "label"
- ],
- "title": "HttpRequestBlockYAML"
- },
- "LoginBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
+ "title": "Azure Storage Account Name"
},
- "block_type": {
- "type": "string",
- "const": "login",
- "title": "Block Type",
- "default": "login"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
- },
- "model": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Model"
- },
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
- },
- "url": {
+ "azure_storage_account_key": {
"anyOf": [
{
"type": "string"
@@ -6237,18 +6061,9 @@
"type": "null"
}
],
- "title": "Url"
- },
- "title": {
- "type": "string",
- "title": "Title",
- "default": ""
- },
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "title": "Azure Storage Account Key"
},
- "complete_criterion": {
+ "azure_blob_container_name": {
"anyOf": [
{
"type": "string"
@@ -6257,9 +6072,9 @@
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Azure Blob Container Name"
},
- "terminate_criterion": {
+ "path": {
"anyOf": [
{
"type": "string"
@@ -6268,201 +6083,229 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Path"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label"
+ ],
+ "title": "FileUploadBlockYAML"
+ },
+ "ForLoopBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
},
- "navigation_goal": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Navigation Goal"
+ "block_type": {
+ "type": "string",
+ "const": "for_loop",
+ "title": "Block Type",
+ "default": "for_loop"
},
- "data_extraction_goal": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Data Extraction Goal"
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
},
- "data_schema": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Data Schema"
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
},
- "error_code_mapping": {
+ "model": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
+ "additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
- },
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
- },
- "max_steps_per_run": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "title": "Max Steps Per Run"
+ "title": "Model"
},
- "parameters": {
+ "loop_blocks": {
"items": {
"oneOf": [
{
- "$ref": "#/components/schemas/WorkflowParameter"
+ "$ref": "#/components/schemas/ForLoopBlock"
},
{
- "$ref": "#/components/schemas/ContextParameter"
+ "$ref": "#/components/schemas/TaskBlock"
},
{
- "$ref": "#/components/schemas/AWSSecretParameter"
+ "$ref": "#/components/schemas/CodeBlock"
},
{
- "$ref": "#/components/schemas/AzureSecretParameter"
+ "$ref": "#/components/schemas/TextPromptBlock"
},
{
- "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"
+ "$ref": "#/components/schemas/DownloadToS3Block"
},
{
- "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"
+ "$ref": "#/components/schemas/UploadToS3Block"
},
{
- "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"
+ "$ref": "#/components/schemas/SendEmailBlock"
},
{
- "$ref": "#/components/schemas/OnePasswordCredentialParameter"
+ "$ref": "#/components/schemas/FileParserBlock"
},
{
- "$ref": "#/components/schemas/OutputParameter"
+ "$ref": "#/components/schemas/PDFParserBlock"
},
{
- "$ref": "#/components/schemas/CredentialParameter"
+ "$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/FileDownloadBlock"
+ },
+ {
+ "$ref": "#/components/schemas/UrlBlock"
+ },
+ {
+ "$ref": "#/components/schemas/TaskV2Block"
+ },
+ {
+ "$ref": "#/components/schemas/FileUploadBlock"
+ },
+ {
+ "$ref": "#/components/schemas/HttpRequestBlock"
}
],
"discriminator": {
- "propertyName": "parameter_type",
+ "propertyName": "block_type",
"mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",
- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",
- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",
- "context": "#/components/schemas/ContextParameter",
- "credential": "#/components/schemas/CredentialParameter",
- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",
- "output": "#/components/schemas/OutputParameter",
- "workflow": "#/components/schemas/WorkflowParameter"
+ "action": "#/components/schemas/ActionBlock",
+ "code": "#/components/schemas/CodeBlock",
+ "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",
+ "login": "#/components/schemas/LoginBlock",
+ "navigation": "#/components/schemas/NavigationBlock",
+ "pdf_parser": "#/components/schemas/PDFParserBlock",
+ "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": "Parameters",
- "default": []
- },
- "complete_on_download": {
- "type": "boolean",
- "title": "Complete On Download",
- "default": false
- },
- "download_suffix": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Download Suffix"
- },
- "totp_verification_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Verification Url"
+ "title": "Loop Blocks"
},
- "totp_identifier": {
+ "loop_over": {
"anyOf": [
{
- "type": "string"
- },
- {
- "type": "null"
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",
+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",
+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",
+ "context": "#/components/schemas/ContextParameter",
+ "credential": "#/components/schemas/CredentialParameter",
+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",
+ "output": "#/components/schemas/OutputParameter",
+ "workflow": "#/components/schemas/WorkflowParameter"
+ }
+ }
+ },
+ {
+ "type": "null"
}
],
- "title": "Totp Identifier"
- },
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
+ "title": "Loop Over"
},
- "complete_verification": {
- "type": "boolean",
- "title": "Complete Verification",
- "default": true
+ "loop_variable_reference": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Loop Variable Reference"
},
- "include_action_history_in_verification": {
+ "complete_if_empty": {
"type": "boolean",
- "title": "Include Action History In Verification",
+ "title": "Complete If Empty",
"default": false
}
},
"type": "object",
"required": [
"label",
- "output_parameter"
+ "output_parameter",
+ "loop_blocks"
],
- "title": "LoginBlock"
+ "title": "ForLoopBlock"
},
- "LoginBlockYAML": {
+ "ForLoopBlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "login",
+ "const": "for_loop",
"title": "Block Type",
- "default": "login"
+ "default": "for_loop"
},
"label": {
"type": "string",
@@ -6485,27 +6328,80 @@
],
"title": "Model"
},
- "url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Url"
+ "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/FileDownloadBlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/UrlBlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/PDFParserBlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/TaskV2BlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/HttpRequestBlockYAML"
+ }
+ ]
+ },
+ "type": "array",
+ "title": "Loop Blocks"
},
- "title": {
+ "loop_over_parameter_key": {
"type": "string",
- "title": "Title",
+ "title": "Loop Over Parameter Key",
"default": ""
},
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
- },
- "navigation_goal": {
+ "loop_variable_reference": {
"anyOf": [
{
"type": "string"
@@ -6514,80 +6410,215 @@
"type": "null"
}
],
- "title": "Navigation Goal"
+ "title": "Loop Variable Reference"
},
- "error_code_mapping": {
+ "complete_if_empty": {
+ "type": "boolean",
+ "title": "Complete If Empty",
+ "default": false
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "loop_blocks"
+ ],
+ "title": "ForLoopBlockYAML"
+ },
+ "HTTPValidationError": {
+ "properties": {
+ "detail": {
+ "items": {
+ "$ref": "#/components/schemas/ValidationError"
+ },
+ "type": "array",
+ "title": "Detail"
+ }
+ },
+ "type": "object",
+ "title": "HTTPValidationError"
+ },
+ "HttpRequestBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "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": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
+ "additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Model"
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "method": {
+ "type": "string",
+ "title": "Method",
+ "default": "GET"
},
- "max_steps_per_run": {
+ "url": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "title": "Url"
},
- "parameter_keys": {
+ "headers": {
"anyOf": [
{
- "items": {
+ "additionalProperties": {
"type": "string"
},
- "type": "array"
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
+ "title": "Headers"
},
- "totp_verification_url": {
+ "body": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Body"
},
- "totp_identifier": {
+ "timeout": {
+ "type": "integer",
+ "title": "Timeout",
+ "default": 30
+ },
+ "follow_redirects": {
+ "type": "boolean",
+ "title": "Follow Redirects",
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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",
+ "const": "http_request",
+ "title": "Block Type",
+ "default": "http_request"
+ },
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Totp Identifier"
+ "title": "Model"
},
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
+ "method": {
+ "type": "string",
+ "title": "Method",
+ "default": "GET"
},
- "complete_criterion": {
+ "url": {
"anyOf": [
{
"type": "string"
@@ -6596,50 +6627,103 @@
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Url"
},
- "terminate_criterion": {
+ "headers": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Headers"
},
- "complete_verification": {
+ "body": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Body"
+ },
+ "timeout": {
+ "type": "integer",
+ "title": "Timeout",
+ "default": 30
+ },
+ "follow_redirects": {
"type": "boolean",
- "title": "Complete Verification",
+ "title": "Follow Redirects",
"default": true
+ },
+ "parameter_keys": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameter Keys"
}
},
"type": "object",
"required": [
"label"
],
- "title": "LoginBlockYAML"
+ "title": "HttpRequestBlockYAML"
},
- "LoginRequest": {
+ "LoginBlock": {
"properties": {
- "credential_type": {
- "$ref": "#/components/schemas/skyvern__schemas__run_blocks__CredentialType",
- "description": "Where to get the credential from"
+ "label": {
+ "type": "string",
+ "title": "Label"
},
- "url": {
+ "block_type": {
+ "type": "string",
+ "const": "login",
+ "title": "Block Type",
+ "default": "login"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Url",
- "description": "Website url"
+ "title": "Model"
},
- "prompt": {
+ "task_type": {
+ "type": "string",
+ "title": "Task Type",
+ "default": "general"
+ },
+ "url": {
"anyOf": [
{
"type": "string"
@@ -6648,10 +6732,18 @@
"type": "null"
}
],
- "title": "Prompt",
- "description": "Login instructions. Skyvern has default prompt/instruction for login if this field is not provided."
+ "title": "Url"
},
- "webhook_url": {
+ "title": {
+ "type": "string",
+ "title": "Title",
+ "default": ""
+ },
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "complete_criterion": {
"anyOf": [
{
"type": "string"
@@ -6660,21 +6752,20 @@
"type": "null"
}
],
- "title": "Webhook Url",
- "description": "Webhook URL to send login status updates"
+ "title": "Complete Criterion"
},
- "proxy_location": {
+ "terminate_criterion": {
"anyOf": [
{
- "$ref": "#/components/schemas/ProxyLocation"
+ "type": "string"
},
{
"type": "null"
}
],
- "description": "Proxy location to use"
+ "title": "Terminate Criterion"
},
- "totp_identifier": {
+ "navigation_goal": {
"anyOf": [
{
"type": "string"
@@ -6683,10 +6774,9 @@
"type": "null"
}
],
- "title": "Totp Identifier",
- "description": "Identifier for TOTP (Time-based One-Time Password) if required"
+ "title": "Navigation Goal"
},
- "totp_url": {
+ "data_extraction_goal": {
"anyOf": [
{
"type": "string"
@@ -6695,11 +6785,18 @@
"type": "null"
}
],
- "title": "Totp Url",
- "description": "TOTP URL to fetch one-time passwords"
+ "title": "Data Extraction Goal"
},
- "browser_session_id": {
+ "data_schema": {
"anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
{
"type": "string"
},
@@ -6707,13 +6804,9 @@
"type": "null"
}
],
- "title": "Browser Session Id",
- "description": "ID of the browser session to use, which is prefixed by `pbs_` e.g. `pbs_123456`",
- "examples": [
- "pbs_123456"
- ]
+ "title": "Data Schema"
},
- "extra_http_headers": {
+ "error_code_mapping": {
"anyOf": [
{
"additionalProperties": {
@@ -6725,224 +6818,14 @@
"type": "null"
}
],
- "title": "Extra Http Headers",
- "description": "Additional HTTP headers to include in requests"
+ "title": "Error Code Mapping"
},
- "max_screenshot_scrolling_times": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "title": "Max Screenshot Scrolling Times",
- "description": "Maximum number of times to scroll for screenshots"
- },
- "credential_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Credential Id",
- "description": "ID of the Skyvern credential to use for login.",
- "examples": [
- "cred_123"
- ]
- },
- "bitwarden_collection_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Bitwarden Collection Id",
- "description": "Bitwarden collection ID. You can find it in the Bitwarden collection URL. e.g. `https://vault.bitwarden.com/vaults/collection_id/items`"
- },
- "bitwarden_item_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Bitwarden Item Id",
- "description": "Bitwarden item ID"
- },
- "onepassword_vault_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Onepassword Vault Id",
- "description": "1Password vault ID"
- },
- "onepassword_item_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Onepassword Item Id",
- "description": "1Password item ID"
- }
- },
- "type": "object",
- "required": [
- "credential_type"
- ],
- "title": "LoginRequest"
- },
- "NavigationBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "navigation",
- "title": "Block Type",
- "default": "navigation"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
- },
- "model": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Model"
- },
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
- },
- "url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Url"
- },
- "title": {
- "type": "string",
- "title": "Title",
- "default": ""
- },
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
- },
- "complete_criterion": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Complete Criterion"
- },
- "terminate_criterion": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Terminate Criterion"
- },
- "navigation_goal": {
- "type": "string",
- "title": "Navigation Goal"
- },
- "data_extraction_goal": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Data Extraction Goal"
- },
- "data_schema": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Data Schema"
- },
- "error_code_mapping": {
- "anyOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Error Code Mapping"
- },
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
- },
- "max_steps_per_run": {
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
+ },
+ "max_steps_per_run": {
"anyOf": [
{
"type": "integer"
@@ -7064,18 +6947,17 @@
"type": "object",
"required": [
"label",
- "output_parameter",
- "navigation_goal"
+ "output_parameter"
],
- "title": "NavigationBlock"
+ "title": "LoginBlock"
},
- "NavigationBlockYAML": {
+ "LoginBlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "navigation",
+ "const": "login",
"title": "Block Type",
- "default": "navigation"
+ "default": "login"
},
"label": {
"type": "string",
@@ -7098,10 +6980,6 @@
],
"title": "Model"
},
- "navigation_goal": {
- "type": "string",
- "title": "Navigation Goal"
- },
"url": {
"anyOf": [
{
@@ -7122,6 +7000,17 @@
"$ref": "#/components/schemas/RunEngine",
"default": "skyvern-1.0"
},
+ "navigation_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Navigation Goal"
+ },
"error_code_mapping": {
"anyOf": [
{
@@ -7166,22 +7055,6 @@
],
"title": "Parameter Keys"
},
- "complete_on_download": {
- "type": "boolean",
- "title": "Complete On Download",
- "default": false
- },
- "download_suffix": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Download Suffix"
- },
"totp_verification_url": {
"anyOf": [
{
@@ -7235,110 +7108,21 @@
"type": "boolean",
"title": "Complete Verification",
"default": true
- },
- "include_action_history_in_verification": {
- "type": "boolean",
- "title": "Include Action History In Verification",
- "default": false
- }
- },
- "type": "object",
- "required": [
- "label",
- "navigation_goal"
- ],
- "title": "NavigationBlockYAML"
- },
- "NonEmptyCreditCardCredential": {
- "properties": {
- "card_number": {
- "type": "string",
- "minLength": 1,
- "title": "Card Number",
- "description": "The full credit card number (must not be empty)",
- "examples": [
- "4111111111111111"
- ]
- },
- "card_cvv": {
- "type": "string",
- "minLength": 1,
- "title": "Card Cvv",
- "description": "The card's CVV (must not be empty)",
- "examples": [
- "123"
- ]
- },
- "card_exp_month": {
- "type": "string",
- "minLength": 1,
- "title": "Card Exp Month",
- "description": "The card's expiration month (must not be empty)",
- "examples": [
- "12"
- ]
- },
- "card_exp_year": {
- "type": "string",
- "minLength": 1,
- "title": "Card Exp Year",
- "description": "The card's expiration year (must not be empty)",
- "examples": [
- "2025"
- ]
- },
- "card_brand": {
- "type": "string",
- "minLength": 1,
- "title": "Card Brand",
- "description": "The card's brand (must not be empty)",
- "examples": [
- "visa"
- ]
- },
- "card_holder_name": {
- "type": "string",
- "minLength": 1,
- "title": "Card Holder Name",
- "description": "The name of the card holder (must not be empty)",
- "examples": [
- "John Doe"
- ]
}
},
"type": "object",
"required": [
- "card_number",
- "card_cvv",
- "card_exp_month",
- "card_exp_year",
- "card_brand",
- "card_holder_name"
+ "label"
],
- "title": "NonEmptyCreditCardCredential",
- "description": "Credit card credential model that requires non-empty values."
+ "title": "LoginBlockYAML"
},
- "NonEmptyPasswordCredential": {
+ "LoginRequest": {
"properties": {
- "password": {
- "type": "string",
- "minLength": 1,
- "title": "Password",
- "description": "The password value (must not be empty)",
- "examples": [
- "securepassword123"
- ]
- },
- "username": {
- "type": "string",
- "minLength": 1,
- "title": "Username",
- "description": "The username associated with the credential (must not be empty)",
- "examples": [
- ]
+ "credential_type": {
+ "$ref": "#/components/schemas/skyvern__schemas__run_blocks__CredentialType",
+ "description": "Where to get the credential from"
},
- "totp": {
+ "url": {
"anyOf": [
{
"type": "string"
@@ -7347,34 +7131,10 @@
"type": "null"
}
],
- "title": "Totp",
- "description": "Optional TOTP (Time-based One-Time Password) string used to generate 2FA codes",
- "examples": [
- "JBSWY3DPEHPK3PXP"
- ]
- }
- },
- "type": "object",
- "required": [
- "password",
- "username"
- ],
- "title": "NonEmptyPasswordCredential",
- "description": "Password credential model that requires non-empty values."
- },
- "OnePasswordCredentialParameter": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "onepassword",
- "title": "Parameter Type",
- "default": "onepassword"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "title": "Url",
+ "description": "Website url"
},
- "description": {
+ "prompt": {
"anyOf": [
{
"type": "string"
@@ -7383,112 +7143,33 @@
"type": "null"
}
],
- "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"
+ "title": "Prompt",
+ "description": "Login instructions. Skyvern has default prompt/instruction for login if this field is not provided."
},
- "deleted_at": {
+ "webhook_url": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "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",
- "const": "onepassword",
- "title": "Parameter Type",
- "default": "onepassword"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "title": "Webhook Url",
+ "description": "Webhook URL to send login status updates"
},
- "description": {
+ "proxy_location": {
"anyOf": [
{
- "type": "string"
+ "$ref": "#/components/schemas/ProxyLocation"
},
{
"type": "null"
}
],
- "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",
- "const": "output",
- "title": "Parameter Type",
- "default": "output"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "description": "Proxy location to use"
},
- "description": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -7497,62 +7178,64 @@
"type": "null"
}
],
- "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"
+ "title": "Totp Identifier",
+ "description": "Identifier for TOTP (Time-based One-Time Password) if required"
},
- "deleted_at": {
+ "totp_url": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Deleted At"
- }
- },
- "type": "object",
- "required": [
- "key",
- "output_parameter_id",
- "workflow_id",
- "created_at",
- "modified_at"
- ],
- "title": "OutputParameter"
- },
- "OutputParameterYAML": {
- "properties": {
- "parameter_type": {
- "type": "string",
- "const": "output",
- "title": "Parameter Type",
- "default": "output"
+ "title": "Totp Url",
+ "description": "TOTP URL to fetch one-time passwords"
},
- "key": {
- "type": "string",
- "title": "Key"
+ "browser_session_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Browser Session Id",
+ "description": "ID of the browser session to use, which is prefixed by `pbs_` e.g. `pbs_123456`",
+ "examples": [
+ "pbs_123456"
+ ]
},
- "description": {
+ "extra_http_headers": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Extra Http Headers",
+ "description": "Additional HTTP headers to include in requests"
+ },
+ "max_screenshot_scrolling_times": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Screenshot Scrolling Times",
+ "description": "Maximum number of times to scroll for screenshots"
+ },
+ "credential_id": {
"anyOf": [
{
"type": "string"
@@ -7561,16 +7244,68 @@
"type": "null"
}
],
- "title": "Description"
+ "title": "Credential Id",
+ "description": "ID of the Skyvern credential to use for login.",
+ "examples": [
+ "cred_123"
+ ]
+ },
+ "bitwarden_collection_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Bitwarden Collection Id",
+ "description": "Bitwarden collection ID. You can find it in the Bitwarden collection URL. e.g. `https://vault.bitwarden.com/vaults/collection_id/items`"
+ },
+ "bitwarden_item_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Bitwarden Item Id",
+ "description": "Bitwarden item ID"
+ },
+ "onepassword_vault_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Onepassword Vault Id",
+ "description": "1Password vault ID"
+ },
+ "onepassword_item_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Onepassword Item Id",
+ "description": "1Password item ID"
}
},
"type": "object",
"required": [
- "key"
+ "credential_type"
],
- "title": "OutputParameterYAML"
+ "title": "LoginRequest"
},
- "PDFParserBlock": {
+ "NavigationBlock": {
"properties": {
"label": {
"type": "string",
@@ -7578,9 +7313,9 @@
},
"block_type": {
"type": "string",
- "const": "pdf_parser",
+ "const": "navigation",
"title": "Block Type",
- "default": "pdf_parser"
+ "default": "navigation"
},
"output_parameter": {
"$ref": "#/components/schemas/OutputParameter"
@@ -7602,245 +7337,199 @@
],
"title": "Model"
},
- "file_url": {
+ "task_type": {
"type": "string",
- "title": "File Url"
+ "title": "Task Type",
+ "default": "general"
},
- "json_schema": {
+ "url": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "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",
- "const": "pdf_parser",
- "title": "Block Type",
- "default": "pdf_parser"
+ "title": "Url"
},
- "label": {
+ "title": {
"type": "string",
- "title": "Label"
+ "title": "Title",
+ "default": ""
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
},
- "model": {
+ "complete_criterion": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Complete Criterion"
},
- "file_url": {
+ "terminate_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Terminate Criterion"
+ },
+ "navigation_goal": {
"type": "string",
- "title": "File Url"
+ "title": "Navigation Goal"
},
- "json_schema": {
+ "data_extraction_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
{
"type": "null"
}
],
- "title": "Json Schema"
- }
- },
- "type": "object",
- "required": [
- "label",
- "file_url"
- ],
- "title": "PDFParserBlockYAML"
- },
- "PasswordCredentialResponse": {
- "properties": {
- "username": {
- "type": "string",
- "title": "Username",
- "description": "The username associated with the credential",
- "examples": [
- ]
- }
- },
- "type": "object",
- "required": [
- "username"
- ],
- "title": "PasswordCredentialResponse",
- "description": "Response model for password credentials, containing only the username."
- },
- "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_ISP",
- "NONE"
- ],
- "title": "ProxyLocation"
- },
- "RunEngine": {
- "type": "string",
- "enum": [
- "skyvern-1.0",
- "skyvern-2.0",
- "openai-cua",
- "anthropic-cua",
- "ui-tars"
- ],
- "title": "RunEngine"
- },
- "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"
+ "title": "Data Schema"
},
- "run_id": {
+ "error_code_mapping": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Run Id",
- "description": "ID of the workflow run or task run that generated this script"
+ "title": "Error Code Mapping"
},
- "version": {
+ "max_retries": {
"type": "integer",
- "title": "Version",
- "description": "Version number of the script"
+ "title": "Max Retries",
+ "default": 0
},
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At",
- "description": "Timestamp when the script was created"
+ "max_steps_per_run": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Steps Per Run"
},
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At",
- "description": "Timestamp when the script was last modified"
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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": []
},
- "deleted_at": {
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
+ },
+ "download_suffix": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "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",
- "examples": [
- "src/main.py"
- ]
- },
- "content": {
- "type": "string",
- "title": "Content",
- "description": "Base64 encoded file content"
+ "title": "Download Suffix"
},
- "encoding": {
- "$ref": "#/components/schemas/FileEncoding",
- "description": "Content encoding",
- "default": "base64"
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
},
- "mime_type": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -7849,32 +7538,43 @@
"type": "null"
}
],
- "title": "Mime Type",
- "description": "MIME type (auto-detected if not provided)"
+ "title": "Totp Identifier"
+ },
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
+ },
+ "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": [
- "path",
- "content"
+ "label",
+ "output_parameter",
+ "navigation_goal"
],
- "title": "ScriptFileCreate",
- "description": "Model representing a file in a script."
+ "title": "NavigationBlock"
},
- "SendEmailBlock": {
+ "NavigationBlockYAML": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
"block_type": {
"type": "string",
- "const": "send_email",
+ "const": "navigation",
"title": "Block Type",
- "default": "send_email"
+ "default": "navigation"
},
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "label": {
+ "type": "string",
+ "title": "Label"
},
"continue_on_failure": {
"type": "boolean",
@@ -7893,126 +7593,61 @@
],
"title": "Model"
},
- "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": {
+ "navigation_goal": {
"type": "string",
- "title": "Sender"
- },
- "recipients": {
- "items": {
- "type": "string"
- },
- "type": "array",
- "title": "Recipients"
- },
- "subject": {
- "type": "string",
- "title": "Subject"
- },
- "body": {
- "type": "string",
- "title": "Body"
+ "title": "Navigation Goal"
},
- "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",
- "const": "send_email",
- "title": "Block Type",
- "default": "send_email"
+ "url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Url"
},
- "label": {
+ "title": {
"type": "string",
- "title": "Label"
+ "title": "Title",
+ "default": ""
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
},
- "model": {
+ "error_code_mapping": {
"anyOf": [
{
- "additionalProperties": true,
+ "additionalProperties": {
+ "type": "string"
+ },
"type": "object"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "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"
+ "title": "Error Code Mapping"
},
- "subject": {
- "type": "string",
- "title": "Subject"
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
},
- "body": {
- "type": "string",
- "title": "Body"
+ "max_steps_per_run": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Steps Per Run"
},
- "file_attachments": {
+ "parameter_keys": {
"anyOf": [
{
"items": {
@@ -8024,36 +7659,14 @@
"type": "null"
}
],
- "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.",
- "examples": [
- "4155555555",
- "user_123"
- ]
+ "title": "Parameter Keys"
},
- "task_id": {
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
+ },
+ "download_suffix": {
"anyOf": [
{
"type": "string"
@@ -8062,13 +7675,9 @@
"type": "null"
}
],
- "title": "Task Id",
- "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",
- "examples": [
- "task_123456"
- ]
+ "title": "Download Suffix"
},
- "workflow_id": {
+ "totp_verification_url": {
"anyOf": [
{
"type": "string"
@@ -8077,13 +7686,9 @@
"type": "null"
}
],
- "title": "Workflow Id",
- "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",
- "examples": [
- "wpid_123456"
- ]
+ "title": "Totp Verification Url"
},
- "workflow_run_id": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -8092,13 +7697,14 @@
"type": "null"
}
],
- "title": "Workflow Run Id",
- "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",
- "examples": [
- "wr_123456"
- ]
+ "title": "Totp Identifier"
},
- "source": {
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
+ },
+ "complete_criterion": {
"anyOf": [
{
"type": "string"
@@ -8107,253 +7713,237 @@
"type": "null"
}
],
- "title": "Source",
- "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",
- "examples": [
- "email",
- "sms",
- "app"
- ]
- },
- "content": {
- "type": "string",
- "title": "Content",
- "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",
- "examples": [
- "Hello, your verification code is 123456"
- ]
+ "title": "Complete Criterion"
},
- "expired_at": {
+ "terminate_criterion": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Expired At",
- "description": "The timestamp when the TOTP code expires",
- "examples": [
- "2025-01-01T00:00:00Z"
- ]
- },
- "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."
+ "title": "Terminate Criterion"
},
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At",
- "description": "The timestamp when the TOTP code was created."
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
},
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At",
- "description": "The timestamp when the TOTP code was modified."
+ "include_action_history_in_verification": {
+ "type": "boolean",
+ "title": "Include Action History In Verification",
+ "default": false
}
},
"type": "object",
"required": [
- "totp_identifier",
- "content",
- "totp_code_id",
- "code",
- "organization_id",
- "created_at",
- "modified_at"
+ "label",
+ "navigation_goal"
],
- "title": "TOTPCode"
+ "title": "NavigationBlockYAML"
},
- "TOTPCodeCreate": {
+ "NonEmptyCreditCardCredential": {
"properties": {
- "totp_identifier": {
+ "card_number": {
"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.",
+ "minLength": 1,
+ "title": "Card Number",
+ "description": "The full credit card number (must not be empty)",
"examples": [
- "4155555555",
- "user_123"
+ "4111111111111111"
]
},
- "task_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Task Id",
- "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",
+ "card_cvv": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Cvv",
+ "description": "The card's CVV (must not be empty)",
"examples": [
- "task_123456"
+ "123"
]
},
- "workflow_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Workflow Id",
- "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",
+ "card_exp_month": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Exp Month",
+ "description": "The card's expiration month (must not be empty)",
"examples": [
- "wpid_123456"
+ "12"
]
},
- "workflow_run_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Workflow Run Id",
- "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",
+ "card_exp_year": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Exp Year",
+ "description": "The card's expiration year (must not be empty)",
"examples": [
- "wr_123456"
+ "2025"
]
},
- "source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Source",
- "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",
+ "card_brand": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Card Brand",
+ "description": "The card's brand (must not be empty)",
"examples": [
- "email",
- "sms",
- "app"
+ "visa"
]
},
- "content": {
+ "card_holder_name": {
"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.",
+ "minLength": 1,
+ "title": "Card Holder Name",
+ "description": "The name of the card holder (must not be empty)",
"examples": [
- "Hello, your verification code is 123456"
+ "John Doe"
+ ]
+ }
+ },
+ "type": "object",
+ "required": [
+ "card_number",
+ "card_cvv",
+ "card_exp_month",
+ "card_exp_year",
+ "card_brand",
+ "card_holder_name"
+ ],
+ "title": "NonEmptyCreditCardCredential",
+ "description": "Credit card credential model that requires non-empty values."
+ },
+ "NonEmptyPasswordCredential": {
+ "properties": {
+ "password": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Password",
+ "description": "The password value (must not be empty)",
+ "examples": [
+ "securepassword123"
]
},
- "expired_at": {
+ "username": {
+ "type": "string",
+ "minLength": 1,
+ "title": "Username",
+ "description": "The username associated with the credential (must not be empty)",
+ "examples": [
+ ]
+ },
+ "totp": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Expired At",
- "description": "The timestamp when the TOTP code expires",
+ "title": "Totp",
+ "description": "Optional TOTP (Time-based One-Time Password) string used to generate 2FA codes",
"examples": [
- "2025-01-01T00:00:00Z"
+ "JBSWY3DPEHPK3PXP"
]
}
},
"type": "object",
"required": [
- "totp_identifier",
- "content"
+ "password",
+ "username"
],
- "title": "TOTPCodeCreate"
+ "title": "NonEmptyPasswordCredential",
+ "description": "Password credential model that requires non-empty values."
},
- "TaskBlock": {
+ "OnePasswordCredentialParameter": {
"properties": {
- "label": {
+ "parameter_type": {
"type": "string",
- "title": "Label"
+ "const": "onepassword",
+ "title": "Parameter Type",
+ "default": "onepassword"
},
- "block_type": {
+ "key": {
"type": "string",
- "const": "task",
- "title": "Block Type",
- "default": "task"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Key"
},
- "model": {
+ "description": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Description"
},
- "task_type": {
+ "onepassword_credential_parameter_id": {
"type": "string",
- "title": "Task Type",
- "default": "general"
+ "title": "Onepassword Credential Parameter Id"
},
- "url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Url"
+ "workflow_id": {
+ "type": "string",
+ "title": "Workflow Id"
},
- "title": {
+ "vault_id": {
"type": "string",
- "title": "Title",
- "default": ""
+ "title": "Vault Id"
},
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "item_id": {
+ "type": "string",
+ "title": "Item Id"
},
- "complete_criterion": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
"anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Complete Criterion"
+ "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",
+ "const": "onepassword",
+ "title": "Parameter Type",
+ "default": "onepassword"
},
- "terminate_criterion": {
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
"anyOf": [
{
"type": "string"
@@ -8362,40 +7952,39 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Description"
},
- "navigation_goal": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Navigation Goal"
+ "vault_id": {
+ "type": "string",
+ "title": "Vault Id"
},
- "data_extraction_goal": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Data Extraction Goal"
+ "item_id": {
+ "type": "string",
+ "title": "Item Id"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "vault_id",
+ "item_id"
+ ],
+ "title": "OnePasswordCredentialParameterYAML"
+ },
+ "OutputParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "output",
+ "title": "Parameter Type",
+ "default": "output"
},
- "data_schema": {
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
"anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
{
"type": "string"
},
@@ -8403,160 +7992,144 @@
"type": "null"
}
],
- "title": "Data Schema"
+ "title": "Description"
},
- "error_code_mapping": {
+ "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": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "output_parameter_id",
+ "workflow_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "OutputParameter"
+ },
+ "OutputParameterYAML": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "output",
+ "title": "Parameter Type",
+ "default": "output"
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "key": {
+ "type": "string",
+ "title": "Key"
},
- "max_steps_per_run": {
+ "description": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "title": "Description"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key"
+ ],
+ "title": "OutputParameterYAML"
+ },
+ "PDFParserBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
},
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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": []
+ "block_type": {
+ "type": "string",
+ "const": "pdf_parser",
+ "title": "Block Type",
+ "default": "pdf_parser"
},
- "complete_on_download": {
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
"type": "boolean",
- "title": "Complete On Download",
+ "title": "Continue On Failure",
"default": false
},
- "download_suffix": {
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Download Suffix"
+ "title": "Model"
},
- "totp_verification_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Verification Url"
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
},
- "totp_identifier": {
+ "json_schema": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Totp Identifier"
- },
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
- },
- "complete_verification": {
- "type": "boolean",
- "title": "Complete Verification",
- "default": true
- },
- "include_action_history_in_verification": {
- "type": "boolean",
- "title": "Include Action History In Verification",
- "default": false
+ "title": "Json Schema"
}
},
"type": "object",
"required": [
"label",
- "output_parameter"
+ "output_parameter",
+ "file_url"
],
- "title": "TaskBlock"
+ "title": "PDFParserBlock",
+ "description": "DEPRECATED: Use FileParserBlock with file_type=FileType.PDF instead.\nThis block will be removed in a future version."
},
- "TaskBlockYAML": {
+ "PDFParserBlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "task",
+ "const": "pdf_parser",
"title": "Block Type",
- "default": "task"
+ "default": "pdf_parser"
},
"label": {
"type": "string",
@@ -8579,27 +8152,116 @@
],
"title": "Model"
},
- "url": {
- "anyOf": [
- {
- "type": "string"
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "json_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Url"
+ "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",
+ "examples": [
+ ]
+ }
+ },
+ "type": "object",
+ "required": [
+ "username"
+ ],
+ "title": "PasswordCredentialResponse",
+ "description": "Response model for password credentials, containing only the username."
+ },
+ "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_ISP",
+ "NONE"
+ ],
+ "title": "ProxyLocation"
+ },
+ "RunEngine": {
+ "type": "string",
+ "enum": [
+ "skyvern-1.0",
+ "skyvern-2.0",
+ "openai-cua",
+ "anthropic-cua",
+ "ui-tars"
+ ],
+ "title": "RunEngine"
+ },
+ "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"
},
- "title": {
+ "script_id": {
"type": "string",
- "title": "Title",
- "default": ""
+ "title": "Script Id",
+ "description": "User-facing script identifier, consistent across versions"
},
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id",
+ "description": "ID of the organization that owns this script"
},
- "navigation_goal": {
+ "run_id": {
"anyOf": [
{
"type": "string"
@@ -8608,29 +8270,73 @@
"type": "null"
}
],
- "title": "Navigation Goal"
+ "title": "Run Id",
+ "description": "ID of the workflow run or task run that generated this script"
},
- "data_extraction_goal": {
+ "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": {
"anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Data Extraction Goal"
+ "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",
+ "examples": [
+ "src/main.py"
+ ]
},
- "data_schema": {
+ "content": {
+ "type": "string",
+ "title": "Content",
+ "description": "Base64 encoded file content"
+ },
+ "encoding": {
+ "$ref": "#/components/schemas/FileEncoding",
+ "description": "Content encoding",
+ "default": "base64"
+ },
+ "mime_type": {
"anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
{
"type": "string"
},
@@ -8638,146 +8344,250 @@
"type": "null"
}
],
- "title": "Data Schema"
- },
- "error_code_mapping": {
+ "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."
+ },
+ "SelectOption": {
+ "properties": {
+ "label": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
- },
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "title": "Label"
},
- "max_steps_per_run": {
+ "value": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "title": "Value"
},
- "parameter_keys": {
+ "index": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
+ "title": "Index"
+ }
+ },
+ "type": "object",
+ "title": "SelectOption"
+ },
+ "SendEmailBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
},
- "complete_on_download": {
+ "block_type": {
+ "type": "string",
+ "const": "send_email",
+ "title": "Block Type",
+ "default": "send_email"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
"type": "boolean",
- "title": "Complete On Download",
+ "title": "Continue On Failure",
"default": false
},
- "download_suffix": {
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Download Suffix"
+ "title": "Model"
},
- "totp_verification_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Verification Url"
+ "smtp_host": {
+ "$ref": "#/components/schemas/AWSSecretParameter"
},
- "totp_identifier": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Identifier"
+ "smtp_port": {
+ "$ref": "#/components/schemas/AWSSecretParameter"
},
- "cache_actions": {
+ "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",
+ "const": "send_email",
+ "title": "Block Type",
+ "default": "send_email"
+ },
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
"type": "boolean",
- "title": "Cache Actions",
+ "title": "Continue On Failure",
"default": false
},
- "complete_criterion": {
+ "model": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Model"
},
- "terminate_criterion": {
+ "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": {
"anyOf": [
{
- "type": "string"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
{
"type": "null"
}
],
- "title": "Terminate Criterion"
- },
- "complete_verification": {
- "type": "boolean",
- "title": "Complete Verification",
- "default": true
- },
- "include_action_history_in_verification": {
- "type": "boolean",
- "title": "Include Action History In Verification",
- "default": false
+ "title": "File Attachments"
}
},
"type": "object",
"required": [
- "label"
+ "label",
+ "smtp_host_secret_parameter_key",
+ "smtp_port_secret_parameter_key",
+ "smtp_username_secret_parameter_key",
+ "smtp_password_secret_parameter_key",
+ "sender",
+ "recipients",
+ "subject",
+ "body"
],
- "title": "TaskBlockYAML"
+ "title": "SendEmailBlockYAML"
},
- "TaskRunRequest": {
+ "TOTPCode": {
"properties": {
- "prompt": {
+ "totp_identifier": {
"type": "string",
- "title": "Prompt",
- "description": "\nThe goal or task description for Skyvern to accomplish\n",
+ "title": "Totp Identifier",
+ "description": "The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.",
"examples": [
- "Find the top 3 posts on Hacker News.",
- "Go to google finance, extract the \"AAPL\" stock price for me with the date."
+ "4155555555",
+ "user_123"
]
},
- "url": {
+ "task_id": {
"anyOf": [
{
"type": "string"
@@ -8786,19 +8596,13 @@
"type": "null"
}
],
- "title": "Url",
- "description": "\nThe starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL\n",
+ "title": "Task Id",
+ "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",
"examples": [
- "https://www.hackernews.com",
- "https://www.google.com/finance"
+ "task_123456"
]
},
- "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": {
+ "workflow_id": {
"anyOf": [
{
"type": "string"
@@ -8807,34 +8611,29 @@
"type": "null"
}
],
- "title": "Title",
- "description": "The title for the task",
+ "title": "Workflow Id",
+ "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",
"examples": [
- "The title of my first skyvern task"
+ "wpid_123456"
]
},
- "proxy_location": {
+ "workflow_run_id": {
"anyOf": [
{
- "$ref": "#/components/schemas/ProxyLocation"
+ "type": "string"
},
{
"type": "null"
}
],
- "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_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California\n- US-NY: New York\n- US-TX: Texas\n- US-FL: Florida\n- US-WA: Washington\n- NONE: No proxy\n",
- "default": "RESIDENTIAL"
+ "title": "Workflow Run Id",
+ "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",
+ "examples": [
+ "wr_123456"
+ ]
},
- "data_extraction_schema": {
+ "source": {
"anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
{
"type": "string"
},
@@ -8842,49 +8641,91 @@
"type": "null"
}
],
- "title": "Data Extraction Schema",
- "description": "\nThe schema for data to be extracted from the webpage. If you're looking for consistent data schema being returned by the agent, it's highly recommended to use https://json-schema.org/.\n"
+ "title": "Source",
+ "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",
+ "examples": [
+ "email",
+ "sms",
+ "app"
+ ]
},
- "error_code_mapping": {
- "anyOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Error Code Mapping",
- "description": "\nCustom mapping of error codes to error messages if Skyvern encounters an error.\n",
+ "content": {
+ "type": "string",
+ "title": "Content",
+ "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",
"examples": [
- {
- "login_failed": "The login credentials are incorrect or the account is locked"
- },
- {
- "maintenance_mode": "The website is down for maintenance"
- }
+ "Hello, your verification code is 123456"
]
},
- "max_steps": {
+ "expired_at": {
"anyOf": [
{
- "type": "integer"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Max Steps",
- "description": "\nMaximum number of steps the task can take. Task will fail if it exceeds this number. Cautions: you are charged per step so please set this number to a reasonable value. Contact [email protected] for custom pricing.\n",
+ "title": "Expired At",
+ "description": "The timestamp when the TOTP code expires",
"examples": [
- 10,
- 25
+ "2025-01-01T00:00:00Z"
]
},
- "webhook_url": {
+ "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."
+ }
+ },
+ "type": "object",
+ "required": [
+ "totp_identifier",
+ "content",
+ "totp_code_id",
+ "code",
+ "organization_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "TOTPCode"
+ },
+ "TOTPCodeCreate": {
+ "properties": {
+ "totp_identifier": {
+ "type": "string",
+ "title": "Totp Identifier",
+ "description": "The identifier of the TOTP code. It can be the email address, phone number, or the identifier of the user.",
+ "examples": [
+ "4155555555",
+ "user_123"
+ ]
+ },
+ "task_id": {
"anyOf": [
{
"type": "string"
@@ -8893,13 +8734,13 @@
"type": "null"
}
],
- "title": "Webhook Url",
- "description": "\nAfter a run is finished, send an update to this URL. Refer to https://docs.skyvern.com/running-tasks/webhooks-faq for more details.\n",
+ "title": "Task Id",
+ "description": "The task_id the totp code is for. It can be the task_id of the task that the TOTP code is for.",
"examples": [
- "https://my-site.com/webhook"
+ "task_123456"
]
},
- "totp_identifier": {
+ "workflow_id": {
"anyOf": [
{
"type": "string"
@@ -8908,15 +8749,13 @@
"type": "null"
}
],
- "title": "Totp Identifier",
- "description": "\nIdentifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://docs.skyvern.com/credentials/totp#option-3-push-code-to-skyvern for more details.\n",
+ "title": "Workflow Id",
+ "description": "The workflow ID the TOTP code is for. It can be the workflow ID of the workflow that the TOTP code is for.",
"examples": [
- "4155555555",
- "user_123"
+ "wpid_123456"
]
},
- "totp_url": {
+ "workflow_run_id": {
"anyOf": [
{
"type": "string"
@@ -8925,13 +8764,13 @@
"type": "null"
}
],
- "title": "Totp Url",
- "description": "\nURL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://docs.skyvern.com/credentials/totp#option-2-get-code-from-your-endpoint for more details.\n",
+ "title": "Workflow Run Id",
+ "description": "The workflow run id that the TOTP code is for. It can be the workflow run id of the workflow run that the TOTP code is for.",
"examples": [
- "https://my-totp-service.com/totp"
+ "wr_123456"
]
},
- "browser_session_id": {
+ "source": {
"anyOf": [
{
"type": "string"
@@ -8940,11 +8779,65 @@
"type": "null"
}
],
- "title": "Browser Session Id",
- "description": "\nRun the task or workflow in the specific Skyvern browser session. Having a browser session can persist the real-time state of the browser, so that the next run can continue from where the previous run left off.\n",
+ "title": "Source",
+ "description": "An optional field. The source of the TOTP code. e.g. email, sms, etc.",
"examples": [
- "pbs_123"
+ "email",
+ "sms",
+ "app"
+ ]
+ },
+ "content": {
+ "type": "string",
+ "title": "Content",
+ "description": "The content of the TOTP code. It can be the email content that contains the TOTP code, or the sms message that contains the TOTP code. Skyvern will automatically extract the TOTP code from the content.",
+ "examples": [
+ "Hello, your verification code is 123456"
+ ]
+ },
+ "expired_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Expired At",
+ "description": "The timestamp when the TOTP code expires",
+ "examples": [
+ "2025-01-01T00:00:00Z"
]
+ }
+ },
+ "type": "object",
+ "required": [
+ "totp_identifier",
+ "content"
+ ],
+ "title": "TOTPCodeCreate"
+ },
+ "TaskBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "task",
+ "title": "Block Type",
+ "default": "task"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
},
"model": {
"anyOf": [
@@ -8956,56 +8849,56 @@
"type": "null"
}
],
- "title": "Model",
- "description": "\nOptional model configuration.\n"
+ "title": "Model"
},
- "extra_http_headers": {
+ "task_type": {
+ "type": "string",
+ "title": "Task Type",
+ "default": "general"
+ },
+ "url": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Extra Http Headers",
- "description": "The extra HTTP headers for the requests in browser."
+ "title": "Url"
},
- "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
+ "title": {
+ "type": "string",
+ "title": "Title",
+ "default": ""
},
- "include_action_history_in_verification": {
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "complete_criterion": {
"anyOf": [
{
- "type": "boolean"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Include Action History In Verification",
- "description": "Whether to include action history when verifying that the task is complete",
- "default": false
+ "title": "Complete Criterion"
},
- "max_screenshot_scrolls": {
+ "terminate_criterion": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Screenshot Scrolls",
- "description": "The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot."
+ "title": "Terminate Criterion"
},
- "browser_address": {
+ "navigation_goal": {
"anyOf": [
{
"type": "string"
@@ -9014,47 +8907,20 @@
"type": "null"
}
],
- "title": "Browser Address",
- "description": "The CDP address for the task.",
- "examples": [
- "http://127.0.0.1:9222",
- "ws://127.0.0.1:9222/devtools/browser/1234567890"
- ]
- }
- },
- "type": "object",
- "required": [
- "prompt"
- ],
- "title": "TaskRunRequest"
- },
- "TaskRunResponse": {
- "properties": {
- "run_id": {
- "type": "string",
- "title": "Run Id",
- "description": "Unique identifier for this run. Run ID starts with `tsk_` for task runs and `wr_` for workflow runs.",
- "examples": [
- "tsk_123",
- "tsk_v2_123",
- "wr_123"
- ]
+ "title": "Navigation Goal"
},
- "status": {
- "$ref": "#/components/schemas/RunStatus",
- "description": "Current status of the run",
- "examples": [
- "created",
- "queued",
- "running",
- "timed_out",
- "failed",
- "terminated",
- "completed",
- "canceled"
- ]
+ "data_extraction_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Extraction Goal"
},
- "output": {
+ "data_schema": {
"anyOf": [
{
"additionalProperties": true,
@@ -9071,121 +8937,109 @@
"type": "null"
}
],
- "title": "Output",
- "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run."
+ "title": "Data Schema"
},
- "downloaded_files": {
+ "error_code_mapping": {
"anyOf": [
{
- "items": {
- "$ref": "#/components/schemas/FileInfo"
+ "additionalProperties": {
+ "type": "string"
},
- "type": "array"
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Downloaded Files",
- "description": "List of files downloaded during the run"
+ "title": "Error Code Mapping"
},
- "recording_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Recording Url",
- "description": "URL to the recording of the run"
- },
- "screenshot_urls": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "title": "Screenshot Urls",
- "description": "List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot."
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
},
- "failure_reason": {
+ "max_steps_per_run": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Failure Reason",
- "description": "Reason for failure if the run failed or terminated"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At",
- "description": "Timestamp when this run was created",
- "examples": [
- "2025-01-01T00:00:00Z"
- ]
- },
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At",
- "description": "Timestamp when this run was last modified",
- "examples": [
- "2025-01-01T00:05:00Z"
- ]
+ "title": "Max Steps Per Run"
},
- "queued_at": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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"
+ }
}
- ],
- "title": "Queued At",
- "description": "Timestamp when this run was queued"
+ },
+ "type": "array",
+ "title": "Parameters",
+ "default": []
},
- "started_at": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ],
- "title": "Started At",
- "description": "Timestamp when this run started execution"
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
},
- "finished_at": {
+ "download_suffix": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Finished At",
- "description": "Timestamp when this run finished"
+ "title": "Download Suffix"
},
- "app_url": {
+ "totp_verification_url": {
"anyOf": [
{
"type": "string"
@@ -9194,14 +9048,9 @@
"type": "null"
}
],
- "title": "App Url",
- "description": "URL to the application UI where the run can be viewed",
- "examples": [
- "https://app.skyvern.com/tasks/tsk_123",
- "https://app.skyvern.com/workflows/wpid_123/wr_123"
- ]
+ "title": "Totp Verification Url"
},
- "browser_session_id": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -9210,72 +9059,42 @@
"type": "null"
}
],
- "title": "Browser Session Id",
- "description": "ID of the Skyvern persistent browser session used for this run",
- "examples": [
- "pbs_123"
- ]
+ "title": "Totp Identifier"
},
- "max_screenshot_scrolls": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "title": "Max Screenshot Scrolls",
- "description": "The maximum number of scrolls for the post action screenshot. When it's None or 0, it takes the current viewpoint screenshot"
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
},
- "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"
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
},
- "run_request": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/TaskRunRequest"
- },
- {
- "type": "null"
- }
- ],
- "description": "The original request parameters used to start this task run"
+ "include_action_history_in_verification": {
+ "type": "boolean",
+ "title": "Include Action History In Verification",
+ "default": false
}
},
"type": "object",
"required": [
- "run_id",
- "status",
- "created_at",
- "modified_at",
- "run_type"
+ "label",
+ "output_parameter"
],
- "title": "TaskRunResponse"
+ "title": "TaskBlock"
},
- "TaskV2Block": {
+ "TaskBlockYAML": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
"block_type": {
"type": "string",
- "const": "task_v2",
+ "const": "task",
"title": "Block Type",
- "default": "task_v2"
+ "default": "task"
},
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "label": {
+ "type": "string",
+ "title": "Label"
},
"continue_on_failure": {
"type": "boolean",
@@ -9294,10 +9113,6 @@
],
"title": "Model"
},
- "prompt": {
- "type": "string",
- "title": "Prompt"
- },
"url": {
"anyOf": [
{
@@ -9309,7 +9124,16 @@
],
"title": "Url"
},
- "totp_verification_url": {
+ "title": {
+ "type": "string",
+ "title": "Title",
+ "default": ""
+ },
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "navigation_goal": {
"anyOf": [
{
"type": "string"
@@ -9318,9 +9142,9 @@
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Navigation Goal"
},
- "totp_identifier": {
+ "data_extraction_goal": {
"anyOf": [
{
"type": "string"
@@ -9329,332 +9153,186 @@
"type": "null"
}
],
- "title": "Totp Identifier"
- },
- "max_iterations": {
- "type": "integer",
- "title": "Max Iterations",
- "default": 10
+ "title": "Data Extraction Goal"
},
- "max_steps": {
- "type": "integer",
- "title": "Max Steps",
- "default": 25
- }
- },
- "type": "object",
- "required": [
- "label",
- "output_parameter",
- "prompt"
- ],
- "title": "TaskV2Block"
- },
- "TaskV2BlockYAML": {
- "properties": {
- "block_type": {
- "type": "string",
- "const": "task_v2",
- "title": "Block Type",
- "default": "task_v2"
- },
- "label": {
- "type": "string",
- "title": "Label"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
- },
- "model": {
+ "data_schema": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
{
"type": "null"
}
],
- "title": "Model"
- },
- "prompt": {
- "type": "string",
- "title": "Prompt"
+ "title": "Data Schema"
},
- "url": {
+ "error_code_mapping": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Url"
+ "title": "Error Code Mapping"
},
- "totp_verification_url": {
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
+ },
+ "max_steps_per_run": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Max Steps Per Run"
},
- "totp_identifier": {
+ "parameter_keys": {
"anyOf": [
{
- "type": "string"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
{
"type": "null"
}
],
- "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",
- "prompt"
- ],
- "title": "TaskV2BlockYAML"
- },
- "TextPromptBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "text_prompt",
- "title": "Block Type",
- "default": "text_prompt"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
+ "title": "Parameter Keys"
},
- "continue_on_failure": {
+ "complete_on_download": {
"type": "boolean",
- "title": "Continue On Failure",
+ "title": "Complete On Download",
"default": false
},
- "model": {
+ "download_suffix": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "llm_key": {
- "type": "string",
- "title": "Llm Key",
- "default": "AZURE_OPENAI_GPT4_1"
- },
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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": []
+ "title": "Download Suffix"
},
- "json_schema": {
+ "totp_verification_url": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Json Schema"
- }
- },
- "type": "object",
- "required": [
- "label",
- "output_parameter",
- "prompt"
- ],
- "title": "TextPromptBlock"
- },
- "TextPromptBlockYAML": {
- "properties": {
- "block_type": {
- "type": "string",
- "const": "text_prompt",
- "title": "Block Type",
- "default": "text_prompt"
- },
- "label": {
- "type": "string",
- "title": "Label"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Totp Verification Url"
},
- "model": {
+ "totp_identifier": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "llm_key": {
- "type": "string",
- "title": "Llm Key",
- "default": "GEMINI_2_5_FLASH_WITH_GPT_4_1_MINI_FALLBACK"
+ "title": "Totp Identifier"
},
- "prompt": {
- "type": "string",
- "title": "Prompt"
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
},
- "parameter_keys": {
+ "complete_criterion": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
+ "title": "Complete Criterion"
},
- "json_schema": {
+ "terminate_criterion": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Json Schema"
+ "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",
- "prompt"
+ "label"
],
- "title": "TextPromptBlockYAML"
+ "title": "TaskBlockYAML"
},
- "UploadToS3Block": {
+ "TaskRunRequest": {
"properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
+ "prompt": {
"type": "string",
- "const": "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
+ "title": "Prompt",
+ "description": "\nThe goal or task description for Skyvern to accomplish\n",
+ "examples": [
+ "Find the top 3 posts on Hacker News.",
+ "Go to google finance, extract the \"AAPL\" stock price for me with the date."
+ ]
},
- "model": {
+ "url": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
+ "title": "Url",
+ "description": "\nThe starting URL for the task. If not provided, Skyvern will attempt to determine an appropriate URL\n",
+ "examples": [
+ "https://www.hackernews.com",
+ "https://www.google.com/finance"
+ ]
},
- "path": {
+ "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": {
"anyOf": [
{
"type": "string"
@@ -9663,47 +9341,34 @@
"type": "null"
}
],
- "title": "Path"
- }
- },
- "type": "object",
- "required": [
- "label",
- "output_parameter"
- ],
- "title": "UploadToS3Block"
- },
- "UploadToS3BlockYAML": {
- "properties": {
- "block_type": {
- "type": "string",
- "const": "upload_to_s3",
- "title": "Block Type",
- "default": "upload_to_s3"
- },
- "label": {
- "type": "string",
- "title": "Label"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "title": "Title",
+ "description": "The title for the task",
+ "examples": [
+ "The title of my first skyvern task"
+ ]
},
- "model": {
+ "proxy_location": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "$ref": "#/components/schemas/ProxyLocation"
},
{
"type": "null"
}
],
- "title": "Model"
+ "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_ZA: South Africa\n- RESIDENTIAL_AR: Argentina\n- RESIDENTIAL_AU: Australia\n- RESIDENTIAL_ISP: ISP proxy\n- US-CA: California\n- US-NY: New York\n- US-TX: Texas\n- US-FL: Florida\n- US-WA: Washington\n- NONE: No proxy\n",
+ "default": "RESIDENTIAL"
},
- "path": {
+ "data_extraction_schema": {
"anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
{
"type": "string"
},
@@ -9711,66 +9376,49 @@
"type": "null"
}
],
- "title": "Path"
- }
- },
- "type": "object",
- "required": [
- "label"
- ],
- "title": "UploadToS3BlockYAML"
- },
- "UrlBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "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
+ "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"
},
- "model": {
+ "error_code_mapping": {
"anyOf": [
{
- "additionalProperties": true,
+ "additionalProperties": {
+ "type": "string"
+ },
"type": "object"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
- },
- "url": {
- "type": "string",
- "title": "Url"
- },
- "title": {
- "type": "string",
- "title": "Title",
- "default": ""
+ "title": "Error Code Mapping",
+ "description": "\nCustom mapping of error codes to error messages if Skyvern encounters an error.\n",
+ "examples": [
+ {
+ "login_failed": "The login credentials are incorrect or the account is locked"
+ },
+ {
+ "maintenance_mode": "The website is down for maintenance"
+ }
+ ]
},
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "max_steps": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Steps",
+ "description": "\nMaximum number of steps the task can take. Task will fail if it exceeds this number. Cautions: you are charged per step so please set this number to a reasonable value. Contact [email protected] for custom pricing.\n",
+ "examples": [
+ 10,
+ 25
+ ]
},
- "complete_criterion": {
+ "webhook_url": {
"anyOf": [
{
"type": "string"
@@ -9779,9 +9427,13 @@
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Webhook Url",
+ "description": "\nAfter a run is finished, send an update to this URL. Refer to https://docs.skyvern.com/running-tasks/webhooks-faq for more details.\n",
+ "examples": [
+ "https://my-site.com/webhook"
+ ]
},
- "terminate_criterion": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -9790,9 +9442,15 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Totp Identifier",
+ "description": "\nIdentifier for the TOTP/2FA/MFA code when the code is pushed to Skyvern. Refer to https://docs.skyvern.com/credentials/totp#option-3-push-code-to-skyvern for more details.\n",
+ "examples": [
+ "4155555555",
+ "user_123"
+ ]
},
- "navigation_goal": {
+ "totp_url": {
"anyOf": [
{
"type": "string"
@@ -9801,9 +9459,13 @@
"type": "null"
}
],
- "title": "Navigation Goal"
+ "title": "Totp Url",
+ "description": "\nURL that serves TOTP/2FA/MFA codes for Skyvern to use during the workflow run. Refer to https://docs.skyvern.com/credentials/totp#option-2-get-code-from-your-endpoint for more details.\n",
+ "examples": [
+ "https://my-totp-service.com/totp"
+ ]
},
- "data_extraction_goal": {
+ "browser_session_id": {
"anyOf": [
{
"type": "string"
@@ -9812,28 +9474,26 @@
"type": "null"
}
],
- "title": "Data Extraction Goal"
+ "title": "Browser Session Id",
+ "description": "\nRun the task or workflow in the specific Skyvern browser session. Having a browser session can persist the real-time state of the browser, so that the next run can continue from where the previous run left off.\n",
+ "examples": [
+ "pbs_123"
+ ]
},
- "data_schema": {
+ "model": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
- {
- "items": {},
- "type": "array"
- },
- {
- "type": "string"
- },
{
"type": "null"
}
],
- "title": "Data Schema"
+ "title": "Model",
+ "description": "\nOptional model configuration.\n"
},
- "error_code_mapping": {
+ "extra_http_headers": {
"anyOf": [
{
"additionalProperties": {
@@ -9845,14 +9505,29 @@
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Extra Http Headers",
+ "description": "The extra HTTP headers for the requests in browser."
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "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
},
- "max_steps_per_run": {
+ "include_action_history_in_verification": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Include Action History In Verification",
+ "description": "Whether to include action history when verifying that the task is complete",
+ "default": false
+ },
+ "max_screenshot_scrolls": {
"anyOf": [
{
"type": "integer"
@@ -9861,90 +9536,10 @@
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "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."
},
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",
- "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",
- "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",
- "context": "#/components/schemas/ContextParameter",
- "credential": "#/components/schemas/CredentialParameter",
- "onepassword": "#/components/schemas/OnePasswordCredentialParameter",
- "output": "#/components/schemas/OutputParameter",
- "workflow": "#/components/schemas/WorkflowParameter"
- }
- }
- },
- "type": "array",
- "title": "Parameters",
- "default": []
- },
- "complete_on_download": {
- "type": "boolean",
- "title": "Complete On Download",
- "default": false
- },
- "download_suffix": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Download Suffix"
- },
- "totp_verification_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Totp Verification Url"
- },
- "totp_identifier": {
+ "browser_address": {
"anyOf": [
{
"type": "string"
@@ -9953,112 +9548,56 @@
"type": "null"
}
],
- "title": "Totp Identifier"
- },
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
- },
- "complete_verification": {
- "type": "boolean",
- "title": "Complete Verification",
- "default": true
- },
- "include_action_history_in_verification": {
- "type": "boolean",
- "title": "Include Action History In Verification",
- "default": false
+ "title": "Browser Address",
+ "description": "The CDP address for the task.",
+ "examples": [
+ "http://127.0.0.1:9222",
+ "ws://127.0.0.1:9222/devtools/browser/1234567890"
+ ]
}
},
"type": "object",
"required": [
- "label",
- "output_parameter",
- "url"
+ "prompt"
],
- "title": "UrlBlock"
+ "title": "TaskRunRequest"
},
- "UrlBlockYAML": {
+ "TaskRunResponse": {
"properties": {
- "block_type": {
- "type": "string",
- "const": "goto_url",
- "title": "Block Type",
- "default": "goto_url"
- },
- "label": {
+ "run_id": {
"type": "string",
- "title": "Label"
+ "title": "Run Id",
+ "description": "Unique identifier for this run. Run ID starts with `tsk_` for task runs and `wr_` for workflow runs.",
+ "examples": [
+ "tsk_123",
+ "tsk_v2_123",
+ "wr_123"
+ ]
},
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
+ "status": {
+ "$ref": "#/components/schemas/RunStatus",
+ "description": "Current status of the run",
+ "examples": [
+ "created",
+ "queued",
+ "running",
+ "timed_out",
+ "failed",
+ "terminated",
+ "completed",
+ "canceled"
+ ]
},
- "model": {
+ "output": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
- "type": "null"
- }
- ],
- "title": "Model"
- },
- "url": {
- "type": "string",
- "title": "Url"
- }
- },
- "type": "object",
- "required": [
- "label",
- "url"
- ],
- "title": "UrlBlockYAML"
- },
- "ValidationBlock": {
- "properties": {
- "label": {
- "type": "string",
- "title": "Label"
- },
- "block_type": {
- "type": "string",
- "const": "validation",
- "title": "Block Type",
- "default": "validation"
- },
- "output_parameter": {
- "$ref": "#/components/schemas/OutputParameter"
- },
- "continue_on_failure": {
- "type": "boolean",
- "title": "Continue On Failure",
- "default": false
- },
- "model": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
+ "items": {},
+ "type": "array"
},
- {
- "type": "null"
- }
- ],
- "title": "Model"
- },
- "task_type": {
- "type": "string",
- "title": "Task Type",
- "default": "general"
- },
- "url": {
- "anyOf": [
{
"type": "string"
},
@@ -10066,29 +9605,25 @@
"type": "null"
}
],
- "title": "Url"
- },
- "title": {
- "type": "string",
- "title": "Title",
- "default": ""
- },
- "engine": {
- "$ref": "#/components/schemas/RunEngine",
- "default": "skyvern-1.0"
+ "title": "Output",
+ "description": "Output data from the run, if any. Format/schema depends on the data extracted by the run."
},
- "complete_criterion": {
+ "downloaded_files": {
"anyOf": [
{
- "type": "string"
+ "items": {
+ "$ref": "#/components/schemas/FileInfo"
+ },
+ "type": "array"
},
{
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Downloaded Files",
+ "description": "List of files downloaded during the run"
},
- "terminate_criterion": {
+ "recording_url": {
"anyOf": [
{
"type": "string"
@@ -10097,20 +9632,25 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Recording Url",
+ "description": "URL to the recording of the run"
},
- "navigation_goal": {
+ "screenshot_urls": {
"anyOf": [
{
- "type": "string"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
{
"type": "null"
}
],
- "title": "Navigation Goal"
+ "title": "Screenshot Urls",
+ "description": "List of last n screenshot URLs in reverse chronological order - the first one the list is the latest screenshot."
},
- "data_extraction_goal": {
+ "failure_reason": {
"anyOf": [
{
"type": "string"
@@ -10119,47 +9659,98 @@
"type": "null"
}
],
- "title": "Data Extraction Goal"
+ "title": "Failure Reason",
+ "description": "Reason for failure if the run failed or terminated"
},
- "data_schema": {
- "anyOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "items": {},
- "type": "array"
- },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At",
+ "description": "Timestamp when this run was created",
+ "examples": [
+ "2025-01-01T00:00:00Z"
+ ]
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At",
+ "description": "Timestamp when this run was last modified",
+ "examples": [
+ "2025-01-01T00:05:00Z"
+ ]
+ },
+ "queued_at": {
+ "anyOf": [
{
- "type": "string"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Data Schema"
+ "title": "Queued At",
+ "description": "Timestamp when this run was queued"
},
- "error_code_mapping": {
+ "started_at": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string",
+ "format": "date-time"
},
{
"type": "null"
}
],
- "title": "Error Code Mapping"
+ "title": "Started At",
+ "description": "Timestamp when this run started execution"
},
- "max_retries": {
- "type": "integer",
- "title": "Max Retries",
- "default": 0
+ "finished_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Finished At",
+ "description": "Timestamp when this run finished"
},
- "max_steps_per_run": {
+ "app_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "App Url",
+ "description": "URL to the application UI where the run can be viewed",
+ "examples": [
+ "https://app.skyvern.com/tasks/tsk_123",
+ "https://app.skyvern.com/workflows/wpid_123/wr_123"
+ ]
+ },
+ "browser_session_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Browser Session Id",
+ "description": "ID of the Skyvern persistent browser session used for this run",
+ "examples": [
+ "pbs_123"
+ ]
+ },
+ "max_screenshot_scrolls": {
"anyOf": [
{
"type": "integer"
@@ -10168,68 +9759,80 @@
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "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"
},
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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"
- }
+ "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": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/TaskRunRequest"
+ },
+ {
+ "type": "null"
}
- },
- "type": "array",
- "title": "Parameters",
- "default": []
+ ],
+ "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"
},
- "complete_on_download": {
+ "block_type": {
+ "type": "string",
+ "const": "task_v2",
+ "title": "Block Type",
+ "default": "task_v2"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
"type": "boolean",
- "title": "Complete On Download",
+ "title": "Continue On Failure",
"default": false
},
- "download_suffix": {
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
+ },
+ "url": {
"anyOf": [
{
"type": "string"
@@ -10238,7 +9841,7 @@
"type": "null"
}
],
- "title": "Download Suffix"
+ "title": "Url"
},
"totp_verification_url": {
"anyOf": [
@@ -10262,36 +9865,32 @@
],
"title": "Totp Identifier"
},
- "cache_actions": {
- "type": "boolean",
- "title": "Cache Actions",
- "default": false
- },
- "complete_verification": {
- "type": "boolean",
- "title": "Complete Verification",
- "default": true
+ "max_iterations": {
+ "type": "integer",
+ "title": "Max Iterations",
+ "default": 10
},
- "include_action_history_in_verification": {
- "type": "boolean",
- "title": "Include Action History In Verification",
- "default": false
+ "max_steps": {
+ "type": "integer",
+ "title": "Max Steps",
+ "default": 25
}
},
"type": "object",
"required": [
"label",
- "output_parameter"
+ "output_parameter",
+ "prompt"
],
- "title": "ValidationBlock"
+ "title": "TaskV2Block"
},
- "ValidationBlockYAML": {
+ "TaskV2BlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "validation",
+ "const": "task_v2",
"title": "Block Type",
- "default": "validation"
+ "default": "task_v2"
},
"label": {
"type": "string",
@@ -10314,7 +9913,11 @@
],
"title": "Model"
},
- "complete_criterion": {
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
+ },
+ "url": {
"anyOf": [
{
"type": "string"
@@ -10323,9 +9926,9 @@
"type": "null"
}
],
- "title": "Complete Criterion"
+ "title": "Url"
},
- "terminate_criterion": {
+ "totp_verification_url": {
"anyOf": [
{
"type": "string"
@@ -10334,77 +9937,38 @@
"type": "null"
}
],
- "title": "Terminate Criterion"
+ "title": "Totp Verification Url"
},
- "error_code_mapping": {
- "anyOf": [
- {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Error Code Mapping"
- },
- "parameter_keys": {
+ "totp_identifier": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Parameter Keys"
- }
- },
- "type": "object",
- "required": [
- "label"
- ],
- "title": "ValidationBlockYAML"
- },
- "ValidationError": {
- "properties": {
- "loc": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- },
- "type": "array",
- "title": "Location"
+ "title": "Totp Identifier"
},
- "msg": {
- "type": "string",
- "title": "Message"
+ "max_iterations": {
+ "type": "integer",
+ "title": "Max Iterations",
+ "default": 10
},
- "type": {
- "type": "string",
- "title": "Error Type"
+ "max_steps": {
+ "type": "integer",
+ "title": "Max Steps",
+ "default": 25
}
},
"type": "object",
"required": [
- "loc",
- "msg",
- "type"
+ "label",
+ "prompt"
],
- "title": "ValidationError"
+ "title": "TaskV2BlockYAML"
},
- "WaitBlock": {
+ "TextPromptBlock": {
"properties": {
"label": {
"type": "string",
@@ -10412,9 +9976,9 @@
},
"block_type": {
"type": "string",
- "const": "wait",
+ "const": "text_prompt",
"title": "Block Type",
- "default": "wait"
+ "default": "text_prompt"
},
"output_parameter": {
"$ref": "#/components/schemas/OutputParameter"
@@ -10436,9 +10000,14 @@
],
"title": "Model"
},
- "wait_sec": {
- "type": "integer",
- "title": "Wait Sec"
+ "llm_key": {
+ "type": "string",
+ "title": "Llm Key",
+ "default": "AZURE_OPENAI_GPT4_1"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
},
"parameters": {
"items": {
@@ -10493,23 +10062,35 @@
"type": "array",
"title": "Parameters",
"default": []
+ },
+ "json_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Json Schema"
}
},
"type": "object",
"required": [
"label",
"output_parameter",
- "wait_sec"
+ "prompt"
],
- "title": "WaitBlock"
+ "title": "TextPromptBlock"
},
- "WaitBlockYAML": {
+ "TextPromptBlockYAML": {
"properties": {
"block_type": {
"type": "string",
- "const": "wait",
+ "const": "text_prompt",
"title": "Block Type",
- "default": "wait"
+ "default": "text_prompt"
},
"label": {
"type": "string",
@@ -10532,45 +10113,64 @@
],
"title": "Model"
},
- "wait_sec": {
- "type": "integer",
- "title": "Wait Sec",
- "default": 0
+ "llm_key": {
+ "type": "string",
+ "title": "Llm Key",
+ "default": "GEMINI_2_5_FLASH_WITH_GPT_4_1_MINI_FALLBACK"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
+ },
+ "parameter_keys": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameter Keys"
+ },
+ "json_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Json Schema"
}
},
"type": "object",
"required": [
- "label"
+ "label",
+ "prompt"
],
- "title": "WaitBlockYAML"
+ "title": "TextPromptBlockYAML"
},
- "Workflow": {
+ "Thought": {
"properties": {
- "workflow_id": {
- "type": "string",
- "title": "Workflow Id"
- },
- "organization_id": {
+ "thought_id": {
"type": "string",
- "title": "Organization Id"
+ "title": "Thought Id"
},
- "title": {
+ "task_id": {
"type": "string",
- "title": "Title"
+ "title": "Task Id"
},
- "workflow_permanent_id": {
+ "organization_id": {
"type": "string",
- "title": "Workflow Permanent Id"
- },
- "version": {
- "type": "integer",
- "title": "Version"
- },
- "is_saved_task": {
- "type": "boolean",
- "title": "Is Saved Task"
+ "title": "Organization Id"
},
- "description": {
+ "workflow_run_id": {
"anyOf": [
{
"type": "string"
@@ -10579,22 +10179,20 @@
"type": "null"
}
],
- "title": "Description"
- },
- "workflow_definition": {
- "$ref": "#/components/schemas/WorkflowDefinition"
+ "title": "Workflow Run Id"
},
- "proxy_location": {
+ "workflow_run_block_id": {
"anyOf": [
{
- "$ref": "#/components/schemas/ProxyLocation"
+ "type": "string"
},
{
"type": "null"
}
- ]
+ ],
+ "title": "Workflow Run Block Id"
},
- "webhook_callback_url": {
+ "workflow_id": {
"anyOf": [
{
"type": "string"
@@ -10603,9 +10201,9 @@
"type": "null"
}
],
- "title": "Webhook Callback Url"
+ "title": "Workflow Id"
},
- "totp_verification_url": {
+ "workflow_permanent_id": {
"anyOf": [
{
"type": "string"
@@ -10614,9 +10212,9 @@
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Workflow Permanent Id"
},
- "totp_identifier": {
+ "user_input": {
"anyOf": [
{
"type": "string"
@@ -10625,170 +10223,193 @@
"type": "null"
}
],
- "title": "Totp Identifier"
- },
- "persist_browser_session": {
- "type": "boolean",
- "title": "Persist Browser Session",
- "default": false
+ "title": "User Input"
},
- "model": {
+ "observation": {
"anyOf": [
{
- "additionalProperties": true,
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Model"
- },
- "status": {
- "$ref": "#/components/schemas/WorkflowStatus",
- "default": "published"
+ "title": "Observation"
},
- "max_screenshot_scrolls": {
+ "thought": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Screenshot Scrolls"
+ "title": "Thought"
},
- "extra_http_headers": {
+ "answer": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Extra Http Headers"
- },
- "generate_script": {
- "type": "boolean",
- "title": "Generate Script",
- "default": false
+ "title": "Answer"
},
- "cache_key": {
+ "thought_type": {
"anyOf": [
{
- "type": "string"
+ "$ref": "#/components/schemas/ThoughtType"
},
{
"type": "null"
}
],
- "title": "Cache Key"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At"
+ "default": "plan"
},
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At"
+ "thought_scenario": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ThoughtScenario"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
- "deleted_at": {
+ "output": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "additionalProperties": true,
+ "type": "object"
},
{
"type": "null"
}
],
- "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"
+ "title": "Output"
},
- "description": {
+ "input_token_count": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Description"
+ "title": "Input Token Count"
},
- "proxy_location": {
+ "output_token_count": {
"anyOf": [
{
- "$ref": "#/components/schemas/ProxyLocation"
+ "type": "integer"
},
{
"type": "null"
}
- ]
+ ],
+ "title": "Output Token Count"
},
- "webhook_callback_url": {
+ "reasoning_token_count": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Webhook Callback Url"
+ "title": "Reasoning Token Count"
},
- "totp_verification_url": {
+ "cached_token_count": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Totp Verification Url"
+ "title": "Cached Token Count"
},
- "totp_identifier": {
+ "thought_cost": {
"anyOf": [
{
- "type": "string"
+ "type": "number"
},
{
"type": "null"
}
],
- "title": "Totp Identifier"
+ "title": "Thought Cost"
},
- "persist_browser_session": {
+ "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"
+ },
+ "UploadToS3Block": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "upload_to_s3",
+ "title": "Block Type",
+ "default": "upload_to_s3"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
"type": "boolean",
- "title": "Persist Browser Session",
+ "title": "Continue On Failure",
"default": false
},
"model": {
@@ -10803,49 +10424,55 @@
],
"title": "Model"
},
- "workflow_definition": {
- "$ref": "#/components/schemas/WorkflowDefinitionYAML"
- },
- "is_saved_task": {
- "type": "boolean",
- "title": "Is Saved Task",
- "default": false
- },
- "max_screenshot_scrolls": {
+ "path": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Screenshot Scrolls"
+ "title": "Path"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter"
+ ],
+ "title": "UploadToS3Block"
+ },
+ "UploadToS3BlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "const": "upload_to_s3",
+ "title": "Block Type",
+ "default": "upload_to_s3"
},
- "extra_http_headers": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
"anyOf": [
{
- "additionalProperties": {
- "type": "string"
- },
+ "additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
- "title": "Extra Http Headers"
- },
- "status": {
- "$ref": "#/components/schemas/WorkflowStatus",
- "default": "published"
- },
- "generate_script": {
- "type": "boolean",
- "title": "Generate Script",
- "default": false
+ "title": "Model"
},
- "cache_key": {
+ "path": {
"anyOf": [
{
"type": "string"
@@ -10854,337 +10481,1831 @@
"type": "null"
}
],
- "title": "Cache Key"
+ "title": "Path"
}
},
"type": "object",
"required": [
- "title",
- "workflow_definition"
+ "label"
],
- "title": "WorkflowCreateYAMLRequest"
+ "title": "UploadToS3BlockYAML"
},
- "WorkflowDefinition": {
+ "UrlBlock": {
"properties": {
- "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/OutputParameter"
- },
- {
- "$ref": "#/components/schemas/CredentialParameter"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameter",
- "azure_secret": "#/components/schemas/AzureSecretParameter",
- "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"
- }
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "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": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
}
- },
- "type": "array",
- "title": "Parameters"
+ ],
+ "title": "Model"
},
- "blocks": {
- "items": {
- "oneOf": [
- {
- "$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"
+ "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": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Complete Criterion"
+ },
+ "terminate_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Terminate Criterion"
+ },
+ "navigation_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Navigation Goal"
+ },
+ "data_extraction_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Schema"
+ },
+ "error_code_mapping": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Error Code Mapping"
+ },
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
+ },
+ "max_steps_per_run": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Steps Per Run"
+ },
+ "parameters": {
+ "items": {
+ "oneOf": [
{
- "$ref": "#/components/schemas/ActionBlock"
+ "$ref": "#/components/schemas/WorkflowParameter"
},
{
- "$ref": "#/components/schemas/NavigationBlock"
+ "$ref": "#/components/schemas/ContextParameter"
},
{
- "$ref": "#/components/schemas/ExtractionBlock"
+ "$ref": "#/components/schemas/AWSSecretParameter"
},
{
- "$ref": "#/components/schemas/LoginBlock"
+ "$ref": "#/components/schemas/AzureSecretParameter"
},
{
- "$ref": "#/components/schemas/WaitBlock"
+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"
},
{
- "$ref": "#/components/schemas/FileDownloadBlock"
+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"
},
{
- "$ref": "#/components/schemas/UrlBlock"
+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"
},
{
- "$ref": "#/components/schemas/TaskV2Block"
+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"
},
{
- "$ref": "#/components/schemas/FileUploadBlock"
+ "$ref": "#/components/schemas/OutputParameter"
},
{
- "$ref": "#/components/schemas/HttpRequestBlock"
+ "$ref": "#/components/schemas/CredentialParameter"
}
],
"discriminator": {
- "propertyName": "block_type",
+ "propertyName": "parameter_type",
"mapping": {
- "action": "#/components/schemas/ActionBlock",
- "code": "#/components/schemas/CodeBlock",
- "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",
- "login": "#/components/schemas/LoginBlock",
- "navigation": "#/components/schemas/NavigationBlock",
- "pdf_parser": "#/components/schemas/PDFParserBlock",
- "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"
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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": "Blocks"
+ "title": "Parameters",
+ "default": []
+ },
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
+ },
+ "download_suffix": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Download Suffix"
+ },
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
+ },
+ "totp_identifier": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Identifier"
+ },
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
+ },
+ "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": [
- "parameters",
- "blocks"
+ "label",
+ "output_parameter",
+ "url"
],
- "title": "WorkflowDefinition"
+ "title": "UrlBlock"
},
- "WorkflowDefinitionYAML": {
+ "UrlBlockYAML": {
"properties": {
- "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/WorkflowParameterYAML"
- },
- {
- "$ref": "#/components/schemas/ContextParameterYAML"
- },
- {
- "$ref": "#/components/schemas/OutputParameterYAML"
+ "block_type": {
+ "type": "string",
+ "const": "goto_url",
+ "title": "Block Type",
+ "default": "goto_url"
+ },
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "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"
+ },
+ "ValidationBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "validation",
+ "title": "Block Type",
+ "default": "validation"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "task_type": {
+ "type": "string",
+ "title": "Task Type",
+ "default": "general"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Url"
+ },
+ "title": {
+ "type": "string",
+ "title": "Title",
+ "default": ""
+ },
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
+ },
+ "complete_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Complete Criterion"
+ },
+ "terminate_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Terminate Criterion"
+ },
+ "navigation_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Navigation Goal"
+ },
+ "data_extraction_goal": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Schema"
+ },
+ "error_code_mapping": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
},
- {
- "$ref": "#/components/schemas/CredentialParameterYAML"
- }
- ],
- "discriminator": {
- "propertyName": "parameter_type",
- "mapping": {
- "aws_secret": "#/components/schemas/AWSSecretParameterYAML",
- "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": "object"
+ },
+ {
+ "type": "null"
}
- },
- "type": "array",
- "title": "Parameters"
+ ],
+ "title": "Error Code Mapping"
},
- "blocks": {
+ "max_retries": {
+ "type": "integer",
+ "title": "Max Retries",
+ "default": 0
+ },
+ "max_steps_per_run": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Steps Per Run"
+ },
+ "parameters": {
"items": {
"oneOf": [
{
- "$ref": "#/components/schemas/TaskBlockYAML"
- },
- {
- "$ref": "#/components/schemas/ForLoopBlockYAML"
- },
- {
- "$ref": "#/components/schemas/CodeBlockYAML"
- },
- {
- "$ref": "#/components/schemas/TextPromptBlockYAML"
- },
- {
- "$ref": "#/components/schemas/DownloadToS3BlockYAML"
- },
- {
- "$ref": "#/components/schemas/UploadToS3BlockYAML"
+ "$ref": "#/components/schemas/WorkflowParameter"
},
{
- "$ref": "#/components/schemas/FileUploadBlockYAML"
+ "$ref": "#/components/schemas/ContextParameter"
},
{
- "$ref": "#/components/schemas/SendEmailBlockYAML"
+ "$ref": "#/components/schemas/AWSSecretParameter"
},
{
- "$ref": "#/components/schemas/FileParserBlockYAML"
+ "$ref": "#/components/schemas/AzureSecretParameter"
},
{
- "$ref": "#/components/schemas/ValidationBlockYAML"
+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"
},
{
- "$ref": "#/components/schemas/ActionBlockYAML"
+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"
},
{
- "$ref": "#/components/schemas/NavigationBlockYAML"
+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"
},
{
- "$ref": "#/components/schemas/ExtractionBlockYAML"
+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"
},
{
- "$ref": "#/components/schemas/LoginBlockYAML"
+ "$ref": "#/components/schemas/OutputParameter"
},
{
- "$ref": "#/components/schemas/WaitBlockYAML"
- },
- {
- "$ref": "#/components/schemas/FileDownloadBlockYAML"
- },
- {
- "$ref": "#/components/schemas/UrlBlockYAML"
- },
- {
- "$ref": "#/components/schemas/PDFParserBlockYAML"
- },
- {
- "$ref": "#/components/schemas/TaskV2BlockYAML"
- },
- {
- "$ref": "#/components/schemas/HttpRequestBlockYAML"
+ "$ref": "#/components/schemas/CredentialParameter"
}
],
"discriminator": {
- "propertyName": "block_type",
+ "propertyName": "parameter_type",
"mapping": {
- "action": "#/components/schemas/ActionBlockYAML",
- "code": "#/components/schemas/CodeBlockYAML",
- "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",
- "login": "#/components/schemas/LoginBlockYAML",
- "navigation": "#/components/schemas/NavigationBlockYAML",
- "pdf_parser": "#/components/schemas/PDFParserBlockYAML",
- "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"
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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": "Blocks"
+ "title": "Parameters",
+ "default": []
+ },
+ "complete_on_download": {
+ "type": "boolean",
+ "title": "Complete On Download",
+ "default": false
+ },
+ "download_suffix": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Download Suffix"
+ },
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
+ },
+ "totp_identifier": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Identifier"
+ },
+ "cache_actions": {
+ "type": "boolean",
+ "title": "Cache Actions",
+ "default": false
+ },
+ "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": [
- "parameters",
- "blocks"
+ "label",
+ "output_parameter"
],
- "title": "WorkflowDefinitionYAML"
+ "title": "ValidationBlock"
},
- "WorkflowParameter": {
+ "ValidationBlockYAML": {
"properties": {
- "parameter_type": {
+ "block_type": {
"type": "string",
- "const": "workflow",
- "title": "Parameter Type",
- "default": "workflow"
+ "const": "validation",
+ "title": "Block Type",
+ "default": "validation"
},
- "key": {
+ "label": {
"type": "string",
- "title": "Key"
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "complete_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Complete Criterion"
+ },
+ "terminate_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Terminate Criterion"
+ },
+ "error_code_mapping": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Error Code Mapping"
+ },
+ "parameter_keys": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameter Keys"
+ }
+ },
+ "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"
+ },
+ "block_type": {
+ "type": "string",
+ "const": "wait",
+ "title": "Block Type",
+ "default": "wait"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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",
+ "const": "wait",
+ "title": "Block Type",
+ "default": "wait"
+ },
+ "label": {
+ "type": "string",
+ "title": "Label"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "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"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "workflow_definition": {
+ "$ref": "#/components/schemas/WorkflowDefinition"
+ },
+ "proxy_location": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ProxyLocation"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "webhook_callback_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Webhook Callback Url"
+ },
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
+ },
+ "totp_identifier": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Identifier"
+ },
+ "persist_browser_session": {
+ "type": "boolean",
+ "title": "Persist Browser Session",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "status": {
+ "$ref": "#/components/schemas/WorkflowStatus",
+ "default": "published"
+ },
+ "max_screenshot_scrolls": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Screenshot Scrolls"
+ },
+ "extra_http_headers": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Extra Http Headers"
+ },
+ "generate_script": {
+ "type": "boolean",
+ "title": "Generate Script",
+ "default": false
+ },
+ "ai_fallback": {
+ "type": "boolean",
+ "title": "Ai Fallback",
+ "default": false
+ },
+ "cache_key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cache Key"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "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": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "proxy_location": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/ProxyLocation"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "webhook_callback_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Webhook Callback Url"
+ },
+ "totp_verification_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Verification Url"
+ },
+ "totp_identifier": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Totp Identifier"
+ },
+ "persist_browser_session": {
+ "type": "boolean",
+ "title": "Persist Browser Session",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "workflow_definition": {
+ "$ref": "#/components/schemas/WorkflowDefinitionYAML"
+ },
+ "is_saved_task": {
+ "type": "boolean",
+ "title": "Is Saved Task",
+ "default": false
+ },
+ "max_screenshot_scrolls": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Screenshot Scrolls"
+ },
+ "extra_http_headers": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Extra Http Headers"
+ },
+ "status": {
+ "$ref": "#/components/schemas/WorkflowStatus",
+ "default": "published"
+ },
+ "generate_script": {
+ "type": "boolean",
+ "title": "Generate Script",
+ "default": false
+ },
+ "ai_fallback": {
+ "type": "boolean",
+ "title": "Ai Fallback",
+ "default": false
+ },
+ "cache_key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cache Key"
+ }
+ },
+ "type": "object",
+ "required": [
+ "title",
+ "workflow_definition"
+ ],
+ "title": "WorkflowCreateYAMLRequest"
+ },
+ "WorkflowDefinition": {
+ "properties": {
+ "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/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "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/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/FileDownloadBlock"
+ },
+ {
+ "$ref": "#/components/schemas/UrlBlock"
+ },
+ {
+ "$ref": "#/components/schemas/TaskV2Block"
+ },
+ {
+ "$ref": "#/components/schemas/FileUploadBlock"
+ },
+ {
+ "$ref": "#/components/schemas/HttpRequestBlock"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "block_type",
+ "mapping": {
+ "action": "#/components/schemas/ActionBlock",
+ "code": "#/components/schemas/CodeBlock",
+ "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",
+ "login": "#/components/schemas/LoginBlock",
+ "navigation": "#/components/schemas/NavigationBlock",
+ "pdf_parser": "#/components/schemas/PDFParserBlock",
+ "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"
+ }
+ },
+ "type": "object",
+ "required": [
+ "parameters",
+ "blocks"
+ ],
+ "title": "WorkflowDefinition"
+ },
+ "WorkflowDefinitionYAML": {
+ "properties": {
+ "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/WorkflowParameterYAML"
+ },
+ {
+ "$ref": "#/components/schemas/ContextParameterYAML"
+ },
+ {
+ "$ref": "#/components/schemas/OutputParameterYAML"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameterYAML"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameterYAML",
+ "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/FileDownloadBlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/UrlBlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/PDFParserBlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/TaskV2BlockYAML"
+ },
+ {
+ "$ref": "#/components/schemas/HttpRequestBlockYAML"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "block_type",
+ "mapping": {
+ "action": "#/components/schemas/ActionBlockYAML",
+ "code": "#/components/schemas/CodeBlockYAML",
+ "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",
+ "login": "#/components/schemas/LoginBlockYAML",
+ "navigation": "#/components/schemas/NavigationBlockYAML",
+ "pdf_parser": "#/components/schemas/PDFParserBlockYAML",
+ "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"
+ }
+ },
+ "type": "object",
+ "required": [
+ "parameters",
+ "blocks"
+ ],
+ "title": "WorkflowDefinitionYAML"
+ },
+ "WorkflowParameter": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "workflow",
+ "title": "Parameter Type",
+ "default": "workflow"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Default Value"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "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",
+ "const": "workflow",
+ "title": "Parameter Type",
+ "default": "workflow"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Default Value"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "workflow_parameter_type"
+ ],
+ "title": "WorkflowParameterYAML"
+ },
+ "WorkflowRequest": {
+ "properties": {
+ "json_definition": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/WorkflowCreateYAMLRequest"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Workflow definition in JSON format"
+ },
+ "yaml_definition": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "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": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Block Workflow Run Id"
+ },
+ "workflow_run_id": {
+ "type": "string",
+ "title": "Workflow Run Id"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "parent_workflow_run_block_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parent Workflow Run Block Id"
+ },
+ "block_type": {
+ "$ref": "#/components/schemas/BlockType"
+ },
+ "label": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Label"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Status"
+ },
+ "output": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Output"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "failure_reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Failure Reason"
+ },
+ "engine": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/RunEngine"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "task_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Task Id"
},
- "description": {
+ "url": {
"anyOf": [
{
"type": "string"
@@ -11193,33 +12314,51 @@
"type": "null"
}
],
- "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"
+ "title": "Url"
},
- "default_value": {
+ "navigation_goal": {
"anyOf": [
{
"type": "string"
},
{
- "type": "integer"
+ "type": "null"
+ }
+ ],
+ "title": "Navigation Goal"
+ },
+ "navigation_payload": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
},
{
- "type": "number"
+ "items": {},
+ "type": "array"
},
{
- "type": "boolean"
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Navigation Payload"
+ },
+ "data_extraction_goal": {
+ "anyOf": [
+ {
+ "type": "string"
},
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Data Extraction Goal"
+ },
+ "data_schema": {
+ "anyOf": [
{
"additionalProperties": true,
"type": "object"
@@ -11228,11 +12367,44 @@
"items": {},
"type": "array"
},
+ {
+ "type": "string"
+ },
{
"type": "null"
}
],
- "title": "Default Value"
+ "title": "Data Schema"
+ },
+ "terminate_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Terminate Criterion"
+ },
+ "complete_criterion": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Complete Criterion"
+ },
+ "actions": {
+ "items": {
+ "$ref": "#/components/schemas/Action"
+ },
+ "type": "array",
+ "title": "Actions",
+ "default": []
},
"created_at": {
"type": "string",
@@ -11244,119 +12416,103 @@
"format": "date-time",
"title": "Modified At"
},
- "deleted_at": {
+ "include_action_history_in_verification": {
"anyOf": [
{
- "type": "string",
- "format": "date-time"
+ "type": "boolean"
},
{
"type": "null"
}
],
- "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",
- "const": "workflow",
- "title": "Parameter Type",
- "default": "workflow"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "title": "Include Action History In Verification",
+ "default": false
},
- "description": {
+ "duration": {
"anyOf": [
{
- "type": "string"
+ "type": "number"
},
{
"type": "null"
}
],
- "title": "Description"
+ "title": "Duration"
},
- "workflow_parameter_type": {
- "$ref": "#/components/schemas/WorkflowParameterType"
+ "loop_values": {
+ "anyOf": [
+ {
+ "items": {},
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Loop Values"
},
- "default_value": {
+ "current_value": {
"anyOf": [
{
"type": "string"
},
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Current Value"
+ },
+ "current_index": {
+ "anyOf": [
{
"type": "integer"
},
{
- "type": "number"
- },
+ "type": "null"
+ }
+ ],
+ "title": "Current Index"
+ },
+ "recipients": {
+ "anyOf": [
{
- "type": "boolean"
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
},
{
- "additionalProperties": true,
- "type": "object"
- },
+ "type": "null"
+ }
+ ],
+ "title": "Recipients"
+ },
+ "attachments": {
+ "anyOf": [
{
- "items": {},
+ "items": {
+ "type": "string"
+ },
"type": "array"
},
{
"type": "null"
}
],
- "title": "Default Value"
- }
- },
- "type": "object",
- "required": [
- "key",
- "workflow_parameter_type"
- ],
- "title": "WorkflowParameterYAML"
- },
- "WorkflowRequest": {
- "properties": {
- "json_definition": {
+ "title": "Attachments"
+ },
+ "subject": {
"anyOf": [
{
- "$ref": "#/components/schemas/WorkflowCreateYAMLRequest"
+ "type": "string"
},
{
"type": "null"
}
],
- "description": "Workflow definition in JSON format"
+ "title": "Subject"
},
- "yaml_definition": {
+ "body": {
"anyOf": [
{
"type": "string"
@@ -11365,12 +12521,19 @@
"type": "null"
}
],
- "title": "Yaml Definition",
- "description": "Workflow definition in YAML format"
+ "title": "Body"
}
},
"type": "object",
- "title": "WorkflowRequest"
+ "required": [
+ "workflow_run_block_id",
+ "workflow_run_id",
+ "organization_id",
+ "block_type",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "WorkflowRunBlock"
},
"WorkflowRunRequest": {
"properties": {
@@ -11753,6 +12916,66 @@
],
"title": "WorkflowRunResponse"
},
+ "WorkflowRunTimeline": {
+ "properties": {
+ "type": {
+ "$ref": "#/components/schemas/WorkflowRunTimelineType"
+ },
+ "block": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/WorkflowRunBlock"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "thought": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/Thought"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "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": [