Skip to content

Automate browser based workflows with AI

Sync OpenAPI reference from production (#7329)

Suchintanba1d44823965
diff --git a/docs/api-reference/openapi.json b/docs/api-reference/openapi.json
index 46f243971..02179fc75 100644
--- a/docs/api-reference/openapi.json
+++ b/docs/api-reference/openapi.json
@@ -3731,6 +3731,9 @@
}
}
},
+ "404": {
+ "description": "Browser session not found"
+ },
"403": {
"description": "Unauthorized - Invalid or missing authentication"
},
@@ -9256,7 +9259,8 @@
"workflow_trigger",
"google_sheets_read",
"google_sheets_write",
- "pdf_fill"
+ "pdf_fill",
+ "split_pdf"
],
"title": "BlockType"
},
@@ -9911,7 +9915,7 @@
"type": "number",
"title": "Timeout",
"description": "Timeout in milliseconds",
- "default": 5000
+ "default": 10000
}
},
"type": "object",
@@ -14048,6 +14052,9 @@
},
{
"$ref": "#/components/schemas/PdfFillBlock"
+ },
+ {
+ "$ref": "#/components/schemas/SplitPdfBlock"
}
],
"discriminator": {
@@ -14073,6 +14080,7 @@
"pdf_parser": "#/components/schemas/PDFParserBlock",
"print_page": "#/components/schemas/PrintPageBlock",
"send_email": "#/components/schemas/SendEmailBlock",
+ "split_pdf": "#/components/schemas/SplitPdfBlock",
"task": "#/components/schemas/TaskBlock",
"task_v2": "#/components/schemas/TaskV2Block",
"text_prompt": "#/components/schemas/TextPromptBlock",
@@ -14318,6 +14326,9 @@
{
"$ref": "#/components/schemas/PdfFillBlockYAML"
},
+ {
+ "$ref": "#/components/schemas/SplitPdfBlockYAML"
+ },
{
"$ref": "#/components/schemas/WorkflowTriggerBlockYAML"
},
@@ -16099,7 +16110,7 @@
"type": "number",
"title": "Timeout",
"description": "Timeout in milliseconds",
- "default": 5000
+ "default": 10000
}
},
"type": "object",
@@ -19504,7 +19515,7 @@
"type": "number",
"title": "Timeout",
"description": "Timeout in milliseconds",
- "default": 5000
+ "default": 10000
}
},
"type": "object",
@@ -19742,6 +19753,247 @@
],
"title": "SendEmailBlockYAML"
},
+ "SplitPdfBlock": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "title": "Label",
+ "description": "Author-facing identifier for a block; unique within a workflow."
+ },
+ "next_block_label": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Next Block Label",
+ "description": "Optional pointer to the next block label when constructing a DAG. Defaults to sequential order when omitted."
+ },
+ "block_type": {
+ "type": "string",
+ "const": "split_pdf",
+ "title": "Block Type",
+ "default": "split_pdf"
+ },
+ "output_parameter": {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "disable_cache": {
+ "type": "boolean",
+ "title": "Disable Cache",
+ "default": false
+ },
+ "ignore_workflow_system_prompt": {
+ "type": "boolean",
+ "title": "Ignore Workflow System Prompt",
+ "default": false
+ },
+ "next_loop_on_failure": {
+ "type": "boolean",
+ "title": "Next Loop On Failure",
+ "default": false
+ },
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
+ },
+ "llm_key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Llm Key"
+ },
+ "parameters": {
+ "items": {
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/WorkflowParameter"
+ },
+ {
+ "$ref": "#/components/schemas/ContextParameter"
+ },
+ {
+ "$ref": "#/components/schemas/AWSSecretParameter"
+ },
+ {
+ "$ref": "#/components/schemas/AzureSecretParameter"
+ },
+ {
+ "$ref": "#/components/schemas/BitwardenLoginCredentialParameter"
+ },
+ {
+ "$ref": "#/components/schemas/BitwardenSensitiveInformationParameter"
+ },
+ {
+ "$ref": "#/components/schemas/BitwardenCreditCardDataParameter"
+ },
+ {
+ "$ref": "#/components/schemas/OnePasswordCredentialParameter"
+ },
+ {
+ "$ref": "#/components/schemas/AzureVaultCredentialParameter"
+ },
+ {
+ "$ref": "#/components/schemas/OutputParameter"
+ },
+ {
+ "$ref": "#/components/schemas/CredentialParameter"
+ }
+ ],
+ "discriminator": {
+ "propertyName": "parameter_type",
+ "mapping": {
+ "aws_secret": "#/components/schemas/AWSSecretParameter",
+ "azure_secret": "#/components/schemas/AzureSecretParameter",
+ "azure_vault_credential": "#/components/schemas/AzureVaultCredentialParameter",
+ "bitwarden_credit_card_data": "#/components/schemas/BitwardenCreditCardDataParameter",
+ "bitwarden_login_credential": "#/components/schemas/BitwardenLoginCredentialParameter",
+ "bitwarden_sensitive_information": "#/components/schemas/BitwardenSensitiveInformationParameter",
+ "context": "#/components/schemas/ContextParameter",
+ "credential": "#/components/schemas/CredentialParameter",
+ "onepassword": "#/components/schemas/OnePasswordCredentialParameter",
+ "output": "#/components/schemas/OutputParameter",
+ "workflow": "#/components/schemas/WorkflowParameter"
+ }
+ }
+ },
+ "type": "array",
+ "title": "Parameters",
+ "default": []
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "output_parameter",
+ "file_url",
+ "prompt"
+ ],
+ "title": "SplitPdfBlock"
+ },
+ "SplitPdfBlockYAML": {
+ "properties": {
+ "block_type": {
+ "type": "string",
+ "const": "split_pdf",
+ "title": "Block Type",
+ "default": "split_pdf"
+ },
+ "label": {
+ "type": "string",
+ "title": "Label",
+ "description": "Author-facing identifier; must be unique per workflow."
+ },
+ "next_block_label": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Next Block Label",
+ "description": "Optional pointer to the label of the next block. When omitted, it will default to sequential order. See [[s-4bnl]]."
+ },
+ "continue_on_failure": {
+ "type": "boolean",
+ "title": "Continue On Failure",
+ "default": false
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Model"
+ },
+ "ignore_workflow_system_prompt": {
+ "type": "boolean",
+ "title": "Ignore Workflow System Prompt",
+ "default": false
+ },
+ "next_loop_on_failure": {
+ "type": "boolean",
+ "title": "Next Loop On Failure",
+ "default": false
+ },
+ "file_url": {
+ "type": "string",
+ "title": "File Url"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "Prompt"
+ },
+ "llm_key": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Llm Key"
+ },
+ "parameter_keys": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameter Keys"
+ }
+ },
+ "type": "object",
+ "required": [
+ "label",
+ "file_url",
+ "prompt"
+ ],
+ "title": "SplitPdfBlockYAML"
+ },
"TOTPCode": {
"properties": {
"totp_identifier": {
@@ -21156,6 +21408,16 @@
"type": "boolean",
"title": "Script Run",
"default": false
+ },
+ "trigger_type": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/WorkflowRunTriggerType"
+ },
+ {
+ "type": "null"
+ }
+ ]
}
},
"type": "object",
@@ -22974,7 +23236,7 @@
"type": "number",
"title": "Timeout",
"description": "Timeout in milliseconds",
- "default": 5000
+ "default": 10000
}
},
"type": "object",
@@ -23880,6 +24142,11 @@
"type": "boolean",
"title": "Include Extracted Text",
"default": true
+ },
+ "without_page_information": {
+ "type": "boolean",
+ "title": "Without Page Information",
+ "default": false
}
},
"type": "object",
@@ -23995,6 +24262,11 @@
"type": "boolean",
"title": "Disable Cache",
"default": false
+ },
+ "without_page_information": {
+ "type": "boolean",
+ "title": "Without Page Information",
+ "default": false
}
},
"type": "object",
@@ -24384,6 +24656,9 @@
},
{
"$ref": "#/components/schemas/PdfFillBlock"
+ },
+ {
+ "$ref": "#/components/schemas/SplitPdfBlock"
}
],
"discriminator": {
@@ -24409,6 +24684,7 @@
"pdf_parser": "#/components/schemas/PDFParserBlock",
"print_page": "#/components/schemas/PrintPageBlock",
"send_email": "#/components/schemas/SendEmailBlock",
+ "split_pdf": "#/components/schemas/SplitPdfBlock",
"task": "#/components/schemas/TaskBlock",
"task_v2": "#/components/schemas/TaskV2Block",
"text_prompt": "#/components/schemas/TextPromptBlock",
@@ -24582,6 +24858,9 @@
{
"$ref": "#/components/schemas/PdfFillBlockYAML"
},
+ {
+ "$ref": "#/components/schemas/SplitPdfBlockYAML"
+ },
{
"$ref": "#/components/schemas/WorkflowTriggerBlockYAML"
},
@@ -25381,6 +25660,9 @@
},
{
"$ref": "#/components/schemas/PdfFillBlock"
+ },
+ {
+ "$ref": "#/components/schemas/SplitPdfBlock"
}
],
"discriminator": {
@@ -25406,6 +25688,7 @@
"pdf_parser": "#/components/schemas/PDFParserBlock",
"print_page": "#/components/schemas/PrintPageBlock",
"send_email": "#/components/schemas/SendEmailBlock",
+ "split_pdf": "#/components/schemas/SplitPdfBlock",
"task": "#/components/schemas/TaskBlock",
"task_v2": "#/components/schemas/TaskV2Block",
"text_prompt": "#/components/schemas/TextPromptBlock",
@@ -25608,6 +25891,9 @@
{
"$ref": "#/components/schemas/PdfFillBlockYAML"
},
+ {
+ "$ref": "#/components/schemas/SplitPdfBlockYAML"
+ },
{
"$ref": "#/components/schemas/WorkflowTriggerBlockYAML"
},
@@ -25641,6 +25927,7 @@
"pdf_parser": "#/components/schemas/PDFParserBlockYAML",
"print_page": "#/components/schemas/PrintPageBlockYAML",
"send_email": "#/components/schemas/SendEmailBlockYAML",
+ "split_pdf": "#/components/schemas/SplitPdfBlockYAML",
"task": "#/components/schemas/TaskBlockYAML",
"task_v2": "#/components/schemas/TaskV2BlockYAML",
"text_prompt": "#/components/schemas/TextPromptBlockYAML",
@@ -27677,12 +27964,13 @@
"type": "string",
"enum": [
"manual",
+ "mcp",
"api",
"scheduled",
"webhook"
],
"title": "WorkflowRunTriggerType",
- "description": "How a workflow run was initiated.\n\n- manual: User clicked \"Run\" in the UI\n- api: Direct API call to the run endpoint\n- scheduled: Triggered by a cron schedule\n- webhook: Triggered by an external system via the webhook endpoint"
+ "description": "How a workflow run was initiated.\n\n- manual: User clicked \"Run\" in the UI\n- mcp: First-party MCP client request\n- api: Direct API call to the run endpoint\n- scheduled: Triggered by a cron schedule\n- webhook: Triggered by an external system via the webhook endpoint"
},
"WorkflowSchedule": {
"properties": {
@@ -27838,7 +28126,14 @@
"title": "Timezone"
},
"enabled": {
- "type": "boolean",
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
"title": "Enabled",
"default": true
},