{
  "openapi": "3.1.0",
  "info": {
    "title": "Kaizen API",
    "version": "1.0.0",
    "description": "API for the Kaizen Automation Platform"
  },
  "servers": [
    {
      "url": "https://api.kaizenautomation.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/authentication/submitTwoFactorAuthCode": {
      "post": {
        "summary": "Submit 2FA code",
        "tags": [
          "Authentication"
        ],
        "description": "Verifies a two-factor authentication code for an ongoing authentication session",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "minLength": 4,
                        "maxLength": 8,
                        "description": "Two-factor authentication code"
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "content": {
                        "type": "string",
                        "description": "Content of the 2FA code"
                      }
                    },
                    "required": [
                      "content"
                    ]
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "2FA code verification result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "description": "Whether the 2FA code was accepted"
                    },
                    "message": {
                      "type": "string",
                      "description": "Status message"
                    },
                    "data": {
                      "description": "The created two-factor authentication code data"
                    }
                  },
                  "required": [
                    "success",
                    "message"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server error"
          }
        }
      }
    },
    "/authentication/completeLogin": {
      "post": {
        "summary": "Complete login authentication",
        "tags": [
          "Authentication"
        ],
        "description": "Completes login authentication using browser context login info external ID by saving browser cookies and updating authentication status",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "contextAuthenticationId": {
                    "type": "string",
                    "description": "External ID of the context authentication to complete"
                  }
                },
                "required": [
                  "contextAuthenticationId"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Login authentication completion result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "description": "Whether the login completion was successful"
                    },
                    "message": {
                      "type": "string",
                      "description": "Success or error message"
                    }
                  },
                  "required": [
                    "success",
                    "message"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid input or execution not found"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server error"
          }
        }
      }
    },
    "/logins/create": {
      "post": {
        "summary": "Create a login",
        "description": "Creates a new login with required credentials",
        "tags": [
          "Logins"
        ],
        "requestBody": {
          "description": "Login creation parameters",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Name of the login for identification"
                  },
                  "authenticationUrl": {
                    "type": "string",
                    "description": "URL of the authentication page"
                  },
                  "homeUrl": {
                    "type": "string",
                    "description": "URL of the home page of the domain"
                  },
                  "iconUrl": {
                    "type": "string",
                    "maxLength": 700000,
                    "description": "Optional icon URL or data URL for the login logo."
                  },
                  "loginConfiguration": {
                    "$ref": "#/components/schemas/LoginConfigurationWithSensitiveCredentials"
                  },
                  "persistSession": {
                    "type": "boolean",
                    "description": "Whether to persist the session after authentication"
                  },
                  "isManualAuthentication": {
                    "type": "boolean",
                    "default": false,
                    "description": "Whether this login requires manual authentication"
                  },
                  "useLLMLoginDetection": {
                    "type": "boolean",
                    "description": "Whether to use LLM-powered login detection. If false, uses URL-based detection instead."
                  },
                  "loginDetectionPrompt": {
                    "type": "string",
                    "description": "Custom prompt to use for LLM-based login detection. Describes what the logged-out experience looks like."
                  },
                  "loginInstructionsPrompt": {
                    "type": "string",
                    "description": "Custom instructions for the login agent. Provides guidance on how to complete the login flow for this specific site."
                  },
                  "supportConcurrentLogins": {
                    "type": "boolean",
                    "description": "Whether to allow concurrent logins using this login. When false, a lock is acquired before login to prevent simultaneous sessions."
                  },
                  "supportsAgentConcurrency": {
                    "type": "boolean",
                    "description": "Whether this login supports concurrent usage by multiple agents. When false (default), only one agent can use this login at a time."
                  },
                  "autoRetryOnServiceDown": {
                    "type": "boolean",
                    "description": "Whether to automatically retry scheduled executions when the target service appears to be down."
                  },
                  "autoRetryDelayMinutes": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Number of minutes to wait before retrying when service down is detected. Defaults to 30."
                  },
                  "autoRetryMaxAttempts": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Maximum number of service-down retry attempts before giving up. Defaults to 3."
                  }
                },
                "required": [
                  "name",
                  "authenticationUrl",
                  "homeUrl",
                  "loginConfiguration"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Login created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier for the login"
                    },
                    "organizationId": {
                      "type": "string",
                      "description": "ID of the organization that owns this login."
                    },
                    "name": {
                      "type": "string",
                      "description": "Name of the login"
                    },
                    "authenticationUrl": {
                      "type": "string",
                      "description": "URL of the authentication page"
                    },
                    "homeUrl": {
                      "type": "string",
                      "description": "URL of the home page"
                    },
                    "iconUrl": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Icon URL or data URL for the login logo. Null if no custom logo is set."
                    },
                    "loginConfiguration": {
                      "$ref": "#/components/schemas/LoginConfiguration"
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "Timestamp when the login was created"
                    },
                    "updatedAt": {
                      "type": "string",
                      "description": "Timestamp when the login was last updated"
                    },
                    "persistSession": {
                      "type": "boolean",
                      "default": true,
                      "description": "Whether to persist the session after authentication"
                    },
                    "isManualAuthentication": {
                      "type": "boolean",
                      "default": false,
                      "description": "Whether this login requires manual authentication"
                    },
                    "useLLMLoginDetection": {
                      "type": "boolean",
                      "description": "Whether to use LLM-powered login detection. If false, uses URL-based detection instead."
                    },
                    "loginDetectionPrompt": {
                      "type": "string",
                      "description": "Custom prompt to use for LLM-based login detection. Describes what the logged-out experience looks like."
                    },
                    "loginInstructionsPrompt": {
                      "type": "string",
                      "description": "Custom instructions for the login agent. Provides guidance on how to complete the login flow for this specific site."
                    },
                    "supportConcurrentLogins": {
                      "type": "boolean",
                      "default": true,
                      "description": "Whether to allow concurrent logins using this login. When false, a lock is acquired before login to prevent simultaneous sessions."
                    },
                    "supportsAgentConcurrency": {
                      "type": "boolean",
                      "default": false,
                      "description": "Whether this login supports concurrent usage by multiple agents. When false (default), only one agent can use this login at a time."
                    },
                    "autoRetryOnServiceDown": {
                      "type": "boolean",
                      "default": false,
                      "description": "Whether to automatically retry scheduled executions when the target service appears to be down."
                    },
                    "autoRetryDelayMinutes": {
                      "type": "integer",
                      "default": 30,
                      "description": "Number of minutes to wait before retrying when service down is detected."
                    },
                    "autoRetryMaxAttempts": {
                      "type": "integer",
                      "default": 3,
                      "description": "Maximum number of service-down retry attempts before giving up."
                    }
                  },
                  "required": [
                    "id",
                    "organizationId",
                    "name",
                    "authenticationUrl",
                    "homeUrl",
                    "iconUrl",
                    "loginConfiguration",
                    "createdAt",
                    "updatedAt",
                    "persistSession",
                    "isManualAuthentication",
                    "supportConcurrentLogins",
                    "supportsAgentConcurrency",
                    "autoRetryOnServiceDown",
                    "autoRetryDelayMinutes",
                    "autoRetryMaxAttempts"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/logins/update": {
      "post": {
        "summary": "Update a login",
        "description": "Updates an existing login with optional credentials",
        "tags": [
          "Logins"
        ],
        "requestBody": {
          "description": "Login update parameters",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "ID of the login to update"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Name of the login for identification"
                  },
                  "authenticationUrl": {
                    "type": "string",
                    "description": "URL of the authentication page"
                  },
                  "homeUrl": {
                    "type": "string",
                    "description": "URL of the home page of the domain"
                  },
                  "iconUrl": {
                    "type": "string",
                    "maxLength": 700000,
                    "description": "Optional icon URL or data URL for the login logo."
                  },
                  "loginConfiguration": {
                    "type": "object",
                    "properties": {
                      "username": {
                        "type": "string",
                        "description": "Username for authentication"
                      },
                      "twoFactorAuthConfiguration": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "method": {
                            "type": "string",
                            "enum": [
                              "Email",
                              "SMS",
                              "TOTP"
                            ],
                            "description": "Method used for 2FA verification"
                          },
                          "alwaysRequired": {
                            "type": "boolean",
                            "description": "Whether 2FA is always required, if it is not, the workflow will make a determination based upon the text displayed on the site."
                          },
                          "twoFactorAuthEmail": {
                            "type": "string",
                            "description": "The email which the 2FA codes will be sent to, which our system will use to associate to the created login. Required when method is Email."
                          },
                          "totpSecretKey": {
                            "type": "string",
                            "description": "Secret key used for TOTP generation. Optional for upsert operations - only provide if updating."
                          }
                        },
                        "required": [
                          "method",
                          "alwaysRequired"
                        ],
                        "description": "Configuration for two-factor authentication. Sensitive credentials are optional for upsert."
                      },
                      "additionalCredentials": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the additional credential"
                            },
                            "key": {
                              "type": "string",
                              "description": "Key for the additional credential"
                            },
                            "value": {
                              "type": "string",
                              "description": "Value for the additional credential"
                            }
                          },
                          "required": [
                            "key",
                            "value"
                          ]
                        },
                        "description": "Additional key-value credentials"
                      },
                      "password": {
                        "type": "string",
                        "description": "Password for authentication. Optional for upsert operations - only provide if updating."
                      }
                    },
                    "description": "Values for fields required to complete authentication. Sensitive credentials are optional for upsert operations."
                  },
                  "persistSession": {
                    "type": "boolean",
                    "description": "Whether to persist the session after authentication"
                  },
                  "isManualAuthentication": {
                    "type": "boolean",
                    "description": "Whether this login requires manual authentication"
                  },
                  "useLLMLoginDetection": {
                    "type": "boolean",
                    "description": "Whether to use LLM-powered login detection. If false, uses URL-based detection instead."
                  },
                  "loginDetectionPrompt": {
                    "type": "string",
                    "description": "Custom prompt to use for LLM-based login detection. Describes what the logged-out experience looks like."
                  },
                  "loginInstructionsPrompt": {
                    "type": "string",
                    "description": "Custom instructions for the login agent. Provides guidance on how to complete the login flow for this specific site."
                  },
                  "supportConcurrentLogins": {
                    "type": "boolean",
                    "description": "Whether to allow concurrent logins using this login. When false, a lock is acquired before login to prevent simultaneous sessions."
                  },
                  "supportsAgentConcurrency": {
                    "type": "boolean",
                    "description": "Whether this login supports concurrent usage by multiple agents. When false (default), only one agent can use this login at a time."
                  },
                  "autoRetryOnServiceDown": {
                    "type": "boolean",
                    "description": "Whether to automatically retry scheduled executions when the target service appears to be down."
                  },
                  "autoRetryDelayMinutes": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Number of minutes to wait before retrying when service down is detected. Defaults to 30."
                  },
                  "autoRetryMaxAttempts": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "Maximum number of service-down retry attempts before giving up. Defaults to 3."
                  }
                },
                "required": [
                  "id",
                  "name",
                  "authenticationUrl",
                  "homeUrl",
                  "loginConfiguration"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Login updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Object_id_organizationId_name_0"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Login not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/logins/delete": {
      "post": {
        "summary": "Delete a login",
        "description": "Deletes a login and all associated data",
        "tags": [
          "Logins"
        ],
        "requestBody": {
          "description": "Login deletion parameters",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "ID of the login to delete"
                  }
                },
                "required": [
                  "id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Login deletion result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "description": "Whether the deletion was successful"
                    },
                    "message": {
                      "type": "string",
                      "description": "A message describing the result"
                    }
                  },
                  "required": [
                    "success",
                    "message"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/logins/list": {
      "post": {
        "summary": "List logins",
        "description": "Retrieves all logins with optional filtering by name or username",
        "tags": [
          "Logins"
        ],
        "requestBody": {
          "description": "Request body for listing logins",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "search": {
                    "type": "string",
                    "description": "Search logins by name or username"
                  }
                },
                "description": "Request parameters for listing logins"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Logins retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "logins": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Object_id_organizationId_name_0"
                      },
                      "description": "List of logins matching the query parameters"
                    }
                  },
                  "required": [
                    "logins"
                  ],
                  "description": "Response containing a list of logins and metadata"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/logins/getPassword": {
      "post": {
        "summary": "Get login password",
        "description": "Returns the decrypted password for a login. Gated by a LaunchDarkly feature flag per organization.",
        "tags": [
          "Logins"
        ],
        "requestBody": {
          "description": "Login external ID to get password for",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "External ID of the login to get password for"
                  }
                },
                "required": [
                  "id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Password retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "password": {
                      "type": "string",
                      "description": "The decrypted password for the login"
                    }
                  },
                  "required": [
                    "password"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Feature not enabled for this organization",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Login not found or has no password",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/executions/list": {
      "post": {
        "summary": "List executions",
        "description": "Retrieves all executions for the current organization with optional filtering",
        "tags": [
          "Executions"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "InProgress",
                      "Completed",
                      "Enqueued",
                      "Failed",
                      "Paused"
                    ],
                    "description": "Filter executions by status"
                  },
                  "loginId": {
                    "type": "string",
                    "description": "Filter executions by login external ID"
                  },
                  "search": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Search executions by execution ID or parameters. Multiple search terms are combined with OR (union search)."
                  },
                  "batch": {
                    "type": "string",
                    "description": "Filter executions by batch external ID"
                  },
                  "workflowId": {
                    "type": "string",
                    "description": "Filter executions by workflow external ID"
                  },
                  "tagFilters": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Filter executions by workflow tag external IDs (workflows must have all specified tags)"
                  },
                  "fromTs": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Filter executions with start time >= this timestamp (ISO 8601 format, UTC)"
                  },
                  "toTs": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Filter executions with start time <= this timestamp (ISO 8601 format, UTC)"
                  },
                  "isTest": {
                    "type": "boolean",
                    "description": "Filter executions by test run status"
                  }
                },
                "description": "Request parameters for listing executions"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Executions retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "executions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "browserSessionId": {
                                          "type": "string",
                                          "description": "ID of the browser session used for authentication"
                                        },
                                        "status": {
                                          "type": "string",
                                          "const": "InProgress",
                                          "description": "Status of the authentication"
                                        },
                                        "liveViewUrl": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "description": "URL for live view of the authentication"
                                        }
                                      },
                                      "required": [
                                        "browserSessionId",
                                        "status",
                                        "liveViewUrl"
                                      ],
                                      "title": "In Progress Authentication"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "status": {
                                          "type": "string",
                                          "const": "Enqueued",
                                          "description": "Status of the authentication"
                                        }
                                      },
                                      "required": [
                                        "status"
                                      ],
                                      "title": "Enqueued Authentication"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "browserSessionId": {
                                          "type": "string",
                                          "description": "ID of the browser session used for authentication"
                                        },
                                        "status": {
                                          "type": "string",
                                          "const": "Completed",
                                          "description": "Status of the authentication"
                                        }
                                      },
                                      "required": [
                                        "browserSessionId",
                                        "status"
                                      ],
                                      "title": "Finished Authentication"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "browserSessionId": {
                                          "type": "string",
                                          "description": "ID of the browser session used for authentication"
                                        },
                                        "status": {
                                          "type": "string",
                                          "const": "Failed",
                                          "description": "Status of the authentication"
                                        }
                                      },
                                      "required": [
                                        "browserSessionId",
                                        "status"
                                      ],
                                      "title": "Failed Authentication"
                                    }
                                  ]
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "contextAuthenticationId": {
                                      "type": "string",
                                      "description": "ID of the context authentication"
                                    },
                                    "loginSummary": {
                                      "type": "object",
                                      "properties": {
                                        "loginId": {
                                          "type": "string",
                                          "description": "ID of the login used for authentication"
                                        },
                                        "name": {
                                          "type": "string",
                                          "description": "Name of the login used for authentication"
                                        },
                                        "isManual": {
                                          "type": "boolean",
                                          "description": "Whether this login requires manual authentication"
                                        }
                                      },
                                      "required": [
                                        "loginId",
                                        "name",
                                        "isManual"
                                      ]
                                    },
                                    "authenticationStatus": {
                                      "type": "string",
                                      "enum": [
                                        "Unauthenticated",
                                        "AuthenticationInProgress",
                                        "Authenticated"
                                      ],
                                      "description": "Current status of the authentication from browser context"
                                    }
                                  },
                                  "required": [
                                    "contextAuthenticationId",
                                    "loginSummary",
                                    "authenticationStatus"
                                  ]
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "InProgress"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "truncatedParams": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution parameters (~50 chars)"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "contextAuthentications",
                              "startTime",
                              "status",
                              "params",
                              "metadata",
                              "name",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "truncatedParams"
                            ],
                            "title": "Active Execution (In Progress or Paused)"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Enqueued"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "truncatedParams": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution parameters (~50 chars)"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "contextAuthentications",
                              "startTime",
                              "status",
                              "params",
                              "metadata",
                              "name",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "truncatedParams"
                            ],
                            "title": "Enqueued Execution"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Paused"
                                ]
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "truncatedParams": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution parameters (~50 chars)"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "contextAuthentications",
                              "startTime",
                              "status",
                              "params",
                              "metadata",
                              "name",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "truncatedParams"
                            ],
                            "title": "Active Execution (In Progress or Paused)"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedParams": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution parameters (~50 chars)"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution response (~50 chars)"
                              },
                              "error": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "code": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Error code identifying the type of failure"
                                  },
                                  "analysis": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "AI-generated analysis of what went wrong during the execution"
                                  }
                                },
                                "required": [
                                  "code",
                                  "analysis"
                                ],
                                "description": "Error details for the execution"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Completed"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "contextAuthentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedParams",
                              "truncatedResponse",
                              "error",
                              "status"
                            ],
                            "title": "Completed Execution Summary"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedParams": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution parameters (~50 chars)"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Truncated JSON string of execution response (~50 chars)"
                              },
                              "error": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "code": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "Error code identifying the type of failure"
                                  },
                                  "analysis": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "AI-generated analysis of what went wrong during the execution"
                                  }
                                },
                                "required": [
                                  "code",
                                  "analysis"
                                ],
                                "description": "Error details for the execution"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Failed"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "contextAuthentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedParams",
                              "truncatedResponse",
                              "error",
                              "status"
                            ],
                            "title": "Failed Execution Summary"
                          }
                        ]
                      }
                    },
                    "total": {
                      "type": "number",
                      "description": "Total number of executions matching the filter criteria"
                    }
                  },
                  "required": [
                    "executions",
                    "total"
                  ],
                  "description": "List of executions"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/browsers/getSessionRecording": {
      "post": {
        "summary": "Get browser session recording",
        "description": "Retrieves the recording data for a specific browser session",
        "tags": [
          "Browser Sessions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "ID of the browser session to retrieve recording for"
                  }
                },
                "required": [
                  "id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Recording retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "recording": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "Video",
                              "description": "Type of recording - Video format"
                            },
                            "videoUrl": {
                              "type": "string",
                              "format": "uri",
                              "description": "URL to the video recording of the session"
                            }
                          },
                          "required": [
                            "type",
                            "videoUrl"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "RRWeb",
                              "description": "Type of recording - RRWeb format"
                            },
                            "rrwebRecording": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "number"
                                  },
                                  "data": {},
                                  "timestamp": {
                                    "type": "number"
                                  },
                                  "delay": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "type",
                                  "timestamp"
                                ]
                              },
                              "description": "Recording information for the session using the rrweb session format. See: https://github.com/rrweb-io/rrweb/blob/98e71cd0d23628cd1fbdbe47664a65748084c4a4/packages/types/src/index.ts#L169"
                            }
                          },
                          "required": [
                            "type",
                            "rrwebRecording"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Session recording data - either video or RRWeb format, or null if no recording is available"
                    }
                  },
                  "required": [
                    "recording"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Browser session not found or recording not available",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/executions/get": {
      "post": {
        "summary": "Get execution",
        "description": "Retrieves a single execution by ID for the current organization",
        "tags": [
          "Executions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "ID of the execution to retrieve"
                  }
                },
                "required": [
                  "id"
                ],
                "description": "Request to get a single execution"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Execution retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "execution": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Login"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "loginId": {
                                          "type": "string"
                                        },
                                        "isParameter": {
                                          "type": "boolean"
                                        },
                                        "forceLoginEveryTime": {
                                          "type": "boolean"
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Login"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Form"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "dataPrompt": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "Prompt containing the actual data/information to fill into the form fields"
                                        }
                                      },
                                      "required": [
                                        "dataPrompt"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Form Block",
                                  "description": "A block that automatically maps and fills input fields on a form using AI-powered field detection and data mapping."
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "FillDocument"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "fileId": {
                                          "type": "string",
                                          "description": "The ID of the file to fill"
                                        },
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The prompt describing what to fill in the document"
                                        }
                                      },
                                      "required": [
                                        "fileId",
                                        "prompt"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "FillDocument",
                                  "description": "A block that fills a document with specified content using AI"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "FillSpreadsheet"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "fileId": {
                                          "type": "string",
                                          "description": "The ID of the Excel file to fill"
                                        },
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "Optional additional instructions for the LLM when generating row data"
                                        },
                                        "fromOrganizationFiles": {
                                          "type": "boolean",
                                          "description": "Whether the file is selected from organization files (true) or from a parameter (false)"
                                        }
                                      },
                                      "required": [
                                        "fileId"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Fill Spreadsheet",
                                  "description": "A block that reads an Excel file, extracts column headers from the second row, and uses an LLM to generate data for the third row"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Mouse"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "locationHint": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "doubleClick": {
                                          "type": "boolean"
                                        },
                                        "force": {
                                          "type": "boolean"
                                        },
                                        "useVision": {
                                          "type": "boolean"
                                        },
                                        "segment": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "top",
                                            "left"
                                          ]
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Mouse Block"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Hover"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "locationHint": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "useVision": {
                                          "type": "boolean"
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Hover Block"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Search"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "query": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "shouldNotClearFirst": {
                                          "type": "boolean",
                                          "default": true
                                        },
                                        "shouldType": {
                                          "type": "boolean"
                                        },
                                        "agenticSearch": {
                                          "type": "boolean"
                                        },
                                        "knowledgeBaseIds": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "instructions": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "skipIfMaxStepsReached": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "prompt",
                                        "query",
                                        "shouldNotClearFirst"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Search"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "oneOf": [
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "TextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                },
                                                "semanticValue": {
                                                  "type": "string"
                                                },
                                                "knowledgeBaseIds": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "string"
                                                  }
                                                },
                                                "shouldNotClearFirst": {
                                                  "type": "boolean"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "semanticValue"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "TextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                },
                                                "semanticValue": {
                                                  "type": "string"
                                                },
                                                "knowledgeBaseIds": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "string"
                                                  }
                                                },
                                                "shouldNotClearFirst": {
                                                  "type": "boolean"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            }
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "DateInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "key": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "value": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "useVision": {
                                          "type": "boolean",
                                          "default": false
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "value",
                                        "useVision"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Date Input"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Dropdown"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "key": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "Label or field description for the dropdown"
                                        },
                                        "value": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The option text to select from the dropdown"
                                        },
                                        "useVision": {
                                          "type": "boolean",
                                          "description": "Use AI vision to identify and click the dropdown and option instead of selectors"
                                        },
                                        "multipleSelect": {
                                          "type": "boolean",
                                          "description": "Select multiple options from the dropdown"
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "value"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Dropdown"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "schema": {},
                                        "useVision": {
                                          "type": "boolean",
                                          "default": false
                                        },
                                        "model": {
                                          "type": "string",
                                          "enum": [
                                            "gpt-4.1-mini-2025-04-14",
                                            "gpt-4.1-2025-04-14",
                                            "gpt-5.1-2025-11-13",
                                            "gpt-5.4",
                                            "gpt-5.4-mini",
                                            "gpt-5.4-nano",
                                            "gpt-5.6-terra",
                                            "gpt-5.6-luna"
                                          ]
                                        },
                                        "overrideModelWithDefault": {
                                          "type": "boolean",
                                          "default": false,
                                          "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                                        },
                                        "selector": {
                                          "type": [
                                            "object",
                                            "null"
                                          ],
                                          "properties": {
                                            "xpath": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "xpath"
                                          ],
                                          "description": "The XPath selector to extract from."
                                        },
                                        "usePageImage": {
                                          "type": "boolean",
                                          "default": false,
                                          "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
                                        },
                                        "knowledgeBaseIds": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "required": [
                                        "prompt",
                                        "useVision",
                                        "overrideModelWithDefault",
                                        "usePageImage"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromFile"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "schema": {},
                                        "fileId": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "fileId"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "ParseDocument"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "inputText": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "schema": {},
                                        "model": {
                                          "type": "string",
                                          "enum": [
                                            "gpt-4.1-mini-2025-04-14",
                                            "gpt-4.1-2025-04-14",
                                            "gpt-5.1-2025-11-13",
                                            "gpt-5.4",
                                            "gpt-5.4-mini",
                                            "gpt-5.4-nano",
                                            "gpt-5.6-terra",
                                            "gpt-5.6-luna"
                                          ]
                                        },
                                        "overrideModelWithDefault": {
                                          "type": "boolean",
                                          "default": false,
                                          "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                                        }
                                      },
                                      "required": [
                                        "inputText",
                                        "prompt",
                                        "overrideModelWithDefault"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractImages"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "imageDescriptions": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "pattern": "^[A-Za-z0-9_-]+$",
                                            "minLength": 1
                                          },
                                          "description": "List of image descriptions to extract. Each description should be a single word with no spaces (e.g., \"logo\", \"profile\", \"banner\")."
                                        }
                                      },
                                      "required": [
                                        "imageDescriptions"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract Images"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "QueryKnowledgeBase"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "knowledgeBaseIds": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "query": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "schema": {},
                                        "model": {
                                          "type": "string",
                                          "enum": [
                                            "gpt-4.1-mini-2025-04-14",
                                            "gpt-4.1-2025-04-14",
                                            "gpt-5.1-2025-11-13",
                                            "gpt-5.4",
                                            "gpt-5.4-mini",
                                            "gpt-5.4-nano",
                                            "gpt-5.6-terra",
                                            "gpt-5.6-luna"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "knowledgeBaseIds",
                                        "query"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "QueryKnowledgeBase"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "method": {
                                          "type": "string",
                                          "enum": [
                                            "GET",
                                            "POST",
                                            "PUT",
                                            "DELETE",
                                            "PATCH"
                                          ]
                                        },
                                        "route": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The API route to call"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The data to send to the API"
                                        },
                                        "failOnError": {
                                          "type": "boolean"
                                        },
                                        "authorizationKey": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "Authorization key for API requests"
                                        },
                                        "useBrowserCookies": {
                                          "type": "boolean",
                                          "description": "Whether to use browser cookies in the request"
                                        },
                                        "contentType": {
                                          "type": "string",
                                          "enum": [
                                            "JSON",
                                            "FORM_DATA"
                                          ],
                                          "description": "Content type for the request data"
                                        }
                                      },
                                      "required": [
                                        "route"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Navigate"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "type": "object",
                                          "properties": {
                                            "actionType": {
                                              "type": "string",
                                              "const": "GoTo"
                                            },
                                            "url": {
                                              "$ref": "#/components/schemas/TextValue"
                                            }
                                          },
                                          "required": [
                                            "actionType",
                                            "url"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "actionType": {
                                              "type": "string",
                                              "const": "GoBack"
                                            }
                                          },
                                          "required": [
                                            "actionType"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Navigate"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "CloseTab"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Close Page"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ClosePopup"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "useVision": {
                                          "type": "boolean"
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Close Popup",
                                  "description": "Automatically close cookie consent and other popups using AI detection"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "FileUpload"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "fileId": {
                                          "type": "string"
                                        },
                                        "fileIds": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "useVision": {
                                          "type": "boolean"
                                        },
                                        "fromOrganizationFiles": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "fileId",
                                        "prompt"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Wait"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "durationSeconds": {
                                          "type": "number",
                                          "minimum": 0.1,
                                          "maximum": 300
                                        }
                                      },
                                      "required": [
                                        "durationSeconds"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Wait"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "WaitForCondition"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "eventDescription": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "maxTimeoutSeconds": {
                                          "type": "number",
                                          "minimum": 1,
                                          "maximum": 3600,
                                          "default": 60
                                        }
                                      },
                                      "required": [
                                        "eventDescription",
                                        "maxTimeoutSeconds"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "WaitForCondition"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "WaitForCaptchaSolve"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "timeoutSeconds": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Wait For Captcha Solve"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "FailOnCondition"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "condition": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "message": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "code": {
                                          "$ref": "#/components/schemas/TextValue"
                                        }
                                      },
                                      "required": [
                                        "condition",
                                        "message"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "FailOnCondition"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "GoBack"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "RefreshPage"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Press"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "key": {
                                          "type": "string",
                                          "enum": [
                                            "Escape",
                                            "Enter",
                                            "Return",
                                            "Tab",
                                            "Down",
                                            "Up",
                                            "Left",
                                            "Right"
                                          ],
                                          "description": "The keyboard key to press"
                                        }
                                      },
                                      "required": [
                                        "key"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Type"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The text to type"
                                        }
                                      },
                                      "required": [
                                        "value"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "TriggerWorkflow"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "workflowExternalId": {
                                          "type": "string"
                                        },
                                        "parameters": {
                                          "type": "object",
                                          "additionalProperties": {}
                                        }
                                      },
                                      "required": [
                                        "workflowExternalId"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "DownloadFile"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "key": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "prompt": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "locationHint": {
                                          "$ref": "#/components/schemas/TextValue"
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Download File Block"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SaveAsPdf"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "fileName": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "key": {
                                          "$ref": "#/components/schemas/TextValue"
                                        }
                                      }
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Save As PDF Block"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "CodeV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "function": {
                                          "type": "string"
                                        },
                                        "accumulatorKey": {
                                          "type": "string"
                                        },
                                        "accumulatorBlockName": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "function"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "CodeV2"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Transform"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "json": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The JSON template to evaluate with LiquidJS"
                                        }
                                      },
                                      "required": [
                                        "json"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Transform"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExitFromLoop"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "condition": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "semantic": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "condition"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Exit From Loop"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Next"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "condition": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "semantic": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "condition"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Next"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "toAddresses": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          },
                                          "description": "List of recipient email addresses"
                                        },
                                        "ccAddresses": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          },
                                          "description": "List of CC email addresses"
                                        },
                                        "subject": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The email subject (supports templating)"
                                        },
                                        "body": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The email body content. Supports Markdown formatting (e.g., **bold**, *italic*, [links](url), tables, lists) which will be rendered as HTML in the email. Also supports Liquid.js templating."
                                        },
                                        "bodyPrompt": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "Deprecated: use body instead"
                                        },
                                        "attachments": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "fileId": {
                                                "type": "string",
                                                "description": "The ID of a file to attach to the email"
                                              }
                                            },
                                            "required": [
                                              "fileId"
                                            ]
                                          },
                                          "description": "List of file attachments to include in the email"
                                        },
                                        "fromOrganizationFiles": {
                                          "type": "boolean",
                                          "description": "Whether the files are selected from organization files (true) or from a parameter (false)"
                                        }
                                      },
                                      "required": [
                                        "toAddresses",
                                        "subject"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "WebSearch"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "query": {
                                          "$ref": "#/components/schemas/TextValue",
                                          "description": "The search query to execute"
                                        }
                                      },
                                      "required": [
                                        "query"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Search and Navigate"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "UnzipFile"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "fileId": {
                                          "type": "string",
                                          "description": "The file ID of the zip file to extract"
                                        },
                                        "fromOrganizationFiles": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "fileId"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "UnzipFile"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "type": "object",
                                          "properties": {
                                            "iterableName": {
                                              "type": "string"
                                            },
                                            "startBlockId": {
                                              "oneOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "semanticIterableKey": {
                                              "type": "string"
                                            },
                                            "isSemantic": {
                                              "type": "boolean",
                                              "const": true
                                            },
                                            "iterableKey": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "iterableName",
                                            "startBlockId",
                                            "semanticIterableKey",
                                            "isSemantic"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "iterableName": {
                                              "type": "string"
                                            },
                                            "startBlockId": {
                                              "oneOf": [
                                                {
                                                  "type": "string"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "iterableKey": {
                                              "type": "string"
                                            },
                                            "isSemantic": {
                                              "type": "boolean"
                                            }
                                          },
                                          "required": [
                                            "iterableName",
                                            "startBlockId"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "If"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "type": "object",
                                      "properties": {
                                        "condition": {
                                          "$ref": "#/components/schemas/TextValue"
                                        },
                                        "semantic": {
                                          "type": "boolean"
                                        },
                                        "trueStartBlockId": {
                                          "oneOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "falseStartBlockId": {
                                          "oneOf": [
                                            {
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "condition",
                                        "trueStartBlockId",
                                        "falseStartBlockId"
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "trueSequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/IfTrueNestedBlockInitializer"
                                          }
                                        },
                                        "falseSequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/IfFalseNestedBlockInitializer"
                                          }
                                        }
                                      },
                                      "required": [
                                        "trueSequence",
                                        "falseSequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "If"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "InProgress"
                              ]
                            },
                            "liveViewUrl": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "URL for live view of the execution"
                            },
                            "browserSessionId": {
                              "type": "string",
                              "description": "ID of the browser session used for execution"
                            },
                            "browserSessionVendorId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Vendor-specific session ID from the serverless browser provider"
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "status",
                            "liveViewUrl",
                            "browserSessionId",
                            "browserSessionVendorId"
                          ],
                          "title": "Active Execution (In Progress or Paused)"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Login_5"
                                },
                                {
                                  "$ref": "#/components/schemas/FormBlock_6"
                                },
                                {
                                  "$ref": "#/components/schemas/FillDocument_7"
                                },
                                {
                                  "$ref": "#/components/schemas/FillSpreadsheet_8"
                                },
                                {
                                  "$ref": "#/components/schemas/MouseBlock_9"
                                },
                                {
                                  "$ref": "#/components/schemas/HoverBlock_10"
                                },
                                {
                                  "$ref": "#/components/schemas/Search_11"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Union_12"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "$ref": "#/components/schemas/DateInput_15"
                                },
                                {
                                  "$ref": "#/components/schemas/Dropdown_16"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "$ref": "#/components/schemas/ParseDocument_19"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "$ref": "#/components/schemas/ExtractImages_22"
                                },
                                {
                                  "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_method_route_data_24"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "$ref": "#/components/schemas/Navigate_26"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePage_27"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePopup_28"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                },
                                {
                                  "$ref": "#/components/schemas/Wait_30"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCondition_31"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                },
                                {
                                  "$ref": "#/components/schemas/FailOnCondition_33"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                },
                                {
                                  "$ref": "#/components/schemas/DownloadFileBlock_39"
                                },
                                {
                                  "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                },
                                {
                                  "$ref": "#/components/schemas/CodeV2_41"
                                },
                                {
                                  "$ref": "#/components/schemas/Transform_42"
                                },
                                {
                                  "$ref": "#/components/schemas/ExitFromLoop_43"
                                },
                                {
                                  "$ref": "#/components/schemas/Next_44"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "$ref": "#/components/schemas/SearchandNavigate_47"
                                },
                                {
                                  "$ref": "#/components/schemas/UnzipFile_48"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Union_49"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "$ref": "#/components/schemas/If_51"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "Enqueued"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "status"
                          ],
                          "title": "Enqueued Execution"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Login_5"
                                },
                                {
                                  "$ref": "#/components/schemas/FormBlock_6"
                                },
                                {
                                  "$ref": "#/components/schemas/FillDocument_7"
                                },
                                {
                                  "$ref": "#/components/schemas/FillSpreadsheet_8"
                                },
                                {
                                  "$ref": "#/components/schemas/MouseBlock_9"
                                },
                                {
                                  "$ref": "#/components/schemas/HoverBlock_10"
                                },
                                {
                                  "$ref": "#/components/schemas/Search_11"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Union_12"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "$ref": "#/components/schemas/DateInput_15"
                                },
                                {
                                  "$ref": "#/components/schemas/Dropdown_16"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "$ref": "#/components/schemas/ParseDocument_19"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "$ref": "#/components/schemas/ExtractImages_22"
                                },
                                {
                                  "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_method_route_data_24"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "$ref": "#/components/schemas/Navigate_26"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePage_27"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePopup_28"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                },
                                {
                                  "$ref": "#/components/schemas/Wait_30"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCondition_31"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                },
                                {
                                  "$ref": "#/components/schemas/FailOnCondition_33"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                },
                                {
                                  "$ref": "#/components/schemas/DownloadFileBlock_39"
                                },
                                {
                                  "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                },
                                {
                                  "$ref": "#/components/schemas/CodeV2_41"
                                },
                                {
                                  "$ref": "#/components/schemas/Transform_42"
                                },
                                {
                                  "$ref": "#/components/schemas/ExitFromLoop_43"
                                },
                                {
                                  "$ref": "#/components/schemas/Next_44"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "$ref": "#/components/schemas/SearchandNavigate_47"
                                },
                                {
                                  "$ref": "#/components/schemas/UnzipFile_48"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Union_49"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "$ref": "#/components/schemas/If_51"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "Paused"
                              ]
                            },
                            "liveViewUrl": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "URL for live view of the execution"
                            },
                            "browserSessionId": {
                              "type": "string",
                              "description": "ID of the browser session used for execution"
                            },
                            "browserSessionVendorId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Vendor-specific session ID from the serverless browser provider"
                            },
                            "blockHistoryState": {
                              "type": "object",
                              "properties": {
                                "lastAttemptedBlock": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "blockId": {
                                      "type": "string",
                                      "description": "The block external ID"
                                    },
                                    "spanId": {
                                      "type": "string",
                                      "description": "The span ID from execution"
                                    },
                                    "result": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Login_5"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FormBlock_6"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FillDocument_7"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FillSpreadsheet_8"
                                        },
                                        {
                                          "$ref": "#/components/schemas/MouseBlock_9"
                                        },
                                        {
                                          "$ref": "#/components/schemas/HoverBlock_10"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Search_11"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "Input"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/Union_12"
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "SensitiveTextInput"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "Dropdown"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "NativeDropdown"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "Checkbox"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                }
                                              ]
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "Input"
                                        },
                                        {
                                          "$ref": "#/components/schemas/DateInput_15"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Dropdown_16"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "Extract"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "Extract"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ParseDocument_19"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "ExtractFromInput"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "Generate"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ExtractImages_22"
                                        },
                                        {
                                          "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "API"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_method_route_data_24"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "API"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Navigate_26"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ClosePage_27"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ClosePopup_28"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Wait_30"
                                        },
                                        {
                                          "$ref": "#/components/schemas/WaitForCondition_31"
                                        },
                                        {
                                          "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FailOnCondition_33"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                        },
                                        {
                                          "$ref": "#/components/schemas/DownloadFileBlock_39"
                                        },
                                        {
                                          "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                        },
                                        {
                                          "$ref": "#/components/schemas/CodeV2_41"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Transform_42"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ExitFromLoop_43"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Next_44"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "SendEmail"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "SendEmail",
                                          "description": "A block that sends an email from the workflow with templated content and file attachments"
                                        },
                                        {
                                          "$ref": "#/components/schemas/SearchandNavigate_47"
                                        },
                                        {
                                          "$ref": "#/components/schemas/UnzipFile_48"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "LoopV2"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Union_49"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            },
                                            "sequenceData": {
                                              "type": "object",
                                              "properties": {
                                                "sequence": {
                                                  "type": "array",
                                                  "items": {
                                                    "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                                  },
                                                  "description": "Sequence of blocks within the loop"
                                                }
                                              },
                                              "required": [
                                                "sequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship",
                                            "sequenceData"
                                          ],
                                          "title": "Loop"
                                        },
                                        {
                                          "$ref": "#/components/schemas/If_51"
                                        }
                                      ],
                                      "description": "The block result"
                                    }
                                  },
                                  "required": [
                                    "blockId",
                                    "spanId",
                                    "result"
                                  ],
                                  "description": "The last attempted block, or null if none"
                                },
                                "nextBlock": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "blockId": {
                                      "type": "string",
                                      "description": "The next block external ID"
                                    },
                                    "spanId": {
                                      "type": "null",
                                      "description": "Span ID is null for next blocks (lazily selected from block graph)"
                                    },
                                    "result": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Login_5"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FormBlock_6"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FillDocument_7"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FillSpreadsheet_8"
                                        },
                                        {
                                          "$ref": "#/components/schemas/MouseBlock_9"
                                        },
                                        {
                                          "$ref": "#/components/schemas/HoverBlock_10"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Search_11"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "Input"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/Union_12"
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "SensitiveTextInput"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "Dropdown"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "NativeDropdown"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                },
                                                {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "mode": {
                                                      "type": "string",
                                                      "enum": [
                                                        "code",
                                                        "aiInference"
                                                      ]
                                                    },
                                                    "useVision": {
                                                      "type": "boolean"
                                                    },
                                                    "inputType": {
                                                      "type": "string",
                                                      "const": "Checkbox"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "key",
                                                    "inputType",
                                                    "value"
                                                  ]
                                                }
                                              ]
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "Input"
                                        },
                                        {
                                          "$ref": "#/components/schemas/DateInput_15"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Dropdown_16"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "Extract"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "Extract"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ParseDocument_19"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "ExtractFromInput"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "Generate"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ExtractImages_22"
                                        },
                                        {
                                          "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "API"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_method_route_data_24"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "API"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Navigate_26"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ClosePage_27"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ClosePopup_28"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Wait_30"
                                        },
                                        {
                                          "$ref": "#/components/schemas/WaitForCondition_31"
                                        },
                                        {
                                          "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                        },
                                        {
                                          "$ref": "#/components/schemas/FailOnCondition_33"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                        },
                                        {
                                          "$ref": "#/components/schemas/DownloadFileBlock_39"
                                        },
                                        {
                                          "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                        },
                                        {
                                          "$ref": "#/components/schemas/CodeV2_41"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Transform_42"
                                        },
                                        {
                                          "$ref": "#/components/schemas/ExitFromLoop_43"
                                        },
                                        {
                                          "$ref": "#/components/schemas/Next_44"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "SendEmail"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship"
                                          ],
                                          "title": "SendEmail",
                                          "description": "A block that sends an email from the workflow with templated content and file attachments"
                                        },
                                        {
                                          "$ref": "#/components/schemas/SearchandNavigate_47"
                                        },
                                        {
                                          "$ref": "#/components/schemas/UnzipFile_48"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "id": {
                                              "type": "string"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "blockReferenceId": {
                                              "type": "string"
                                            },
                                            "type": {
                                              "type": "string",
                                              "const": "LoopV2"
                                            },
                                            "locator": {
                                              "oneOf": [
                                                {
                                                  "$ref": "#/components/schemas/ElementLocator"
                                                },
                                                {
                                                  "type": "null"
                                                }
                                              ]
                                            },
                                            "isCacheable": {
                                              "type": "boolean"
                                            },
                                            "skipIfNotPresent": {
                                              "type": "boolean"
                                            },
                                            "useWorkflowRecoveryAgent": {
                                              "type": "boolean"
                                            },
                                            "data": {
                                              "$ref": "#/components/schemas/Union_49"
                                            },
                                            "parentRelationship": {
                                              "type": "object",
                                              "properties": {
                                                "blockDepth": {
                                                  "type": "number"
                                                },
                                                "positionInSequence": {
                                                  "type": "number"
                                                },
                                                "parentBlockId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ]
                                                },
                                                "parentSequenceId": {
                                                  "type": [
                                                    "string",
                                                    "null"
                                                  ],
                                                  "enum": [
                                                    "sequence",
                                                    "trueSequence",
                                                    "falseSequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "blockDepth",
                                                "positionInSequence",
                                                "parentBlockId",
                                                "parentSequenceId"
                                              ]
                                            },
                                            "sequenceData": {
                                              "type": "object",
                                              "properties": {
                                                "sequence": {
                                                  "type": "array",
                                                  "items": {
                                                    "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                                  },
                                                  "description": "Sequence of blocks within the loop"
                                                }
                                              },
                                              "required": [
                                                "sequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "id",
                                            "name",
                                            "blockReferenceId",
                                            "type",
                                            "isCacheable",
                                            "skipIfNotPresent",
                                            "useWorkflowRecoveryAgent",
                                            "data",
                                            "parentRelationship",
                                            "sequenceData"
                                          ],
                                          "title": "Loop"
                                        },
                                        {
                                          "$ref": "#/components/schemas/If_51"
                                        }
                                      ],
                                      "description": "The next block result"
                                    }
                                  },
                                  "required": [
                                    "blockId",
                                    "spanId",
                                    "result"
                                  ],
                                  "description": "The next block to execute, or null if none"
                                }
                              },
                              "required": [
                                "lastAttemptedBlock",
                                "nextBlock"
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "status",
                            "liveViewUrl",
                            "browserSessionId",
                            "browserSessionVendorId",
                            "blockHistoryState"
                          ],
                          "title": "Active Execution (In Progress or Paused)"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Login_5"
                                },
                                {
                                  "$ref": "#/components/schemas/FormBlock_6"
                                },
                                {
                                  "$ref": "#/components/schemas/FillDocument_7"
                                },
                                {
                                  "$ref": "#/components/schemas/FillSpreadsheet_8"
                                },
                                {
                                  "$ref": "#/components/schemas/MouseBlock_9"
                                },
                                {
                                  "$ref": "#/components/schemas/HoverBlock_10"
                                },
                                {
                                  "$ref": "#/components/schemas/Search_11"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Union_12"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "$ref": "#/components/schemas/DateInput_15"
                                },
                                {
                                  "$ref": "#/components/schemas/Dropdown_16"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "$ref": "#/components/schemas/ParseDocument_19"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "$ref": "#/components/schemas/ExtractImages_22"
                                },
                                {
                                  "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_method_route_data_24"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "$ref": "#/components/schemas/Navigate_26"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePage_27"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePopup_28"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                },
                                {
                                  "$ref": "#/components/schemas/Wait_30"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCondition_31"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                },
                                {
                                  "$ref": "#/components/schemas/FailOnCondition_33"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                },
                                {
                                  "$ref": "#/components/schemas/DownloadFileBlock_39"
                                },
                                {
                                  "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                },
                                {
                                  "$ref": "#/components/schemas/CodeV2_41"
                                },
                                {
                                  "$ref": "#/components/schemas/Transform_42"
                                },
                                {
                                  "$ref": "#/components/schemas/ExitFromLoop_43"
                                },
                                {
                                  "$ref": "#/components/schemas/Next_44"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "$ref": "#/components/schemas/SearchandNavigate_47"
                                },
                                {
                                  "$ref": "#/components/schemas/UnzipFile_48"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Union_49"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "$ref": "#/components/schemas/If_51"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "durationMs": {
                              "type": "number",
                              "description": "Duration of the execution in milliseconds"
                            },
                            "endTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution completed (if finished)"
                            },
                            "response": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": {},
                              "description": "Response from the execution"
                            },
                            "truncatedResponse": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Preview of the response from the execution"
                            },
                            "responseFile": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Unique identifier for the file"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the file"
                                },
                                "mimeType": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "MIME type of the file"
                                },
                                "sizeBytes": {
                                  "type": [
                                    "number",
                                    "null"
                                  ],
                                  "description": "Size of the file in bytes"
                                },
                                "downloadUrl": {
                                  "type": "string",
                                  "description": "URL to download the file"
                                },
                                "key": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Key identifier for the file (for example, a key provided when completing a download for the file)."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "mimeType",
                                "sizeBytes",
                                "downloadUrl",
                                "key"
                              ],
                              "description": "File containing the complete execution response as JSON"
                            },
                            "browserSessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the browser session used for execution"
                            },
                            "browserSessionVendorId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Vendor-specific session ID from the serverless browser provider"
                            },
                            "errorAnalysis": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                            },
                            "summary": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated summary of what happened during the execution, with links to block spans"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "Completed"
                              ]
                            },
                            "context": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": {},
                              "description": "Complete context of the execution, including intermediate results, workflow state, and any additional metadata gathered during execution"
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "durationMs",
                            "endTime",
                            "response",
                            "truncatedResponse",
                            "responseFile",
                            "browserSessionId",
                            "browserSessionVendorId",
                            "errorAnalysis",
                            "summary",
                            "status",
                            "context"
                          ],
                          "title": "Completed Execution",
                          "description": "Recording of a successfully completed workflow execution"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Login_5"
                                },
                                {
                                  "$ref": "#/components/schemas/FormBlock_6"
                                },
                                {
                                  "$ref": "#/components/schemas/FillDocument_7"
                                },
                                {
                                  "$ref": "#/components/schemas/FillSpreadsheet_8"
                                },
                                {
                                  "$ref": "#/components/schemas/MouseBlock_9"
                                },
                                {
                                  "$ref": "#/components/schemas/HoverBlock_10"
                                },
                                {
                                  "$ref": "#/components/schemas/Search_11"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Union_12"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "$ref": "#/components/schemas/DateInput_15"
                                },
                                {
                                  "$ref": "#/components/schemas/Dropdown_16"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "$ref": "#/components/schemas/ParseDocument_19"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "$ref": "#/components/schemas/ExtractImages_22"
                                },
                                {
                                  "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_method_route_data_24"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "$ref": "#/components/schemas/Navigate_26"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePage_27"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePopup_28"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                },
                                {
                                  "$ref": "#/components/schemas/Wait_30"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCondition_31"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                },
                                {
                                  "$ref": "#/components/schemas/FailOnCondition_33"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                },
                                {
                                  "$ref": "#/components/schemas/DownloadFileBlock_39"
                                },
                                {
                                  "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                },
                                {
                                  "$ref": "#/components/schemas/CodeV2_41"
                                },
                                {
                                  "$ref": "#/components/schemas/Transform_42"
                                },
                                {
                                  "$ref": "#/components/schemas/ExitFromLoop_43"
                                },
                                {
                                  "$ref": "#/components/schemas/Next_44"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "$ref": "#/components/schemas/SearchandNavigate_47"
                                },
                                {
                                  "$ref": "#/components/schemas/UnzipFile_48"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Union_49"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "$ref": "#/components/schemas/If_51"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "durationMs": {
                              "type": "number",
                              "description": "Duration of the execution in milliseconds"
                            },
                            "endTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution completed (if finished)"
                            },
                            "response": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": {},
                              "description": "Response from the execution"
                            },
                            "truncatedResponse": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Preview of the response from the execution"
                            },
                            "responseFile": {
                              "$ref": "#/components/schemas/Schema_53"
                            },
                            "browserSessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the browser session used for execution"
                            },
                            "browserSessionVendorId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Vendor-specific session ID from the serverless browser provider"
                            },
                            "errorAnalysis": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                            },
                            "summary": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated summary of what happened during the execution, with links to block spans"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "Failed"
                              ]
                            },
                            "context": {
                              "type": "null",
                              "description": "Context is not available for failed executions"
                            },
                            "error": {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "description": "Error code identifying the type of failure"
                                },
                                "message": {
                                  "type": "string",
                                  "description": "Detailed error message describing the failure"
                                }
                              },
                              "required": [
                                "code",
                                "message"
                              ],
                              "description": "Error details for the failed execution"
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "durationMs",
                            "endTime",
                            "response",
                            "truncatedResponse",
                            "responseFile",
                            "browserSessionId",
                            "browserSessionVendorId",
                            "errorAnalysis",
                            "summary",
                            "status",
                            "context",
                            "error"
                          ],
                          "title": "Failed Execution",
                          "description": "Recording of a failed workflow execution"
                        }
                      ],
                      "title": "Execution",
                      "description": "Recording of a workflow execution"
                    }
                  },
                  "required": [
                    "execution"
                  ],
                  "description": "Single execution result"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Execution not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/executions/retry": {
      "post": {
        "summary": "Retry execution",
        "description": "Retries a completed or failed workflow execution by creating a new execution with a new session",
        "tags": [
          "Executions"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "The execution ID to retry"
                  }
                },
                "required": [
                  "id"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Execution retry initiated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "description": "Whether the retry was initiated successfully"
                    },
                    "message": {
                      "type": "string",
                      "description": "Status message"
                    },
                    "execution": {
                      "type": "object",
                      "properties": {
                        "execution": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Unique identifier for the execution"
                                },
                                "workflow": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the workflow being executed"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the workflow being executed"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "batch": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the execution batch"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the execution batch"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "description": "Batch information if execution is part of a batch"
                                },
                                "logins": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID of the login used for execution"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "Name of the login used for execution"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name"
                                    ]
                                  }
                                },
                                "authentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Union_1"
                                  },
                                  "description": "Authentication responses for this execution"
                                },
                                "startTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution started"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution parameters"
                                },
                                "metadata": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution metadata"
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Execution name"
                                },
                                "startBlock": {
                                  "oneOf": [
                                    {
                                      "$ref": "#/components/schemas/Login_5"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FormBlock_6"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillDocument_7"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillSpreadsheet_8"
                                    },
                                    {
                                      "$ref": "#/components/schemas/MouseBlock_9"
                                    },
                                    {
                                      "$ref": "#/components/schemas/HoverBlock_10"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Search_11"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Input"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Union_12"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "SensitiveTextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Dropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "NativeDropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Checkbox"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            }
                                          ]
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Input"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DateInput_15"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Dropdown_16"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Extract"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Extract"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ParseDocument_19"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "ExtractFromInput"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Generate"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExtractImages_22"
                                    },
                                    {
                                      "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "API"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_method_route_data_24"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "API"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Navigate_26"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePage_27"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePopup_28"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Wait_30"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCondition_31"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FailOnCondition_33"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DownloadFileBlock_39"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                    },
                                    {
                                      "$ref": "#/components/schemas/CodeV2_41"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Transform_42"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExitFromLoop_43"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Next_44"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "SendEmail"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "SendEmail",
                                      "description": "A block that sends an email from the workflow with templated content and file attachments"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SearchandNavigate_47"
                                    },
                                    {
                                      "$ref": "#/components/schemas/UnzipFile_48"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "LoopV2"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Union_49"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        },
                                        "sequenceData": {
                                          "type": "object",
                                          "properties": {
                                            "sequence": {
                                              "type": "array",
                                              "items": {
                                                "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                              },
                                              "description": "Sequence of blocks within the loop"
                                            }
                                          },
                                          "required": [
                                            "sequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship",
                                        "sequenceData"
                                      ],
                                      "title": "Loop"
                                    },
                                    {
                                      "$ref": "#/components/schemas/If_51"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The block where execution started, if specified"
                                },
                                "downloads": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "in_progress",
                                        "success",
                                        "failed"
                                      ]
                                    },
                                    "files": {
                                      "type": "array",
                                      "items": {
                                        "$ref": "#/components/schemas/FileInfo"
                                      }
                                    },
                                    "message": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "files"
                                  ],
                                  "description": "File downloads from the execution"
                                },
                                "contextAuthentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                  },
                                  "description": "Session authentication responses with login summary for this execution"
                                },
                                "parentExecutionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the parent execution that triggered this execution"
                                },
                                "sessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the session associated with this execution"
                                },
                                "agentConversationThreadId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                                },
                                "attempts": {
                                  "type": "number",
                                  "description": "Number of times this execution has been attempted (including retries)"
                                },
                                "totalAttempts": {
                                  "type": "number",
                                  "description": "Total number of attempts allowed for this execution (initial + retries)"
                                },
                                "isLastAttempt": {
                                  "type": "boolean",
                                  "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                                },
                                "isTest": {
                                  "type": "boolean",
                                  "description": "Whether this execution is a test run"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "InProgress"
                                  ]
                                },
                                "liveViewUrl": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "URL for live view of the execution"
                                },
                                "browserSessionId": {
                                  "type": "string",
                                  "description": "ID of the browser session used for execution"
                                },
                                "browserSessionVendorId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Vendor-specific session ID from the serverless browser provider"
                                }
                              },
                              "required": [
                                "id",
                                "workflow",
                                "batch",
                                "logins",
                                "authentications",
                                "startTime",
                                "params",
                                "metadata",
                                "name",
                                "startBlock",
                                "contextAuthentications",
                                "sessionId",
                                "agentConversationThreadId",
                                "attempts",
                                "totalAttempts",
                                "isLastAttempt",
                                "isTest",
                                "status",
                                "liveViewUrl",
                                "browserSessionId",
                                "browserSessionVendorId"
                              ],
                              "title": "Active Execution (In Progress or Paused)"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Unique identifier for the execution"
                                },
                                "workflow": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the workflow being executed"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the workflow being executed"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "batch": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the execution batch"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the execution batch"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "description": "Batch information if execution is part of a batch"
                                },
                                "logins": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID of the login used for execution"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "Name of the login used for execution"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name"
                                    ]
                                  }
                                },
                                "authentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Union_1"
                                  },
                                  "description": "Authentication responses for this execution"
                                },
                                "startTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution started"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution parameters"
                                },
                                "metadata": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution metadata"
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Execution name"
                                },
                                "startBlock": {
                                  "oneOf": [
                                    {
                                      "$ref": "#/components/schemas/Login_5"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FormBlock_6"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillDocument_7"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillSpreadsheet_8"
                                    },
                                    {
                                      "$ref": "#/components/schemas/MouseBlock_9"
                                    },
                                    {
                                      "$ref": "#/components/schemas/HoverBlock_10"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Search_11"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Input"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Union_12"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "SensitiveTextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Dropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "NativeDropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Checkbox"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            }
                                          ]
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Input"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DateInput_15"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Dropdown_16"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Extract"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Extract"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ParseDocument_19"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "ExtractFromInput"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Generate"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExtractImages_22"
                                    },
                                    {
                                      "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "API"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_method_route_data_24"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "API"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Navigate_26"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePage_27"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePopup_28"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Wait_30"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCondition_31"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FailOnCondition_33"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DownloadFileBlock_39"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                    },
                                    {
                                      "$ref": "#/components/schemas/CodeV2_41"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Transform_42"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExitFromLoop_43"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Next_44"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "SendEmail"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "SendEmail",
                                      "description": "A block that sends an email from the workflow with templated content and file attachments"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SearchandNavigate_47"
                                    },
                                    {
                                      "$ref": "#/components/schemas/UnzipFile_48"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "LoopV2"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Union_49"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        },
                                        "sequenceData": {
                                          "type": "object",
                                          "properties": {
                                            "sequence": {
                                              "type": "array",
                                              "items": {
                                                "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                              },
                                              "description": "Sequence of blocks within the loop"
                                            }
                                          },
                                          "required": [
                                            "sequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship",
                                        "sequenceData"
                                      ],
                                      "title": "Loop"
                                    },
                                    {
                                      "$ref": "#/components/schemas/If_51"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The block where execution started, if specified"
                                },
                                "downloads": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "in_progress",
                                        "success",
                                        "failed"
                                      ]
                                    },
                                    "files": {
                                      "type": "array",
                                      "items": {
                                        "$ref": "#/components/schemas/FileInfo"
                                      }
                                    },
                                    "message": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "files"
                                  ],
                                  "description": "File downloads from the execution"
                                },
                                "contextAuthentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                  },
                                  "description": "Session authentication responses with login summary for this execution"
                                },
                                "parentExecutionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the parent execution that triggered this execution"
                                },
                                "sessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the session associated with this execution"
                                },
                                "agentConversationThreadId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                                },
                                "attempts": {
                                  "type": "number",
                                  "description": "Number of times this execution has been attempted (including retries)"
                                },
                                "totalAttempts": {
                                  "type": "number",
                                  "description": "Total number of attempts allowed for this execution (initial + retries)"
                                },
                                "isLastAttempt": {
                                  "type": "boolean",
                                  "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                                },
                                "isTest": {
                                  "type": "boolean",
                                  "description": "Whether this execution is a test run"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "Enqueued"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "workflow",
                                "batch",
                                "logins",
                                "authentications",
                                "startTime",
                                "params",
                                "metadata",
                                "name",
                                "startBlock",
                                "contextAuthentications",
                                "sessionId",
                                "agentConversationThreadId",
                                "attempts",
                                "totalAttempts",
                                "isLastAttempt",
                                "isTest",
                                "status"
                              ],
                              "title": "Enqueued Execution"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Unique identifier for the execution"
                                },
                                "workflow": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the workflow being executed"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the workflow being executed"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "batch": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the execution batch"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the execution batch"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "description": "Batch information if execution is part of a batch"
                                },
                                "logins": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID of the login used for execution"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "Name of the login used for execution"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name"
                                    ]
                                  }
                                },
                                "authentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Union_1"
                                  },
                                  "description": "Authentication responses for this execution"
                                },
                                "startTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution started"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution parameters"
                                },
                                "metadata": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution metadata"
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Execution name"
                                },
                                "startBlock": {
                                  "oneOf": [
                                    {
                                      "$ref": "#/components/schemas/Login_5"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FormBlock_6"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillDocument_7"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillSpreadsheet_8"
                                    },
                                    {
                                      "$ref": "#/components/schemas/MouseBlock_9"
                                    },
                                    {
                                      "$ref": "#/components/schemas/HoverBlock_10"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Search_11"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Input"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Union_12"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "SensitiveTextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Dropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "NativeDropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Checkbox"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            }
                                          ]
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Input"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DateInput_15"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Dropdown_16"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Extract"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Extract"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ParseDocument_19"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "ExtractFromInput"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Generate"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExtractImages_22"
                                    },
                                    {
                                      "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "API"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_method_route_data_24"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "API"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Navigate_26"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePage_27"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePopup_28"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Wait_30"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCondition_31"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FailOnCondition_33"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DownloadFileBlock_39"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                    },
                                    {
                                      "$ref": "#/components/schemas/CodeV2_41"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Transform_42"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExitFromLoop_43"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Next_44"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "SendEmail"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "SendEmail",
                                      "description": "A block that sends an email from the workflow with templated content and file attachments"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SearchandNavigate_47"
                                    },
                                    {
                                      "$ref": "#/components/schemas/UnzipFile_48"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "LoopV2"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Union_49"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        },
                                        "sequenceData": {
                                          "type": "object",
                                          "properties": {
                                            "sequence": {
                                              "type": "array",
                                              "items": {
                                                "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                              },
                                              "description": "Sequence of blocks within the loop"
                                            }
                                          },
                                          "required": [
                                            "sequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship",
                                        "sequenceData"
                                      ],
                                      "title": "Loop"
                                    },
                                    {
                                      "$ref": "#/components/schemas/If_51"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The block where execution started, if specified"
                                },
                                "downloads": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "in_progress",
                                        "success",
                                        "failed"
                                      ]
                                    },
                                    "files": {
                                      "type": "array",
                                      "items": {
                                        "$ref": "#/components/schemas/FileInfo"
                                      }
                                    },
                                    "message": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "files"
                                  ],
                                  "description": "File downloads from the execution"
                                },
                                "contextAuthentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                  },
                                  "description": "Session authentication responses with login summary for this execution"
                                },
                                "parentExecutionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the parent execution that triggered this execution"
                                },
                                "sessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the session associated with this execution"
                                },
                                "agentConversationThreadId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                                },
                                "attempts": {
                                  "type": "number",
                                  "description": "Number of times this execution has been attempted (including retries)"
                                },
                                "totalAttempts": {
                                  "type": "number",
                                  "description": "Total number of attempts allowed for this execution (initial + retries)"
                                },
                                "isLastAttempt": {
                                  "type": "boolean",
                                  "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                                },
                                "isTest": {
                                  "type": "boolean",
                                  "description": "Whether this execution is a test run"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "Paused"
                                  ]
                                },
                                "liveViewUrl": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "URL for live view of the execution"
                                },
                                "browserSessionId": {
                                  "type": "string",
                                  "description": "ID of the browser session used for execution"
                                },
                                "browserSessionVendorId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Vendor-specific session ID from the serverless browser provider"
                                },
                                "blockHistoryState": {
                                  "type": "object",
                                  "properties": {
                                    "lastAttemptedBlock": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "blockId": {
                                          "type": "string",
                                          "description": "The block external ID"
                                        },
                                        "spanId": {
                                          "type": "string",
                                          "description": "The span ID from execution"
                                        },
                                        "result": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Login_5"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FormBlock_6"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FillDocument_7"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FillSpreadsheet_8"
                                            },
                                            {
                                              "$ref": "#/components/schemas/MouseBlock_9"
                                            },
                                            {
                                              "$ref": "#/components/schemas/HoverBlock_10"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Search_11"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "Input"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/Union_12"
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "SensitiveTextInput"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "Dropdown"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "NativeDropdown"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "Checkbox"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    }
                                                  ]
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "Input"
                                            },
                                            {
                                              "$ref": "#/components/schemas/DateInput_15"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Dropdown_16"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "Extract"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "Extract"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ParseDocument_19"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "ExtractFromInput"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "Generate"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ExtractImages_22"
                                            },
                                            {
                                              "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "API"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_method_route_data_24"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "API"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Navigate_26"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ClosePage_27"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ClosePopup_28"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Wait_30"
                                            },
                                            {
                                              "$ref": "#/components/schemas/WaitForCondition_31"
                                            },
                                            {
                                              "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FailOnCondition_33"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                            },
                                            {
                                              "$ref": "#/components/schemas/DownloadFileBlock_39"
                                            },
                                            {
                                              "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                            },
                                            {
                                              "$ref": "#/components/schemas/CodeV2_41"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Transform_42"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ExitFromLoop_43"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Next_44"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "SendEmail"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "SendEmail",
                                              "description": "A block that sends an email from the workflow with templated content and file attachments"
                                            },
                                            {
                                              "$ref": "#/components/schemas/SearchandNavigate_47"
                                            },
                                            {
                                              "$ref": "#/components/schemas/UnzipFile_48"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "LoopV2"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Union_49"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                },
                                                "sequenceData": {
                                                  "type": "object",
                                                  "properties": {
                                                    "sequence": {
                                                      "type": "array",
                                                      "items": {
                                                        "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                                      },
                                                      "description": "Sequence of blocks within the loop"
                                                    }
                                                  },
                                                  "required": [
                                                    "sequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship",
                                                "sequenceData"
                                              ],
                                              "title": "Loop"
                                            },
                                            {
                                              "$ref": "#/components/schemas/If_51"
                                            }
                                          ],
                                          "description": "The block result"
                                        }
                                      },
                                      "required": [
                                        "blockId",
                                        "spanId",
                                        "result"
                                      ],
                                      "description": "The last attempted block, or null if none"
                                    },
                                    "nextBlock": {
                                      "type": [
                                        "object",
                                        "null"
                                      ],
                                      "properties": {
                                        "blockId": {
                                          "type": "string",
                                          "description": "The next block external ID"
                                        },
                                        "spanId": {
                                          "type": "null",
                                          "description": "Span ID is null for next blocks (lazily selected from block graph)"
                                        },
                                        "result": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Login_5"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FormBlock_6"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FillDocument_7"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FillSpreadsheet_8"
                                            },
                                            {
                                              "$ref": "#/components/schemas/MouseBlock_9"
                                            },
                                            {
                                              "$ref": "#/components/schemas/HoverBlock_10"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Search_11"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "Input"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/Union_12"
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "SensitiveTextInput"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "Dropdown"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "NativeDropdown"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    },
                                                    {
                                                      "type": "object",
                                                      "properties": {
                                                        "key": {
                                                          "type": "string"
                                                        },
                                                        "mode": {
                                                          "type": "string",
                                                          "enum": [
                                                            "code",
                                                            "aiInference"
                                                          ]
                                                        },
                                                        "useVision": {
                                                          "type": "boolean"
                                                        },
                                                        "inputType": {
                                                          "type": "string",
                                                          "const": "Checkbox"
                                                        },
                                                        "value": {
                                                          "type": "string"
                                                        }
                                                      },
                                                      "required": [
                                                        "key",
                                                        "inputType",
                                                        "value"
                                                      ]
                                                    }
                                                  ]
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "Input"
                                            },
                                            {
                                              "$ref": "#/components/schemas/DateInput_15"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Dropdown_16"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "Extract"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "Extract"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ParseDocument_19"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "ExtractFromInput"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "Generate"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ExtractImages_22"
                                            },
                                            {
                                              "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "API"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_method_route_data_24"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "API"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Navigate_26"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ClosePage_27"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ClosePopup_28"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Wait_30"
                                            },
                                            {
                                              "$ref": "#/components/schemas/WaitForCondition_31"
                                            },
                                            {
                                              "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                            },
                                            {
                                              "$ref": "#/components/schemas/FailOnCondition_33"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                            },
                                            {
                                              "$ref": "#/components/schemas/DownloadFileBlock_39"
                                            },
                                            {
                                              "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                            },
                                            {
                                              "$ref": "#/components/schemas/CodeV2_41"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Transform_42"
                                            },
                                            {
                                              "$ref": "#/components/schemas/ExitFromLoop_43"
                                            },
                                            {
                                              "$ref": "#/components/schemas/Next_44"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "SendEmail"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship"
                                              ],
                                              "title": "SendEmail",
                                              "description": "A block that sends an email from the workflow with templated content and file attachments"
                                            },
                                            {
                                              "$ref": "#/components/schemas/SearchandNavigate_47"
                                            },
                                            {
                                              "$ref": "#/components/schemas/UnzipFile_48"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "blockReferenceId": {
                                                  "type": "string"
                                                },
                                                "type": {
                                                  "type": "string",
                                                  "const": "LoopV2"
                                                },
                                                "locator": {
                                                  "oneOf": [
                                                    {
                                                      "$ref": "#/components/schemas/ElementLocator"
                                                    },
                                                    {
                                                      "type": "null"
                                                    }
                                                  ]
                                                },
                                                "isCacheable": {
                                                  "type": "boolean"
                                                },
                                                "skipIfNotPresent": {
                                                  "type": "boolean"
                                                },
                                                "useWorkflowRecoveryAgent": {
                                                  "type": "boolean"
                                                },
                                                "data": {
                                                  "$ref": "#/components/schemas/Union_49"
                                                },
                                                "parentRelationship": {
                                                  "type": "object",
                                                  "properties": {
                                                    "blockDepth": {
                                                      "type": "number"
                                                    },
                                                    "positionInSequence": {
                                                      "type": "number"
                                                    },
                                                    "parentBlockId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ]
                                                    },
                                                    "parentSequenceId": {
                                                      "type": [
                                                        "string",
                                                        "null"
                                                      ],
                                                      "enum": [
                                                        "sequence",
                                                        "trueSequence",
                                                        "falseSequence"
                                                      ]
                                                    }
                                                  },
                                                  "required": [
                                                    "blockDepth",
                                                    "positionInSequence",
                                                    "parentBlockId",
                                                    "parentSequenceId"
                                                  ]
                                                },
                                                "sequenceData": {
                                                  "type": "object",
                                                  "properties": {
                                                    "sequence": {
                                                      "type": "array",
                                                      "items": {
                                                        "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                                      },
                                                      "description": "Sequence of blocks within the loop"
                                                    }
                                                  },
                                                  "required": [
                                                    "sequence"
                                                  ]
                                                }
                                              },
                                              "required": [
                                                "id",
                                                "name",
                                                "blockReferenceId",
                                                "type",
                                                "isCacheable",
                                                "skipIfNotPresent",
                                                "useWorkflowRecoveryAgent",
                                                "data",
                                                "parentRelationship",
                                                "sequenceData"
                                              ],
                                              "title": "Loop"
                                            },
                                            {
                                              "$ref": "#/components/schemas/If_51"
                                            }
                                          ],
                                          "description": "The next block result"
                                        }
                                      },
                                      "required": [
                                        "blockId",
                                        "spanId",
                                        "result"
                                      ],
                                      "description": "The next block to execute, or null if none"
                                    }
                                  },
                                  "required": [
                                    "lastAttemptedBlock",
                                    "nextBlock"
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "workflow",
                                "batch",
                                "logins",
                                "authentications",
                                "startTime",
                                "params",
                                "metadata",
                                "name",
                                "startBlock",
                                "contextAuthentications",
                                "sessionId",
                                "agentConversationThreadId",
                                "attempts",
                                "totalAttempts",
                                "isLastAttempt",
                                "isTest",
                                "status",
                                "liveViewUrl",
                                "browserSessionId",
                                "browserSessionVendorId",
                                "blockHistoryState"
                              ],
                              "title": "Active Execution (In Progress or Paused)"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Unique identifier for the execution"
                                },
                                "workflow": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the workflow being executed"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the workflow being executed"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "batch": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the execution batch"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the execution batch"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "description": "Batch information if execution is part of a batch"
                                },
                                "logins": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID of the login used for execution"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "Name of the login used for execution"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name"
                                    ]
                                  }
                                },
                                "authentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Union_1"
                                  },
                                  "description": "Authentication responses for this execution"
                                },
                                "startTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution started"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution parameters"
                                },
                                "metadata": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution metadata"
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Execution name"
                                },
                                "startBlock": {
                                  "oneOf": [
                                    {
                                      "$ref": "#/components/schemas/Login_5"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FormBlock_6"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillDocument_7"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillSpreadsheet_8"
                                    },
                                    {
                                      "$ref": "#/components/schemas/MouseBlock_9"
                                    },
                                    {
                                      "$ref": "#/components/schemas/HoverBlock_10"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Search_11"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Input"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Union_12"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "SensitiveTextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Dropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "NativeDropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Checkbox"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            }
                                          ]
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Input"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DateInput_15"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Dropdown_16"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Extract"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Extract"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ParseDocument_19"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "ExtractFromInput"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Generate"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExtractImages_22"
                                    },
                                    {
                                      "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "API"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_method_route_data_24"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "API"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Navigate_26"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePage_27"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePopup_28"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Wait_30"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCondition_31"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FailOnCondition_33"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DownloadFileBlock_39"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                    },
                                    {
                                      "$ref": "#/components/schemas/CodeV2_41"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Transform_42"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExitFromLoop_43"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Next_44"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "SendEmail"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "SendEmail",
                                      "description": "A block that sends an email from the workflow with templated content and file attachments"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SearchandNavigate_47"
                                    },
                                    {
                                      "$ref": "#/components/schemas/UnzipFile_48"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "LoopV2"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Union_49"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        },
                                        "sequenceData": {
                                          "type": "object",
                                          "properties": {
                                            "sequence": {
                                              "type": "array",
                                              "items": {
                                                "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                              },
                                              "description": "Sequence of blocks within the loop"
                                            }
                                          },
                                          "required": [
                                            "sequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship",
                                        "sequenceData"
                                      ],
                                      "title": "Loop"
                                    },
                                    {
                                      "$ref": "#/components/schemas/If_51"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The block where execution started, if specified"
                                },
                                "downloads": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "in_progress",
                                        "success",
                                        "failed"
                                      ]
                                    },
                                    "files": {
                                      "type": "array",
                                      "items": {
                                        "$ref": "#/components/schemas/FileInfo"
                                      }
                                    },
                                    "message": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "files"
                                  ],
                                  "description": "File downloads from the execution"
                                },
                                "contextAuthentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                  },
                                  "description": "Session authentication responses with login summary for this execution"
                                },
                                "parentExecutionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the parent execution that triggered this execution"
                                },
                                "sessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the session associated with this execution"
                                },
                                "agentConversationThreadId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                                },
                                "attempts": {
                                  "type": "number",
                                  "description": "Number of times this execution has been attempted (including retries)"
                                },
                                "totalAttempts": {
                                  "type": "number",
                                  "description": "Total number of attempts allowed for this execution (initial + retries)"
                                },
                                "isLastAttempt": {
                                  "type": "boolean",
                                  "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                                },
                                "isTest": {
                                  "type": "boolean",
                                  "description": "Whether this execution is a test run"
                                },
                                "durationMs": {
                                  "type": "number",
                                  "description": "Duration of the execution in milliseconds"
                                },
                                "endTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution completed (if finished)"
                                },
                                "response": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "additionalProperties": {},
                                  "description": "Response from the execution"
                                },
                                "truncatedResponse": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Preview of the response from the execution"
                                },
                                "responseFile": {
                                  "$ref": "#/components/schemas/Schema_53"
                                },
                                "browserSessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the browser session used for execution"
                                },
                                "browserSessionVendorId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Vendor-specific session ID from the serverless browser provider"
                                },
                                "errorAnalysis": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                                },
                                "summary": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "AI-generated summary of what happened during the execution, with links to block spans"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "Completed"
                                  ]
                                },
                                "context": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "additionalProperties": {},
                                  "description": "Complete context of the execution, including intermediate results, workflow state, and any additional metadata gathered during execution"
                                }
                              },
                              "required": [
                                "id",
                                "workflow",
                                "batch",
                                "logins",
                                "authentications",
                                "startTime",
                                "params",
                                "metadata",
                                "name",
                                "startBlock",
                                "contextAuthentications",
                                "sessionId",
                                "agentConversationThreadId",
                                "attempts",
                                "totalAttempts",
                                "isLastAttempt",
                                "isTest",
                                "durationMs",
                                "endTime",
                                "response",
                                "truncatedResponse",
                                "responseFile",
                                "browserSessionId",
                                "browserSessionVendorId",
                                "errorAnalysis",
                                "summary",
                                "status",
                                "context"
                              ],
                              "title": "Completed Execution",
                              "description": "Recording of a successfully completed workflow execution"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "Unique identifier for the execution"
                                },
                                "workflow": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the workflow being executed"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the workflow being executed"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                },
                                "batch": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the execution batch"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the execution batch"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "description": "Batch information if execution is part of a batch"
                                },
                                "logins": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "ID of the login used for execution"
                                      },
                                      "name": {
                                        "type": "string",
                                        "description": "Name of the login used for execution"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name"
                                    ]
                                  }
                                },
                                "authentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Union_1"
                                  },
                                  "description": "Authentication responses for this execution"
                                },
                                "startTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution started"
                                },
                                "params": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution parameters"
                                },
                                "metadata": {
                                  "type": "object",
                                  "additionalProperties": {},
                                  "description": "Execution metadata"
                                },
                                "name": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Execution name"
                                },
                                "startBlock": {
                                  "oneOf": [
                                    {
                                      "$ref": "#/components/schemas/Login_5"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FormBlock_6"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillDocument_7"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FillSpreadsheet_8"
                                    },
                                    {
                                      "$ref": "#/components/schemas/MouseBlock_9"
                                    },
                                    {
                                      "$ref": "#/components/schemas/HoverBlock_10"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Search_11"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Input"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/Union_12"
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "SensitiveTextInput"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Dropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "NativeDropdown"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "mode": {
                                                  "type": "string",
                                                  "enum": [
                                                    "code",
                                                    "aiInference"
                                                  ]
                                                },
                                                "useVision": {
                                                  "type": "boolean"
                                                },
                                                "inputType": {
                                                  "type": "string",
                                                  "const": "Checkbox"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "key",
                                                "inputType",
                                                "value"
                                              ]
                                            }
                                          ]
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Input"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DateInput_15"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Dropdown_16"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "Extract"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Extract"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ParseDocument_19"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "ExtractFromInput"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "Generate"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExtractImages_22"
                                    },
                                    {
                                      "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "API"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_method_route_data_24"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "API"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Navigate_26"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePage_27"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ClosePopup_28"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Wait_30"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCondition_31"
                                    },
                                    {
                                      "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                    },
                                    {
                                      "$ref": "#/components/schemas/FailOnCondition_33"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                    },
                                    {
                                      "$ref": "#/components/schemas/DownloadFileBlock_39"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                    },
                                    {
                                      "$ref": "#/components/schemas/CodeV2_41"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Transform_42"
                                    },
                                    {
                                      "$ref": "#/components/schemas/ExitFromLoop_43"
                                    },
                                    {
                                      "$ref": "#/components/schemas/Next_44"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "SendEmail"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship"
                                      ],
                                      "title": "SendEmail",
                                      "description": "A block that sends an email from the workflow with templated content and file attachments"
                                    },
                                    {
                                      "$ref": "#/components/schemas/SearchandNavigate_47"
                                    },
                                    {
                                      "$ref": "#/components/schemas/UnzipFile_48"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "blockReferenceId": {
                                          "type": "string"
                                        },
                                        "type": {
                                          "type": "string",
                                          "const": "LoopV2"
                                        },
                                        "locator": {
                                          "oneOf": [
                                            {
                                              "$ref": "#/components/schemas/ElementLocator"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "isCacheable": {
                                          "type": "boolean"
                                        },
                                        "skipIfNotPresent": {
                                          "type": "boolean"
                                        },
                                        "useWorkflowRecoveryAgent": {
                                          "type": "boolean"
                                        },
                                        "data": {
                                          "$ref": "#/components/schemas/Union_49"
                                        },
                                        "parentRelationship": {
                                          "type": "object",
                                          "properties": {
                                            "blockDepth": {
                                              "type": "number"
                                            },
                                            "positionInSequence": {
                                              "type": "number"
                                            },
                                            "parentBlockId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "parentSequenceId": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "enum": [
                                                "sequence",
                                                "trueSequence",
                                                "falseSequence"
                                              ]
                                            }
                                          },
                                          "required": [
                                            "blockDepth",
                                            "positionInSequence",
                                            "parentBlockId",
                                            "parentSequenceId"
                                          ]
                                        },
                                        "sequenceData": {
                                          "type": "object",
                                          "properties": {
                                            "sequence": {
                                              "type": "array",
                                              "items": {
                                                "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                              },
                                              "description": "Sequence of blocks within the loop"
                                            }
                                          },
                                          "required": [
                                            "sequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name",
                                        "blockReferenceId",
                                        "type",
                                        "isCacheable",
                                        "skipIfNotPresent",
                                        "useWorkflowRecoveryAgent",
                                        "data",
                                        "parentRelationship",
                                        "sequenceData"
                                      ],
                                      "title": "Loop"
                                    },
                                    {
                                      "$ref": "#/components/schemas/If_51"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ],
                                  "description": "The block where execution started, if specified"
                                },
                                "downloads": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "in_progress",
                                        "success",
                                        "failed"
                                      ]
                                    },
                                    "files": {
                                      "type": "array",
                                      "items": {
                                        "$ref": "#/components/schemas/FileInfo"
                                      }
                                    },
                                    "message": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "status",
                                    "files"
                                  ],
                                  "description": "File downloads from the execution"
                                },
                                "contextAuthentications": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                  },
                                  "description": "Session authentication responses with login summary for this execution"
                                },
                                "parentExecutionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the parent execution that triggered this execution"
                                },
                                "sessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the session associated with this execution"
                                },
                                "agentConversationThreadId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                                },
                                "attempts": {
                                  "type": "number",
                                  "description": "Number of times this execution has been attempted (including retries)"
                                },
                                "totalAttempts": {
                                  "type": "number",
                                  "description": "Total number of attempts allowed for this execution (initial + retries)"
                                },
                                "isLastAttempt": {
                                  "type": "boolean",
                                  "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                                },
                                "isTest": {
                                  "type": "boolean",
                                  "description": "Whether this execution is a test run"
                                },
                                "durationMs": {
                                  "type": "number",
                                  "description": "Duration of the execution in milliseconds"
                                },
                                "endTime": {
                                  "type": "string",
                                  "format": "date-time",
                                  "description": "When the execution completed (if finished)"
                                },
                                "response": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "additionalProperties": {},
                                  "description": "Response from the execution"
                                },
                                "truncatedResponse": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Preview of the response from the execution"
                                },
                                "responseFile": {
                                  "$ref": "#/components/schemas/Schema_53"
                                },
                                "browserSessionId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "ID of the browser session used for execution"
                                },
                                "browserSessionVendorId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "Vendor-specific session ID from the serverless browser provider"
                                },
                                "errorAnalysis": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                                },
                                "summary": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "description": "AI-generated summary of what happened during the execution, with links to block spans"
                                },
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "Failed"
                                  ]
                                },
                                "context": {
                                  "type": "null",
                                  "description": "Context is not available for failed executions"
                                },
                                "error": {
                                  "type": "object",
                                  "properties": {
                                    "code": {
                                      "type": "string",
                                      "description": "Error code identifying the type of failure"
                                    },
                                    "message": {
                                      "type": "string",
                                      "description": "Detailed error message describing the failure"
                                    }
                                  },
                                  "required": [
                                    "code",
                                    "message"
                                  ],
                                  "description": "Error details for the failed execution"
                                }
                              },
                              "required": [
                                "id",
                                "workflow",
                                "batch",
                                "logins",
                                "authentications",
                                "startTime",
                                "params",
                                "metadata",
                                "name",
                                "startBlock",
                                "contextAuthentications",
                                "sessionId",
                                "agentConversationThreadId",
                                "attempts",
                                "totalAttempts",
                                "isLastAttempt",
                                "isTest",
                                "durationMs",
                                "endTime",
                                "response",
                                "truncatedResponse",
                                "responseFile",
                                "browserSessionId",
                                "browserSessionVendorId",
                                "errorAnalysis",
                                "summary",
                                "status",
                                "context",
                                "error"
                              ],
                              "title": "Failed Execution",
                              "description": "Recording of a failed workflow execution"
                            }
                          ],
                          "title": "Execution",
                          "description": "Recording of a workflow execution"
                        }
                      },
                      "required": [
                        "execution"
                      ],
                      "description": "The new execution created from the retry"
                    }
                  },
                  "required": [
                    "success"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters or execution cannot be retried",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized - only internal users can retry executions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/workflows/create": {
      "post": {
        "summary": "Create a new workflow",
        "description": "Creates a new workflow for the authenticated organization",
        "tags": [
          "Workflows"
        ],
        "x-hidden": true,
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "description": "Name of the workflow to create",
                    "example": "My New Workflow"
                  },
                  "blocks": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Login"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "loginId": {
                                  "type": "string"
                                },
                                "isParameter": {
                                  "type": "boolean"
                                },
                                "forceLoginEveryTime": {
                                  "type": "boolean"
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Login"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Form"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "dataPrompt": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "Prompt containing the actual data/information to fill into the form fields"
                                }
                              },
                              "required": [
                                "dataPrompt"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Form Block",
                          "description": "A block that automatically maps and fills input fields on a form using AI-powered field detection and data mapping."
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Mouse"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "locationHint": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "doubleClick": {
                                  "type": "boolean"
                                },
                                "force": {
                                  "type": "boolean"
                                },
                                "useVision": {
                                  "type": "boolean"
                                },
                                "segment": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "enum": [
                                    "top",
                                    "left"
                                  ]
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Mouse Block"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Hover"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "locationHint": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "useVision": {
                                  "type": "boolean"
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Hover Block"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Search"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "query": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "shouldNotClearFirst": {
                                  "type": "boolean",
                                  "default": true
                                },
                                "shouldType": {
                                  "type": "boolean"
                                },
                                "agenticSearch": {
                                  "type": "boolean"
                                },
                                "knowledgeBaseIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "instructions": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "skipIfMaxStepsReached": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "prompt",
                                "query"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Search"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Input"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Union_12"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "mode": {
                                      "type": "string",
                                      "enum": [
                                        "code",
                                        "aiInference"
                                      ]
                                    },
                                    "useVision": {
                                      "type": "boolean"
                                    },
                                    "inputType": {
                                      "type": "string",
                                      "const": "SensitiveTextInput"
                                    },
                                    "value": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "inputType",
                                    "value"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "mode": {
                                      "type": "string",
                                      "enum": [
                                        "code",
                                        "aiInference"
                                      ]
                                    },
                                    "useVision": {
                                      "type": "boolean"
                                    },
                                    "inputType": {
                                      "type": "string",
                                      "const": "Dropdown"
                                    },
                                    "value": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "inputType",
                                    "value"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "mode": {
                                      "type": "string",
                                      "enum": [
                                        "code",
                                        "aiInference"
                                      ]
                                    },
                                    "useVision": {
                                      "type": "boolean"
                                    },
                                    "inputType": {
                                      "type": "string",
                                      "const": "NativeDropdown"
                                    },
                                    "value": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "inputType",
                                    "value"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "mode": {
                                      "type": "string",
                                      "enum": [
                                        "code",
                                        "aiInference"
                                      ]
                                    },
                                    "useVision": {
                                      "type": "boolean"
                                    },
                                    "inputType": {
                                      "type": "string",
                                      "const": "Checkbox"
                                    },
                                    "value": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "inputType",
                                    "value"
                                  ]
                                }
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Input"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "DateInput"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "value": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "useVision": {
                                  "type": "boolean",
                                  "default": false
                                }
                              },
                              "required": [
                                "key",
                                "value"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Date Input"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Extract"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "schema": {},
                                "useVision": {
                                  "type": "boolean",
                                  "default": false
                                },
                                "model": {
                                  "type": "string",
                                  "enum": [
                                    "gpt-4.1-mini-2025-04-14",
                                    "gpt-4.1-2025-04-14",
                                    "gpt-5.1-2025-11-13",
                                    "gpt-5.4",
                                    "gpt-5.4-mini",
                                    "gpt-5.4-nano",
                                    "gpt-5.6-terra",
                                    "gpt-5.6-luna"
                                  ]
                                },
                                "overrideModelWithDefault": {
                                  "type": "boolean",
                                  "default": false,
                                  "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                                },
                                "selector": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "xpath": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "xpath"
                                  ],
                                  "description": "The XPath selector to extract from."
                                },
                                "usePageImage": {
                                  "type": "boolean",
                                  "default": false,
                                  "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
                                },
                                "knowledgeBaseIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "prompt"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Extract"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "ExtractFromInput"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "inputText": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "schema": {},
                                "model": {
                                  "type": "string",
                                  "enum": [
                                    "gpt-4.1-mini-2025-04-14",
                                    "gpt-4.1-2025-04-14",
                                    "gpt-5.1-2025-11-13",
                                    "gpt-5.4",
                                    "gpt-5.4-mini",
                                    "gpt-5.4-nano",
                                    "gpt-5.6-terra",
                                    "gpt-5.6-luna"
                                  ]
                                },
                                "overrideModelWithDefault": {
                                  "type": "boolean",
                                  "default": false,
                                  "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                                }
                              },
                              "required": [
                                "inputText",
                                "prompt"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Generate"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "ExtractImages"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "imageDescriptions": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "pattern": "^[A-Za-z0-9_-]+$",
                                    "minLength": 1
                                  },
                                  "description": "List of image descriptions to extract. Each description should be a single word with no spaces (e.g., \"logo\", \"profile\", \"banner\")."
                                }
                              },
                              "required": [
                                "imageDescriptions"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Extract Images"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "API"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "$ref": "#/components/schemas/Object_method_route_data_24"
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "API"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "LoopV2"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "iterableName": {
                                      "type": "string"
                                    },
                                    "semanticIterableKey": {
                                      "type": "string"
                                    },
                                    "isSemantic": {
                                      "type": "boolean",
                                      "const": true
                                    },
                                    "iterableKey": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "iterableName",
                                    "semanticIterableKey",
                                    "isSemantic"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "iterableName": {
                                      "type": "string"
                                    },
                                    "iterableKey": {
                                      "type": "string"
                                    },
                                    "isSemantic": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "iterableName"
                                  ]
                                }
                              ]
                            },
                            "sequenceData": {
                              "type": "object",
                              "properties": {
                                "sequence": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                  },
                                  "description": "Sequence of blocks within the loop"
                                }
                              },
                              "required": [
                                "sequence"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data",
                            "sequenceData"
                          ],
                          "title": "Loop"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Navigate"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "actionType": {
                                      "type": "string",
                                      "const": "GoTo"
                                    },
                                    "url": {
                                      "$ref": "#/components/schemas/TextValue"
                                    }
                                  },
                                  "required": [
                                    "actionType",
                                    "url"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "actionType": {
                                      "type": "string",
                                      "const": "GoBack"
                                    }
                                  },
                                  "required": [
                                    "actionType"
                                  ]
                                }
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Navigate Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "GoBack"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "GoBack Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "CloseTab"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Close Page Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "ClosePopup"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "useVision": {
                                  "type": "boolean"
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Close Popup Block Initializer",
                          "description": "Automatically close cookie consent and other popups using AI detection"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "If"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "condition": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "semantic": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "condition"
                              ]
                            },
                            "sequenceData": {
                              "type": "object",
                              "properties": {
                                "trueSequence": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/IfTrueNestedBlockInitializer"
                                  }
                                },
                                "falseSequence": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/IfFalseNestedBlockInitializer"
                                  }
                                }
                              },
                              "required": [
                                "trueSequence",
                                "falseSequence"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data",
                            "sequenceData"
                          ],
                          "title": "If"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "ExitFromLoop"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "condition": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "semantic": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "condition"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Exit From Loop"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Next"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "condition": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "semantic": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "condition"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Next"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "FailOnCondition"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "condition": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "message": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "code": {
                                  "$ref": "#/components/schemas/TextValue"
                                }
                              },
                              "required": [
                                "condition",
                                "message"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "FailOnCondition"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "FileUpload"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "fileId": {
                                  "type": "string"
                                },
                                "fileIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "useVision": {
                                  "type": "boolean"
                                },
                                "fromOrganizationFiles": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "fileId",
                                "prompt"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "FillDocument"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "fileId": {
                                  "type": "string",
                                  "description": "The ID of the file to fill"
                                },
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "The prompt describing what to fill in the document"
                                }
                              },
                              "required": [
                                "fileId",
                                "prompt"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "FillDocument",
                          "description": "A block that fills a document with specified content using AI"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Dropdown"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "Label or field description for the dropdown"
                                },
                                "value": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "The option text to select from the dropdown"
                                },
                                "useVision": {
                                  "type": "boolean",
                                  "description": "Use AI vision to identify and click the dropdown and option instead of selectors"
                                },
                                "multipleSelect": {
                                  "type": "boolean",
                                  "description": "Select multiple options from the dropdown"
                                }
                              },
                              "required": [
                                "key",
                                "value"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Dropdown"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Wait"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0.1,
                                  "maximum": 300
                                }
                              },
                              "required": [
                                "durationSeconds"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Wait Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "WaitForCondition"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "eventDescription": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "maxTimeoutSeconds": {
                                  "type": "number",
                                  "minimum": 1,
                                  "maximum": 3600,
                                  "default": 60
                                }
                              },
                              "required": [
                                "eventDescription"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "WaitForCondition Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "WaitForCaptchaSolve"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "timeoutSeconds": {
                                  "type": "number"
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Wait For Captcha Solve Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Press"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string",
                                  "enum": [
                                    "Escape",
                                    "Enter",
                                    "Return",
                                    "Tab",
                                    "Down",
                                    "Up",
                                    "Left",
                                    "Right"
                                  ],
                                  "description": "The keyboard key to press"
                                }
                              },
                              "required": [
                                "key"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Type"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "value": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "The text to type"
                                }
                              },
                              "required": [
                                "value"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "TriggerWorkflow"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "workflowExternalId": {
                                  "type": "string"
                                },
                                "parameters": {
                                  "type": "object",
                                  "additionalProperties": {}
                                }
                              },
                              "required": [
                                "workflowExternalId"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "DownloadFile"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "locationHint": {
                                  "$ref": "#/components/schemas/TextValue"
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Download File Block"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "SaveAsPdf"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "fileName": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "key": {
                                  "$ref": "#/components/schemas/TextValue"
                                }
                              }
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Save As PDF Block"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "CodeV2"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "function": {
                                  "type": "string"
                                },
                                "accumulatorKey": {
                                  "type": "string"
                                },
                                "accumulatorBlockName": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "function"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "CodeV2"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "QueryKnowledgeBase"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "knowledgeBaseIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "query": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "schema": {},
                                "model": {
                                  "type": "string",
                                  "enum": [
                                    "gpt-4.1-mini-2025-04-14",
                                    "gpt-4.1-2025-04-14",
                                    "gpt-5.1-2025-11-13",
                                    "gpt-5.4",
                                    "gpt-5.4-mini",
                                    "gpt-5.4-nano",
                                    "gpt-5.6-terra",
                                    "gpt-5.6-luna"
                                  ]
                                }
                              },
                              "required": [
                                "knowledgeBaseIds",
                                "query"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "QueryKnowledgeBase"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "Transform"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "json": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "The JSON template to evaluate with LiquidJS"
                                }
                              },
                              "required": [
                                "json"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Transform"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "ExtractFromFile"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue"
                                },
                                "schema": {},
                                "fileId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "fileId"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "ParseDocument"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "RefreshPage"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "RefreshPage Block Initializer"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "FillSpreadsheet"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "fileId": {
                                  "type": "string",
                                  "description": "The ID of the Excel file to fill"
                                },
                                "prompt": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "Optional additional instructions for the LLM when generating row data"
                                },
                                "fromOrganizationFiles": {
                                  "type": "boolean",
                                  "description": "Whether the file is selected from organization files (true) or from a parameter (false)"
                                }
                              },
                              "required": [
                                "fileId"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Fill Spreadsheet",
                          "description": "A block that reads an Excel file, extracts column headers from the second row, and uses an LLM to generate data for the third row"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "SendEmail"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "SendEmail",
                          "description": "A block that sends an email from the workflow with templated content and file attachments"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "WebSearch"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "query": {
                                  "$ref": "#/components/schemas/TextValue",
                                  "description": "The search query to execute"
                                }
                              },
                              "required": [
                                "query"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "Search and Navigate"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "blockReferenceId": {
                              "type": "string"
                            },
                            "type": {
                              "type": "string",
                              "const": "UnzipFile"
                            },
                            "locator": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/ElementLocator"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "isCacheable": {
                              "type": "boolean"
                            },
                            "skipIfNotPresent": {
                              "type": "boolean"
                            },
                            "useWorkflowRecoveryAgent": {
                              "type": "boolean"
                            },
                            "data": {
                              "type": "object",
                              "properties": {
                                "fileId": {
                                  "type": "string",
                                  "description": "The file ID of the zip file to extract"
                                },
                                "fromOrganizationFiles": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "fileId"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "blockReferenceId",
                            "type",
                            "isCacheable",
                            "skipIfNotPresent",
                            "useWorkflowRecoveryAgent",
                            "data"
                          ],
                          "title": "UnzipFile"
                        }
                      ]
                    },
                    "description": "Array of workflow block initializers to initialize the workflow with",
                    "example": [
                      {
                        "name": "navigate",
                        "type": "Navigate",
                        "blockReferenceId": "block_ref_example_123",
                        "data": {
                          "actionType": "GoTo",
                          "url": "https://example.com"
                        },
                        "isCacheable": false,
                        "skipIfNotPresent": false,
                        "useWorkflowRecoveryAgent": false
                      }
                    ]
                  },
                  "isAuthenticationRequired": {
                    "type": "boolean",
                    "description": "Whether authentication is required for this workflow (defaults to false)",
                    "example": false
                  },
                  "useProxy": {
                    "type": "boolean",
                    "description": "Whether to use proxy for this workflow (defaults to false)",
                    "example": false
                  },
                  "operatingSystem": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "Windows",
                      "MacOS",
                      "Linux"
                    ],
                    "description": "Operating system for browser sessions",
                    "example": "Windows"
                  },
                  "fingerprintBrowser": {
                    "type": "string",
                    "enum": [
                      "Chrome",
                      "Safari"
                    ],
                    "description": "Browser fingerprint to use for sessions",
                    "example": "Safari"
                  },
                  "isOptimizedForComputerVision": {
                    "type": "boolean",
                    "description": "Whether this workflow is optimized for computer vision blocks (uses specialized viewport and settings, defaults to true)",
                    "example": true
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "minimum": 0,
                    "description": "Timeout in milliseconds for workflow execution (defaults to 10800000ms / 3 hours)",
                    "example": 10800000
                  }
                },
                "required": [
                  "name"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Workflow created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Workflow"
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    },
    "/workflows/execute": {
      "post": {
        "summary": "Execute a workflow",
        "description": "Executes a workflow with the specified login and parameters",
        "tags": [
          "Workflows"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "workflowId": {
                    "type": "string",
                    "description": "ID of the workflow to execute. Either workflowId or workflowName must be provided."
                  },
                  "workflowName": {
                    "type": "string",
                    "description": "Name of the workflow to execute. If provided, the workflow will be looked up by name within the organization. Either workflowId or workflowName must be provided."
                  },
                  "loginId": {
                    "type": "string",
                    "description": "ID of the login to use for authentication"
                  },
                  "params": {
                    "type": "object",
                    "additionalProperties": {},
                    "description": "Runtime parameters for the workflow execution",
                    "example": {
                      "origin": "New York",
                      "destination": "Los Angeles"
                    }
                  },
                  "name": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "description": "Optional name for the execution (string or number, automatically converted to string)",
                    "examples": [
                      "User batch execution",
                      12345,
                      "Execution-001"
                    ]
                  },
                  "timeout": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "description": "Optional timeout in seconds for the execution (defaults to 10800 seconds / 3 hours)",
                    "example": 10800
                  },
                  "useProxy": {
                    "type": "boolean",
                    "description": "Whether to use a proxy for this execution",
                    "default": false
                  },
                  "startBlockId": {
                    "type": "string",
                    "description": "Optional ID of the block to start execution from",
                    "example": "1"
                  },
                  "batchId": {
                    "type": "string",
                    "description": "Optional ID of the execution batch to assign this execution to",
                    "example": "batch_123"
                  },
                  "isTest": {
                    "type": "boolean",
                    "description": "Whether this execution is a test run",
                    "default": false
                  },
                  "agentConversationThreadId": {
                    "type": "string",
                    "description": "Optional ID of an agent conversation thread to associate with this execution (used when duplicating executions that were triggered by an agent)"
                  }
                },
                "required": [
                  "params"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Workflow execution started successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "executionId": {
                      "type": "string",
                      "description": "ID of the created execution",
                      "example": "1"
                    },
                    "status": {
                      "type": "string",
                      "description": "Status of the execution",
                      "example": "Processing"
                    },
                    "message": {
                      "type": "string",
                      "description": "Message about the execution",
                      "example": "Workflow execution started successfully"
                    }
                  },
                  "required": [
                    "executionId",
                    "status",
                    "message"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Workflow or login not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message",
                      "example": "Workflow not found or does not belong to this organization"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/workflows/executeSync": {
      "post": {
        "summary": "Execute a workflow synchronously",
        "description": "Executes a workflow with the specified login and parameters and waits for completion",
        "tags": [
          "Workflows"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Object_workflowId_workflowName_loginId_56"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Workflow execution completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "execution": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Login_5"
                                },
                                {
                                  "$ref": "#/components/schemas/FormBlock_6"
                                },
                                {
                                  "$ref": "#/components/schemas/FillDocument_7"
                                },
                                {
                                  "$ref": "#/components/schemas/FillSpreadsheet_8"
                                },
                                {
                                  "$ref": "#/components/schemas/MouseBlock_9"
                                },
                                {
                                  "$ref": "#/components/schemas/HoverBlock_10"
                                },
                                {
                                  "$ref": "#/components/schemas/Search_11"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Union_12"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "$ref": "#/components/schemas/DateInput_15"
                                },
                                {
                                  "$ref": "#/components/schemas/Dropdown_16"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "$ref": "#/components/schemas/ParseDocument_19"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "$ref": "#/components/schemas/ExtractImages_22"
                                },
                                {
                                  "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_method_route_data_24"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "$ref": "#/components/schemas/Navigate_26"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePage_27"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePopup_28"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                },
                                {
                                  "$ref": "#/components/schemas/Wait_30"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCondition_31"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                },
                                {
                                  "$ref": "#/components/schemas/FailOnCondition_33"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                },
                                {
                                  "$ref": "#/components/schemas/DownloadFileBlock_39"
                                },
                                {
                                  "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                },
                                {
                                  "$ref": "#/components/schemas/CodeV2_41"
                                },
                                {
                                  "$ref": "#/components/schemas/Transform_42"
                                },
                                {
                                  "$ref": "#/components/schemas/ExitFromLoop_43"
                                },
                                {
                                  "$ref": "#/components/schemas/Next_44"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "$ref": "#/components/schemas/SearchandNavigate_47"
                                },
                                {
                                  "$ref": "#/components/schemas/UnzipFile_48"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Union_49"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "$ref": "#/components/schemas/If_51"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "durationMs": {
                              "type": "number",
                              "description": "Duration of the execution in milliseconds"
                            },
                            "endTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution completed (if finished)"
                            },
                            "response": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": {},
                              "description": "Response from the execution"
                            },
                            "truncatedResponse": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Preview of the response from the execution"
                            },
                            "responseFile": {
                              "$ref": "#/components/schemas/Schema_53"
                            },
                            "browserSessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the browser session used for execution"
                            },
                            "browserSessionVendorId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Vendor-specific session ID from the serverless browser provider"
                            },
                            "errorAnalysis": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                            },
                            "summary": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated summary of what happened during the execution, with links to block spans"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "Completed"
                              ]
                            },
                            "context": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": {},
                              "description": "Complete context of the execution, including intermediate results, workflow state, and any additional metadata gathered during execution"
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "durationMs",
                            "endTime",
                            "response",
                            "truncatedResponse",
                            "responseFile",
                            "browserSessionId",
                            "browserSessionVendorId",
                            "errorAnalysis",
                            "summary",
                            "status",
                            "context"
                          ],
                          "title": "Completed Execution",
                          "description": "Recording of a successfully completed workflow execution"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Unique identifier for the execution"
                            },
                            "workflow": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the workflow being executed"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the workflow being executed"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ]
                            },
                            "batch": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "ID of the execution batch"
                                },
                                "name": {
                                  "type": "string",
                                  "description": "Name of the execution batch"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "description": "Batch information if execution is part of a batch"
                            },
                            "logins": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the login used for execution"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the login used for execution"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              }
                            },
                            "authentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Union_1"
                              },
                              "description": "Authentication responses for this execution"
                            },
                            "startTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution started"
                            },
                            "params": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution parameters"
                            },
                            "metadata": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Execution metadata"
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Execution name"
                            },
                            "startBlock": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/Login_5"
                                },
                                {
                                  "$ref": "#/components/schemas/FormBlock_6"
                                },
                                {
                                  "$ref": "#/components/schemas/FillDocument_7"
                                },
                                {
                                  "$ref": "#/components/schemas/FillSpreadsheet_8"
                                },
                                {
                                  "$ref": "#/components/schemas/MouseBlock_9"
                                },
                                {
                                  "$ref": "#/components/schemas/HoverBlock_10"
                                },
                                {
                                  "$ref": "#/components/schemas/Search_11"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Input"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/Union_12"
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "SensitiveTextInput"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Dropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "NativeDropdown"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "mode": {
                                              "type": "string",
                                              "enum": [
                                                "code",
                                                "aiInference"
                                              ]
                                            },
                                            "useVision": {
                                              "type": "boolean"
                                            },
                                            "inputType": {
                                              "type": "string",
                                              "const": "Checkbox"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "inputType",
                                            "value"
                                          ]
                                        }
                                      ]
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Input"
                                },
                                {
                                  "$ref": "#/components/schemas/DateInput_15"
                                },
                                {
                                  "$ref": "#/components/schemas/Dropdown_16"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "Extract"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_prompt_schema_useVision_17"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Extract"
                                },
                                {
                                  "$ref": "#/components/schemas/ParseDocument_19"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "ExtractFromInput"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_inputText_prompt_schema_20"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "Generate"
                                },
                                {
                                  "$ref": "#/components/schemas/ExtractImages_22"
                                },
                                {
                                  "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "API"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_method_route_data_24"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "API"
                                },
                                {
                                  "$ref": "#/components/schemas/Navigate_26"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePage_27"
                                },
                                {
                                  "$ref": "#/components/schemas/ClosePopup_28"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                },
                                {
                                  "$ref": "#/components/schemas/Wait_30"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCondition_31"
                                },
                                {
                                  "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                },
                                {
                                  "$ref": "#/components/schemas/FailOnCondition_33"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                },
                                {
                                  "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                },
                                {
                                  "$ref": "#/components/schemas/DownloadFileBlock_39"
                                },
                                {
                                  "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                },
                                {
                                  "$ref": "#/components/schemas/CodeV2_41"
                                },
                                {
                                  "$ref": "#/components/schemas/Transform_42"
                                },
                                {
                                  "$ref": "#/components/schemas/ExitFromLoop_43"
                                },
                                {
                                  "$ref": "#/components/schemas/Next_44"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "SendEmail"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship"
                                  ],
                                  "title": "SendEmail",
                                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                                },
                                {
                                  "$ref": "#/components/schemas/SearchandNavigate_47"
                                },
                                {
                                  "$ref": "#/components/schemas/UnzipFile_48"
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "blockReferenceId": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "LoopV2"
                                    },
                                    "locator": {
                                      "oneOf": [
                                        {
                                          "$ref": "#/components/schemas/ElementLocator"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "isCacheable": {
                                      "type": "boolean"
                                    },
                                    "skipIfNotPresent": {
                                      "type": "boolean"
                                    },
                                    "useWorkflowRecoveryAgent": {
                                      "type": "boolean"
                                    },
                                    "data": {
                                      "$ref": "#/components/schemas/Union_49"
                                    },
                                    "parentRelationship": {
                                      "type": "object",
                                      "properties": {
                                        "blockDepth": {
                                          "type": "number"
                                        },
                                        "positionInSequence": {
                                          "type": "number"
                                        },
                                        "parentBlockId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "parentSequenceId": {
                                          "type": [
                                            "string",
                                            "null"
                                          ],
                                          "enum": [
                                            "sequence",
                                            "trueSequence",
                                            "falseSequence"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "blockDepth",
                                        "positionInSequence",
                                        "parentBlockId",
                                        "parentSequenceId"
                                      ]
                                    },
                                    "sequenceData": {
                                      "type": "object",
                                      "properties": {
                                        "sequence": {
                                          "type": "array",
                                          "items": {
                                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                          },
                                          "description": "Sequence of blocks within the loop"
                                        }
                                      },
                                      "required": [
                                        "sequence"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name",
                                    "blockReferenceId",
                                    "type",
                                    "isCacheable",
                                    "skipIfNotPresent",
                                    "useWorkflowRecoveryAgent",
                                    "data",
                                    "parentRelationship",
                                    "sequenceData"
                                  ],
                                  "title": "Loop"
                                },
                                {
                                  "$ref": "#/components/schemas/If_51"
                                },
                                {
                                  "type": "null"
                                }
                              ],
                              "description": "The block where execution started, if specified"
                            },
                            "downloads": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "enum": [
                                    "pending",
                                    "in_progress",
                                    "success",
                                    "failed"
                                  ]
                                },
                                "files": {
                                  "type": "array",
                                  "items": {
                                    "$ref": "#/components/schemas/FileInfo"
                                  }
                                },
                                "message": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "status",
                                "files"
                              ],
                              "description": "File downloads from the execution"
                            },
                            "contextAuthentications": {
                              "type": "array",
                              "items": {
                                "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                              },
                              "description": "Session authentication responses with login summary for this execution"
                            },
                            "parentExecutionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the parent execution that triggered this execution"
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the session associated with this execution"
                            },
                            "agentConversationThreadId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                            },
                            "attempts": {
                              "type": "number",
                              "description": "Number of times this execution has been attempted (including retries)"
                            },
                            "totalAttempts": {
                              "type": "number",
                              "description": "Total number of attempts allowed for this execution (initial + retries)"
                            },
                            "isLastAttempt": {
                              "type": "boolean",
                              "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                            },
                            "isTest": {
                              "type": "boolean",
                              "description": "Whether this execution is a test run"
                            },
                            "durationMs": {
                              "type": "number",
                              "description": "Duration of the execution in milliseconds"
                            },
                            "endTime": {
                              "type": "string",
                              "format": "date-time",
                              "description": "When the execution completed (if finished)"
                            },
                            "response": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": {},
                              "description": "Response from the execution"
                            },
                            "truncatedResponse": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Preview of the response from the execution"
                            },
                            "responseFile": {
                              "$ref": "#/components/schemas/Schema_53"
                            },
                            "browserSessionId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "ID of the browser session used for execution"
                            },
                            "browserSessionVendorId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "Vendor-specific session ID from the serverless browser provider"
                            },
                            "errorAnalysis": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                            },
                            "summary": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "AI-generated summary of what happened during the execution, with links to block spans"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "Failed"
                              ]
                            },
                            "context": {
                              "type": "null",
                              "description": "Context is not available for failed executions"
                            },
                            "error": {
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "description": "Error code identifying the type of failure"
                                },
                                "message": {
                                  "type": "string",
                                  "description": "Detailed error message describing the failure"
                                }
                              },
                              "required": [
                                "code",
                                "message"
                              ],
                              "description": "Error details for the failed execution"
                            }
                          },
                          "required": [
                            "id",
                            "workflow",
                            "batch",
                            "logins",
                            "authentications",
                            "startTime",
                            "params",
                            "metadata",
                            "name",
                            "startBlock",
                            "contextAuthentications",
                            "sessionId",
                            "agentConversationThreadId",
                            "attempts",
                            "totalAttempts",
                            "isLastAttempt",
                            "isTest",
                            "durationMs",
                            "endTime",
                            "response",
                            "truncatedResponse",
                            "responseFile",
                            "browserSessionId",
                            "browserSessionVendorId",
                            "errorAnalysis",
                            "summary",
                            "status",
                            "context",
                            "error"
                          ],
                          "title": "Failed Execution",
                          "description": "Recording of a failed workflow execution"
                        }
                      ]
                    }
                  },
                  "required": [
                    "execution"
                  ],
                  "description": "Synchronous workflow execution result with finished execution data"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Workflow or login not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message",
                      "example": "Workflow not found or does not belong to this organization"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/workflows/update": {
      "post": {
        "summary": "Update a workflow",
        "description": "Updates workflow fields like name and authentication requirement",
        "tags": [
          "Workflows"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "workflowId": {
                    "type": "string",
                    "description": "ID of the workflow to update"
                  },
                  "name": {
                    "type": "string",
                    "description": "New name for the workflow",
                    "example": "Updated Workflow Name"
                  },
                  "isAuthenticationRequired": {
                    "type": "boolean",
                    "description": "Whether authentication is required for this workflow",
                    "example": false
                  },
                  "autoSaveEnabled": {
                    "type": "boolean",
                    "description": "Whether auto-save is enabled for this workflow",
                    "example": true
                  },
                  "timeoutMs": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "exclusiveMinimum": 0,
                    "description": "Timeout in milliseconds for workflow execution",
                    "example": 3600000
                  },
                  "shouldPauseOnError": {
                    "type": "boolean",
                    "description": "Whether to pause workflow execution on error",
                    "example": false
                  },
                  "shouldSelfHeal": {
                    "type": "boolean",
                    "description": "Whether to automatically clean up cache when workflow execution fails",
                    "example": true
                  },
                  "shouldSaveResultFile": {
                    "type": "boolean",
                    "description": "Whether to save result files for this workflow",
                    "example": false
                  },
                  "model": {
                    "oneOf": [
                      {
                        "type": "string",
                        "enum": [
                          "gpt-4.1-mini-2025-04-14",
                          "gpt-4.1-2025-04-14",
                          "gpt-5.1-2025-11-13",
                          "gpt-5.4",
                          "gpt-5.4-mini",
                          "gpt-5.4-nano",
                          "gpt-5.6-terra",
                          "gpt-5.6-luna"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "gemini-2.5-computer-use-preview-10-2025",
                          "gemini-3.1-pro-preview",
                          "gemini-3.1-flash-lite",
                          "gemini-3.5-flash",
                          "gemini-3.7-flash"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "claude-haiku-4-5",
                          "claude-sonnet-4-5",
                          "claude-sonnet-4-6",
                          "claude-opus-4-6",
                          "claude-sonnet-5"
                        ]
                      }
                    ],
                    "description": "The LLM model to use for this workflow",
                    "example": "gpt-4.1-2025-04-14"
                  },
                  "webhooks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Workflow webhook URL external ID. Required for updates, omitted for new webhooks."
                        },
                        "url": {
                          "type": "string",
                          "format": "uri",
                          "description": "Webhook URL"
                        }
                      },
                      "required": [
                        "url"
                      ]
                    },
                    "description": "List of webhooks to receive notifications when this workflow completes. Use id for updates/deletes, omit for creates.",
                    "example": [
                      {
                        "id": "workflow_webhook_url_01h2x3y4z5a6b7c8d9e0f1g2h3",
                        "url": "https://example.com/webhook1"
                      },
                      {
                        "url": "https://example.com/webhook2"
                      }
                    ]
                  },
                  "useProxy": {
                    "type": "boolean",
                    "description": "Whether to use proxy for this workflow",
                    "example": false
                  },
                  "operatingSystem": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "Windows",
                      "MacOS",
                      "Linux"
                    ],
                    "description": "Operating system for browser sessions",
                    "example": "Windows"
                  },
                  "fingerprintBrowser": {
                    "type": "string",
                    "enum": [
                      "Chrome",
                      "Safari"
                    ],
                    "description": "Browser fingerprint to use for sessions",
                    "example": "Safari"
                  },
                  "maxConcurrentSessions": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "exclusiveMinimum": 0,
                    "description": "Maximum concurrent executions for this workflow",
                    "example": 10
                  },
                  "useLoginDetection": {
                    "type": "boolean",
                    "description": "Whether to use login detection for this workflow",
                    "example": true
                  },
                  "retryConfiguration": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "delay": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "description": "Retry delay in milliseconds",
                        "example": 1000
                      },
                      "retryCount": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "Number of retries to attempt",
                        "example": 3
                      }
                    },
                    "required": [
                      "delay",
                      "retryCount"
                    ],
                    "description": "Retry configuration for failed blocks. Set to null to remove retries."
                  },
                  "blockRetryCount": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "minimum": 0,
                    "description": "Number of retries for failed blocks",
                    "example": 3
                  },
                  "blockBackoffStrategy": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "exponential",
                      "linear"
                    ],
                    "description": "Backoff strategy for block retries",
                    "example": "exponential"
                  },
                  "isOptimizedForComputerVision": {
                    "type": "boolean",
                    "description": "Whether this workflow is optimized for computer vision blocks (uses specialized viewport and settings)",
                    "example": true
                  },
                  "waitBetweenBlocksMs": {
                    "type": "integer",
                    "minimum": 0,
                    "description": "Wait time in milliseconds between executing each block",
                    "example": 1000
                  },
                  "tagIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of tag external IDs to associate with this workflow",
                    "example": [
                      "tag_01h2x3y4z5a6b7c8d9e0f1g2h3",
                      "tag_01h2x3y4z5a6b7c8d9e0f1g2h4"
                    ]
                  },
                  "workflowGroupId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "External ID of the workflow group to assign this workflow to. Set to null to remove from any group.",
                    "example": "workflow_group_01h2x3y4z5a6b7c8d9e0f1g2h3"
                  },
                  "useRecoveryAgent": {
                    "type": "boolean",
                    "description": "Whether to enable the recovery agent for all blocks in this workflow. When enabled, all blocks will use the recovery agent regardless of their individual settings.",
                    "example": false
                  },
                  "executionMode": {
                    "type": "string",
                    "enum": [
                      "standard",
                      "structured"
                    ],
                    "description": "Execution mode for this workflow. \"standard\" is the default, \"structured\" is experimental visual mode.",
                    "example": "standard"
                  },
                  "executeInAgentMode": {
                    "type": "boolean",
                    "description": "Whether this workflow should execute in agent mode instead of traditional block-based execution.",
                    "example": false
                  },
                  "agentModeKaizenVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "Full",
                      "Lite",
                      "Open",
                      "Flash",
                      "Fast",
                      "Amethyst"
                    ],
                    "description": "Kaizen mode used when this workflow executes in agent mode. Set to null to use the organization default.",
                    "example": "Full"
                  },
                  "agentModeSummarySchema": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {},
                    "description": "JSON Schema that defines the structure of the execution summary when running in agent mode. Set to null to remove."
                  }
                },
                "required": [
                  "workflowId"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Workflow updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID of the updated workflow"
                    },
                    "name": {
                      "type": "string",
                      "description": "Updated name of the workflow"
                    },
                    "isAuthenticationRequired": {
                      "type": "boolean",
                      "description": "Whether authentication is required for this workflow"
                    },
                    "autoSaveEnabled": {
                      "type": "boolean",
                      "description": "Whether auto-save is enabled for this workflow"
                    },
                    "timeoutMs": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "Timeout in milliseconds for workflow execution",
                      "example": 3600000
                    },
                    "shouldPauseOnError": {
                      "type": "boolean",
                      "description": "Whether to pause workflow execution on error",
                      "example": false
                    },
                    "shouldSelfHeal": {
                      "type": "boolean",
                      "description": "Whether to automatically clean up cache when workflow execution fails",
                      "example": true
                    },
                    "shouldSaveResultFile": {
                      "type": "boolean",
                      "description": "Whether to save result files for this workflow",
                      "example": false
                    },
                    "maxConcurrentSessions": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "exclusiveMinimum": 0,
                      "description": "Maximum concurrent executions for this workflow",
                      "example": 10
                    },
                    "model": {
                      "oneOf": [
                        {
                          "type": "string",
                          "enum": [
                            "gpt-4.1-mini-2025-04-14",
                            "gpt-4.1-2025-04-14",
                            "gpt-5.1-2025-11-13",
                            "gpt-5.4",
                            "gpt-5.4-mini",
                            "gpt-5.4-nano",
                            "gpt-5.6-terra",
                            "gpt-5.6-luna"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "gemini-2.5-computer-use-preview-10-2025",
                            "gemini-3.1-pro-preview",
                            "gemini-3.1-flash-lite",
                            "gemini-3.5-flash",
                            "gemini-3.7-flash"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "claude-haiku-4-5",
                            "claude-sonnet-4-5",
                            "claude-sonnet-4-6",
                            "claude-opus-4-6",
                            "claude-sonnet-5"
                          ]
                        }
                      ],
                      "description": "The LLM model used for this workflow"
                    },
                    "useProxy": {
                      "type": "boolean",
                      "description": "Whether to use proxy for this workflow",
                      "example": false
                    },
                    "useLoginDetection": {
                      "type": "boolean",
                      "description": "Whether to use login detection for this workflow",
                      "example": true
                    },
                    "operatingSystem": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "Windows",
                        "MacOS",
                        "Linux"
                      ],
                      "description": "Operating system for browser sessions",
                      "example": "Windows"
                    },
                    "fingerprintBrowser": {
                      "type": "string",
                      "enum": [
                        "Chrome",
                        "Safari"
                      ],
                      "description": "Browser fingerprint to use for sessions",
                      "example": "Safari"
                    },
                    "blockRetryCount": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "minimum": 0,
                      "description": "Number of retries for failed blocks",
                      "example": 3
                    },
                    "blockBackoffStrategy": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "exponential",
                        "linear"
                      ],
                      "description": "Backoff strategy for block retries",
                      "example": "exponential"
                    },
                    "isOptimizedForComputerVision": {
                      "type": "boolean",
                      "description": "Whether this workflow is optimized for computer vision blocks (uses specialized viewport and settings)",
                      "example": true
                    },
                    "waitBetweenBlocksMs": {
                      "type": "integer",
                      "minimum": 0,
                      "description": "Wait time in milliseconds between executing each block",
                      "example": 1000
                    },
                    "useRecoveryAgent": {
                      "type": "boolean",
                      "description": "Whether to enable the recovery agent for all blocks in this workflow. When enabled, all blocks will use the recovery agent regardless of their individual settings.",
                      "example": false
                    },
                    "executionMode": {
                      "type": "string",
                      "enum": [
                        "standard",
                        "structured"
                      ],
                      "description": "Execution mode for this workflow. \"standard\" is the default, \"structured\" is experimental visual mode.",
                      "example": "standard"
                    },
                    "executeInAgentMode": {
                      "type": "boolean",
                      "description": "Whether this workflow should execute in agent mode instead of traditional block-based execution.",
                      "example": false
                    },
                    "agentModeKaizenVersion": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "Full",
                        "Lite",
                        "Open",
                        "Flash",
                        "Fast",
                        "Amethyst"
                      ],
                      "description": "Kaizen mode used when this workflow executes in agent mode. Null uses the organization default.",
                      "example": "Full"
                    },
                    "agentModeSummarySchema": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {},
                      "description": "JSON Schema that defines the structure of the execution summary when running in agent mode."
                    },
                    "message": {
                      "type": "string",
                      "description": "Success message",
                      "example": "Workflow updated successfully"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "isAuthenticationRequired",
                    "autoSaveEnabled",
                    "model",
                    "agentModeKaizenVersion",
                    "message"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Workflow not found"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    },
    "/workflows/executeBatch": {
      "post": {
        "summary": "Execute multiple workflows in a batch",
        "description": "Creates a batch execution with multiple workflow executions",
        "tags": [
          "Workflows"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Name for the execution batch",
                    "example": "Monthly Report Generation"
                  },
                  "executions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "workflowId": {
                          "type": "string",
                          "description": "ID of the workflow to execute. Either workflowId or workflowName must be provided."
                        },
                        "workflowName": {
                          "type": "string",
                          "description": "Name of the workflow to execute. If provided, the workflow will be looked up by name within the organization. Either workflowId or workflowName must be provided."
                        },
                        "loginId": {
                          "type": "string",
                          "description": "ID of the login to use for authentication"
                        },
                        "params": {
                          "type": "object",
                          "additionalProperties": {},
                          "description": "Runtime parameters for the workflow execution",
                          "example": {
                            "origin": "New York",
                            "destination": "Los Angeles"
                          }
                        },
                        "name": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "description": "Optional name for the execution (string or number, automatically converted to string)",
                          "examples": [
                            "User batch execution",
                            12345,
                            "Execution-001"
                          ]
                        },
                        "timeout": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "description": "Optional timeout in seconds for the execution (defaults to 10800 seconds / 3 hours)",
                          "example": 10800
                        },
                        "useProxy": {
                          "type": "boolean",
                          "description": "Whether to use a proxy for this execution",
                          "default": false
                        },
                        "startBlockId": {
                          "type": "string",
                          "description": "Optional ID of the block to start execution from",
                          "example": "1"
                        },
                        "isTest": {
                          "type": "boolean",
                          "description": "Whether this execution is a test run",
                          "default": false
                        },
                        "agentConversationThreadId": {
                          "type": "string",
                          "description": "Optional ID of an agent conversation thread to associate with this execution (used when duplicating executions that were triggered by an agent)"
                        }
                      },
                      "required": [
                        "params"
                      ]
                    },
                    "description": "Array of workflow execution parameters. Each execution must specify its own workflowId."
                  }
                },
                "required": [
                  "name",
                  "executions"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Batch execution started successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "batchId": {
                      "type": "string",
                      "description": "ID of the created execution batch",
                      "example": "batch_123"
                    },
                    "executionIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Array of created execution IDs"
                    },
                    "message": {
                      "type": "string",
                      "description": "Success message",
                      "example": "Batch execution started successfully"
                    }
                  },
                  "required": [
                    "batchId",
                    "executionIds",
                    "message"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message",
                      "example": "Failed to execute batch workflows"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/instructor/executions/runBlock": {
      "post": {
        "summary": "Run single block",
        "description": "Executes a single block by ID or name within an instructor execution context. Provide either blockId or blockName to identify the block.",
        "tags": [
          "Instructor"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "blockId": {
                    "type": "string",
                    "description": "ID of the block to execute"
                  },
                  "blockName": {
                    "type": "string",
                    "description": "Name of the block to execute"
                  },
                  "params": {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  "instructorExecutionId": {
                    "type": "string",
                    "description": "ID of the instructor execution context"
                  }
                },
                "required": [
                  "params",
                  "instructorExecutionId"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Block executed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "description": "Result of the block execution"
                    },
                    "sessionContext": {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    "sessionContextTimestamp": {
                      "type": "number",
                      "description": "Context capture time (UNIX timestamp)"
                    }
                  },
                  "required": [
                    "sessionContext",
                    "sessionContextTimestamp"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Block or execution not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/files/get": {
      "post": {
        "summary": "Get file",
        "description": "Retrieves a single file by ID for the current organization",
        "tags": [
          "Files"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "ID of the file to retrieve"
                  }
                },
                "required": [
                  "id"
                ],
                "description": "Request to get a single file"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "File retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier for the file"
                    },
                    "name": {
                      "type": "string",
                      "description": "Name of the file"
                    },
                    "mimeType": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "MIME type of the file"
                    },
                    "sizeBytes": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Size of the file in bytes"
                    },
                    "downloadUrl": {
                      "type": "string",
                      "description": "URL to download the file"
                    },
                    "key": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Key identifier for the file (for example, a key provided when completing a download for the file)."
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "mimeType",
                    "sizeBytes",
                    "downloadUrl",
                    "key"
                  ],
                  "description": "File details with download URL"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "File not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/files/create": {
      "post": {
        "summary": "Create a file",
        "description": "Upload a file using multipart/form-data.",
        "tags": [
          "Files"
        ],
        "requestBody": {
          "description": "File upload with optional name",
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The file to upload"
                  },
                  "name": {
                    "type": "string",
                    "description": "Optional name for the file. If not provided, will use the original filename."
                  }
                },
                "required": [
                  "file"
                ],
                "description": "File upload with optional name"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "File uploaded successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileInfo",
                  "description": "Created file information"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request - file is required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/agents/session/getFileArchiveUrl": {
      "post": {
        "summary": "Get session archive download URL",
        "description": "Returns a signed download URL for the completed file archive associated with a session.",
        "tags": [
          "Agents"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sessionId": {
                    "type": "string",
                    "description": "ID of the session returned from /agents/execute whose archive should be downloaded"
                  }
                },
                "required": [
                  "sessionId"
                ],
                "description": "Request parameters for getting a signed download URL for a completed session file archive"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Session archive download URL retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "downloadUrl": {
                      "type": "string",
                      "description": "Signed download URL for the completed session file archive"
                    }
                  },
                  "required": [
                    "downloadUrl"
                  ],
                  "description": "Response containing a signed download URL for the completed session file archive"
                }
              }
            }
          },
          "404": {
            "description": "Session or session archive not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "409": {
            "description": "Session archive exists but is not ready for download yet",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/agents/execute": {
      "post": {
        "summary": "Execute agent",
        "description": "Executes an agent with optional content.",
        "tags": [
          "Agents"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "agentId": {
                    "type": "string",
                    "description": "Optional - the backend will automatically get or create an agent."
                  },
                  "queueId": {
                    "type": "string",
                    "description": "Optional queue ID. When provided, the execution is enqueued onto that queue: it is admitted against the queue concurrency limit (starting immediately or waiting in line), prefixed with the queue default message, and runs on the queue Kaizen version. When omitted, the execution starts immediately under the organization concurrency limit. When set and no agentId is given, the agent is resolved from the queue (the agent already running work on it, else the organization most recent agent)."
                  },
                  "content": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "text"
                            },
                            "text": {
                              "type": "string",
                              "description": "Text content"
                            }
                          },
                          "required": [
                            "type",
                            "text"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "file"
                            },
                            "id": {
                              "type": "string",
                              "description": "External file ID referencing a previously uploaded file."
                            }
                          },
                          "required": [
                            "type",
                            "id"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "skill"
                            },
                            "id": {
                              "type": "string",
                              "description": "ID of the skill to use (the agent_fs_node external ID). The skill content will be read and injected into the initial user prompt."
                            }
                          },
                          "required": [
                            "type",
                            "id"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "login"
                            },
                            "id": {
                              "type": "string",
                              "description": "ID of a login to pin to this execution. The login is validated against the organization and injected into the initial prompt so the agent uses it without having to search for credentials."
                            }
                          },
                          "required": [
                            "type",
                            "id"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "json"
                            },
                            "data": {
                              "type": "object",
                              "additionalProperties": {},
                              "description": "Structured JSON data as key-value pairs. Rendered as a table in the UI and persisted as input.json in the session folder."
                            }
                          },
                          "required": [
                            "type",
                            "data"
                          ]
                        }
                      ]
                    },
                    "description": "Optional content array. If provided, this will be used as the initial message. Each item must have a `type` field with one of the following values:\n\n- `text` — Plain text content. Requires a `text` string field.\n- `file` — A previously uploaded file. Requires an `id` string field with the file external ID.\n- `skill` — A skill to inject into the prompt. Requires an `id` string field with the agent_fs_node external ID.\n- `login` — A login to pin to this execution. Requires an `id` string field with the login ID. The login is validated against the organization and injected into the initial prompt so the agent uses it without searching for credentials.\n- `json` — Structured key-value data. Requires a `data` object field. Rendered as a table in the UI and persisted as input.json."
                  },
                  "archiveSessionFiles": {
                    "type": "boolean",
                    "description": "When true, request a background archive of the thread session files after the execution reaches a terminal state.",
                    "default": false
                  },
                  "summarySchema": {
                    "type": "object",
                    "additionalProperties": {},
                    "description": "Optional JSON Schema for per-execution summary extraction. Overrides the agent-level result schema for this execution only."
                  },
                  "kaizenVersion": {
                    "type": "string",
                    "enum": [
                      "Full",
                      "Lite"
                    ],
                    "description": "Kaizen version tier to use for this execution. Determines the default model based on your organization’s model alias configuration for the selected tier.\n\n- `Full` — Uses the model configured for Kaizen Full (typically a frontier model).\n- `Lite` — Uses the model configured for Kaizen Lite (typically a smaller, faster model).\n\nWhen not provided, the organization’s default Kaizen version is used."
                  },
                  "enableComputerUse": {
                    "type": "boolean",
                    "description": "Whether the computer-use tool is available for this execution. When false, computer use is disabled even if the org-level flag is on. When omitted, the org-level flag applies."
                  },
                  "networkPolicy": {
                    "type": "object",
                    "properties": {
                      "staticIpId": {
                        "type": "string",
                        "description": "ID of a static IP to route this execution through. The execution is pinned to that IP and proxy usage is forced. Must be an active static IP available to your organization."
                      }
                    },
                    "description": "Network settings for the execution browser session."
                  }
                },
                "description": "Request parameters for executing an agent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Agent execution started successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "sessionId": {
                      "type": "string",
                      "description": "ID of the session started for this execution"
                    },
                    "executionId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ID of the execution, or null when the work was enqueued onto a queue (a queued execution has no standalone execution record)."
                    },
                    "status": {
                      "type": "string",
                      "description": "Current status of the execution. When enqueued onto a queue, this is InProgress when it started immediately or WaitingInLine when the queue was at capacity."
                    }
                  },
                  "required": [
                    "sessionId",
                    "executionId",
                    "status"
                  ],
                  "description": "Response after starting agent execution"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "The supplied queueId or agentId could not be resolved for the organization, or no agent could be resolved for the queue. Codes: AGENT_QUEUE_NOT_FOUND, QUEUE_AGENT_NOT_FOUND, QUEUE_HAS_NO_RESOLVABLE_AGENT.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "const": false,
                      "description": "Always false for an error response.",
                      "example": false
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "AGENT_QUEUE_NOT_FOUND",
                            "QUEUE_AGENT_NOT_FOUND",
                            "QUEUE_HAS_NO_RESOLVABLE_AGENT",
                            "AGENT_SESSION_NOT_FOUND",
                            "AGENT_SESSION_NOT_PAUSABLE"
                          ],
                          "description": "Machine-readable error code. `AGENT_QUEUE_NOT_FOUND`: the queueId does not exist. `QUEUE_AGENT_NOT_FOUND`: the supplied agentId does not exist. `QUEUE_HAS_NO_RESOLVABLE_AGENT`: no agentId was supplied and no agent could be resolved for the queue. `AGENT_SESSION_NOT_FOUND`: the sessionId does not exist. `AGENT_SESSION_NOT_PAUSABLE`: the session has already finished, so there is nothing to pause.",
                          "example": "AGENT_QUEUE_NOT_FOUND"
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable description of what went wrong.",
                          "example": "Agent queue not found: 'agent_queue_123'. Verify the queueId is correct."
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ],
                      "description": "Error details."
                    }
                  },
                  "required": [
                    "success",
                    "error"
                  ],
                  "description": "Error response returned by agent-queue endpoints."
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/agents/sessions/get": {
      "post": {
        "summary": "Get session",
        "description": "Reads the state of a session started by POST /agents/execute: whether it is running, waiting in line, or finished, where it sits in its queue, and how much work that queue is holding. Cheap enough to poll while waiting for enqueued work to start.",
        "tags": [
          "Agents"
        ],
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -X POST https://api.kaizenautomation.com/agents/sessions/get \\\n  -H \"Authorization: Bearer YOUR_KAIZEN_API_KEY_HERE\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"sessionId\": \"YOUR_SESSION_ID_HERE\"\n  }'"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sessionId": {
                    "type": "string",
                    "description": "The ID of the session, as returned by POST /agents/execute",
                    "example": "agent_conversation_thread_01k1v4m0000000000000000000"
                  }
                },
                "required": [
                  "sessionId"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The session",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "sessionId": {
                      "type": "string",
                      "description": "The ID of the session, as returned by POST /agents/execute",
                      "example": "agent_conversation_thread_01k1v4m0000000000000000000"
                    },
                    "agentId": {
                      "type": "string",
                      "description": "The ID of the agent running the session"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "Pending",
                        "InProgress",
                        "Completed",
                        "Failed",
                        "Paused",
                        "WaitingInLine",
                        "Sleeping"
                      ],
                      "description": "Lifecycle status of the session",
                      "example": "WaitingInLine"
                    },
                    "queuePositionInLine": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "Place in the waiting line while the status is WaitingInLine (1 = next to run). Null once the session has started, and for sessions that never waited"
                    },
                    "queue": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "queueId": {
                          "type": "string",
                          "description": "The ID of the queue the session was enqueued onto"
                        },
                        "name": {
                          "type": "string",
                          "description": "Name of the queue"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "active",
                            "paused"
                          ],
                          "description": "Whether the queue dispatches work. A paused queue holds waiting threads until resumed."
                        },
                        "waitingCount": {
                          "type": "integer",
                          "description": "How many of the queue’s sessions are waiting in line to start"
                        },
                        "inProgressCount": {
                          "type": "integer",
                          "description": "How many of the queue’s sessions are running right now"
                        },
                        "oldestWaitingEnqueuedAt": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "When the session that has been waiting longest was enqueued, or null when nothing is waiting"
                        }
                      },
                      "required": [
                        "queueId",
                        "name",
                        "status",
                        "waitingCount",
                        "inProgressCount",
                        "oldestWaitingEnqueuedAt"
                      ],
                      "description": "The queue gating the session, if any"
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "When the session was created, as an ISO 8601 timestamp"
                    },
                    "statusLastUpdatedAt": {
                      "type": "string",
                      "description": "When the session last changed status, as an ISO 8601 timestamp"
                    }
                  },
                  "required": [
                    "sessionId",
                    "agentId",
                    "status",
                    "queuePositionInLine",
                    "queue",
                    "createdAt",
                    "statusLastUpdatedAt"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "The session does not exist. Code: AGENT_SESSION_NOT_FOUND.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "const": false,
                      "description": "Always false for an error response.",
                      "example": false
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "$ref": "#/components/schemas/Schema_57"
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable description of what went wrong.",
                          "example": "Agent queue not found: 'agent_queue_123'. Verify the queueId is correct."
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ],
                      "description": "Error details."
                    }
                  },
                  "required": [
                    "success",
                    "error"
                  ],
                  "description": "Error response returned by agent-queue endpoints."
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    },
    "/agents/sessions/pause": {
      "post": {
        "summary": "Pause session",
        "description": "Pauses a session, whether it has started or not. A session that is running stops where it is and hands back the slot it was holding, so the next session in line can start; a session still waiting in line leaves the line. Either way it ends up Paused, and can be picked back up by sending it another message. Pausing a session that is already paused does nothing.",
        "tags": [
          "Agents"
        ],
        "x-codeSamples": [
          {
            "lang": "cURL",
            "source": "curl -X POST https://api.kaizenautomation.com/agents/sessions/pause \\\n  -H \"Authorization: Bearer YOUR_KAIZEN_API_KEY_HERE\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"sessionId\": \"YOUR_SESSION_ID_HERE\"\n  }'"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sessionId": {
                    "type": "string",
                    "description": "The ID of the session, as returned by POST /agents/execute",
                    "example": "agent_conversation_thread_01k1v4m0000000000000000000"
                  }
                },
                "required": [
                  "sessionId"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The session is paused",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "sessionId": {
                      "type": "string",
                      "description": "The ID of the session, as returned by POST /agents/execute",
                      "example": "agent_conversation_thread_01k1v4m0000000000000000000"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "Pending",
                        "InProgress",
                        "Completed",
                        "Failed",
                        "Paused",
                        "WaitingInLine",
                        "Sleeping"
                      ],
                      "description": "Lifecycle status of the session after the pause",
                      "example": "Paused"
                    },
                    "queueId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The ID of the queue the session was on, if it was enqueued onto one"
                    },
                    "pausedSessionCount": {
                      "type": "integer",
                      "description": "How many sessions were paused: the session itself plus any child sessions it started"
                    }
                  },
                  "required": [
                    "sessionId",
                    "status",
                    "queueId",
                    "pausedSessionCount"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "The session does not exist. Code: AGENT_SESSION_NOT_FOUND.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "const": false,
                      "description": "Always false for an error response.",
                      "example": false
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "$ref": "#/components/schemas/Schema_57"
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable description of what went wrong.",
                          "example": "Agent queue not found: 'agent_queue_123'. Verify the queueId is correct."
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ],
                      "description": "Error details."
                    }
                  },
                  "required": [
                    "success",
                    "error"
                  ],
                  "description": "Error response returned by agent-queue endpoints."
                }
              }
            }
          },
          "409": {
            "description": "The session has already finished, so there is nothing to pause. Code: AGENT_SESSION_NOT_PAUSABLE.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "const": false,
                      "description": "Always false for an error response.",
                      "example": false
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "$ref": "#/components/schemas/Schema_57"
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable description of what went wrong.",
                          "example": "Agent queue not found: 'agent_queue_123'. Verify the queueId is correct."
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ],
                      "description": "Error details."
                    }
                  },
                  "required": [
                    "success",
                    "error"
                  ],
                  "description": "Error response returned by agent-queue endpoints."
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    },
    "/agents/session/messages/list": {
      "post": {
        "summary": "List agent messages",
        "description": "Lists messages in a thread with pagination. Returns messages in a simplified format with user, assistant, and tool messages.",
        "tags": [
          "Agents"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "External ID of the thread to list messages for",
                    "example": "agent_conversation_thread_abc123"
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 1000,
                    "default": 1000,
                    "description": "Maximum number of messages to return (default 1000, max 1000)"
                  },
                  "offset": {
                    "type": "integer",
                    "minimum": 0,
                    "default": 0,
                    "description": "Number of messages to skip for pagination"
                  }
                },
                "required": [
                  "id"
                ],
                "description": "Request parameters for listing messages in a thread"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Messages retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "messages": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "role": {
                                "type": "string",
                                "const": "user"
                              },
                              "parts": {
                                "type": "array",
                                "items": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "const": "text"
                                        },
                                        "text": {
                                          "type": "string",
                                          "description": "Text content"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "text"
                                      ],
                                      "description": "A text content part"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "const": "file"
                                        },
                                        "fileId": {
                                          "type": "string",
                                          "description": "External ID of the file",
                                          "example": "files_abc123"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "fileId"
                                      ],
                                      "description": "A file content part"
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "const": "json"
                                        },
                                        "data": {
                                          "type": "object",
                                          "additionalProperties": {},
                                          "description": "Structured JSON data"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "data"
                                      ],
                                      "description": "A JSON content part"
                                    }
                                  ],
                                  "description": "A content part (text, file, or json)"
                                },
                                "description": "Content parts of the user message"
                              }
                            },
                            "required": [
                              "role",
                              "parts"
                            ],
                            "description": "A message from the user"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "role": {
                                "type": "string",
                                "const": "assistant"
                              },
                              "parts": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "const": "text"
                                    },
                                    "text": {
                                      "type": "string",
                                      "description": "Text content"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "text"
                                  ],
                                  "description": "A text content part"
                                },
                                "description": "Text content parts of the assistant reply"
                              }
                            },
                            "required": [
                              "role",
                              "parts"
                            ],
                            "description": "An assistant message with text content"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "role": {
                                "type": "string",
                                "const": "assistant"
                              },
                              "parts": {
                                "type": "array",
                                "items": {},
                                "maxItems": 0,
                                "description": "Must be empty when calling tools"
                              },
                              "toolCalls": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "Unique ID of the tool call"
                                    },
                                    "type": {
                                      "type": "string",
                                      "const": "function"
                                    },
                                    "function": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string",
                                          "description": "Name of the function"
                                        },
                                        "arguments": {
                                          "type": "object",
                                          "additionalProperties": {},
                                          "description": "Arguments passed to the function"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "arguments"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "type",
                                    "function"
                                  ],
                                  "description": "A tool call made by the assistant"
                                },
                                "description": "Tool calls made by the assistant"
                              }
                            },
                            "required": [
                              "role",
                              "parts",
                              "toolCalls"
                            ],
                            "description": "An assistant message with tool calls"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "role": {
                                "type": "string",
                                "const": "tool"
                              },
                              "toolCallId": {
                                "type": "string",
                                "description": "ID of the tool call this message responds to"
                              },
                              "parts": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_60"
                                },
                                "description": "Content parts of the tool result"
                              }
                            },
                            "required": [
                              "role",
                              "toolCallId",
                              "parts"
                            ],
                            "description": "A tool result message"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "role": {
                                "type": "string",
                                "const": "developer"
                              },
                              "parts": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_60"
                                },
                                "description": "Content parts of the developer message"
                              }
                            },
                            "required": [
                              "role",
                              "parts"
                            ],
                            "description": "A developer/system message"
                          }
                        ],
                        "description": "A message in the conversation"
                      },
                      "description": "List of messages in the thread"
                    },
                    "total": {
                      "type": "integer",
                      "description": "Total number of messages in the thread"
                    }
                  },
                  "required": [
                    "messages",
                    "total"
                  ],
                  "description": "Paginated list of messages in a thread"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "webhooks": {
    "events": {
      "post": {
        "summary": "Event",
        "description": "Webhook triggered when an event occurs",
        "tags": [
          "Webhooks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "execution.complete"
                      },
                      "data": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "startBlock": {
                                "oneOf": [
                                  {
                                    "$ref": "#/components/schemas/Login_5"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FormBlock_6"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillDocument_7"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillSpreadsheet_8"
                                  },
                                  {
                                    "$ref": "#/components/schemas/MouseBlock_9"
                                  },
                                  {
                                    "$ref": "#/components/schemas/HoverBlock_10"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Search"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "type": "object",
                                        "properties": {
                                          "prompt": {
                                            "$ref": "#/components/schemas/TextValue"
                                          },
                                          "query": {
                                            "$ref": "#/components/schemas/TextValue"
                                          },
                                          "shouldNotClearFirst": {
                                            "type": "boolean",
                                            "default": true
                                          },
                                          "shouldType": {
                                            "type": "boolean"
                                          },
                                          "agenticSearch": {
                                            "type": "boolean"
                                          },
                                          "knowledgeBaseIds": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          },
                                          "instructions": {
                                            "$ref": "#/components/schemas/TextValue"
                                          },
                                          "skipIfMaxStepsReached": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "prompt",
                                          "query"
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Search"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Input"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/Union_12"
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "SensitiveTextInput"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Dropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "NativeDropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Checkbox"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          }
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Input"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "DateInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "$ref": "#/components/schemas/TextValue"
                                          },
                                          "value": {
                                            "$ref": "#/components/schemas/TextValue"
                                          },
                                          "useVision": {
                                            "type": "boolean",
                                            "default": false
                                          }
                                        },
                                        "required": [
                                          "key",
                                          "value"
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Date Input"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Dropdown_16"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Extract"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_prompt_schema_useVision_54"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Extract"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ParseDocument_19"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "ExtractFromInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_inputText_prompt_schema_55"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Generate"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExtractImages_22"
                                  },
                                  {
                                    "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "API"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_method_route_data_24"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "API"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Navigate_26"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePage_27"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePopup_28"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Wait_30"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "WaitForCondition"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "type": "object",
                                        "properties": {
                                          "eventDescription": {
                                            "$ref": "#/components/schemas/TextValue"
                                          },
                                          "maxTimeoutSeconds": {
                                            "type": "number",
                                            "minimum": 1,
                                            "maximum": 3600,
                                            "default": 60
                                          }
                                        },
                                        "required": [
                                          "eventDescription"
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "WaitForCondition"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FailOnCondition_33"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DownloadFileBlock_39"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                  },
                                  {
                                    "$ref": "#/components/schemas/CodeV2_41"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Transform_42"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExitFromLoop_43"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Next_44"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "SendEmail"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "SendEmail",
                                    "description": "A block that sends an email from the workflow with templated content and file attachments"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SearchandNavigate_47"
                                  },
                                  {
                                    "$ref": "#/components/schemas/UnzipFile_48"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "LoopV2"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Union_49"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      },
                                      "sequenceData": {
                                        "type": "object",
                                        "properties": {
                                          "sequence": {
                                            "type": "array",
                                            "items": {
                                              "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                            },
                                            "description": "Sequence of blocks within the loop"
                                          }
                                        },
                                        "required": [
                                          "sequence"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship",
                                      "sequenceData"
                                    ],
                                    "title": "Loop"
                                  },
                                  {
                                    "$ref": "#/components/schemas/If_51"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The block where execution started, if specified"
                              },
                              "downloads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "in_progress",
                                      "success",
                                      "failed"
                                    ]
                                  },
                                  "files": {
                                    "type": "array",
                                    "items": {
                                      "$ref": "#/components/schemas/FileInfo"
                                    }
                                  },
                                  "message": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "status",
                                  "files"
                                ],
                                "description": "File downloads from the execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "sessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the session associated with this execution"
                              },
                              "agentConversationThreadId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed (if finished)"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Preview of the response from the execution"
                              },
                              "responseFile": {
                                "$ref": "#/components/schemas/Schema_53"
                              },
                              "browserSessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the browser session used for execution"
                              },
                              "browserSessionVendorId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Vendor-specific session ID from the serverless browser provider"
                              },
                              "errorAnalysis": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                              },
                              "summary": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated summary of what happened during the execution, with links to block spans"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Completed"
                                ]
                              },
                              "context": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Complete context of the execution, including intermediate results, workflow state, and any additional metadata gathered during execution"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "startBlock",
                              "contextAuthentications",
                              "sessionId",
                              "agentConversationThreadId",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedResponse",
                              "responseFile",
                              "browserSessionId",
                              "browserSessionVendorId",
                              "errorAnalysis",
                              "summary",
                              "status",
                              "context"
                            ],
                            "title": "Completed Execution",
                            "description": "Recording of a successfully completed workflow execution"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "startBlock": {
                                "oneOf": [
                                  {
                                    "$ref": "#/components/schemas/Login_5"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FormBlock_6"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillDocument_7"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillSpreadsheet_8"
                                  },
                                  {
                                    "$ref": "#/components/schemas/MouseBlock_9"
                                  },
                                  {
                                    "$ref": "#/components/schemas/HoverBlock_10"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Search_61"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Input"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/Union_12"
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "SensitiveTextInput"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Dropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "NativeDropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Checkbox"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          }
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Input"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DateInput_62"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Dropdown_16"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Extract"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_prompt_schema_useVision_54"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Extract"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ParseDocument_19"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "ExtractFromInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_inputText_prompt_schema_55"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Generate"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExtractImages_22"
                                  },
                                  {
                                    "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "API"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_method_route_data_24"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "API"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Navigate_26"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePage_27"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePopup_28"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Wait_30"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCondition_63"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FailOnCondition_33"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DownloadFileBlock_39"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                  },
                                  {
                                    "$ref": "#/components/schemas/CodeV2_41"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Transform_42"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExitFromLoop_43"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Next_44"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "SendEmail"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "SendEmail",
                                    "description": "A block that sends an email from the workflow with templated content and file attachments"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SearchandNavigate_47"
                                  },
                                  {
                                    "$ref": "#/components/schemas/UnzipFile_48"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "LoopV2"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Union_49"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      },
                                      "sequenceData": {
                                        "type": "object",
                                        "properties": {
                                          "sequence": {
                                            "type": "array",
                                            "items": {
                                              "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                            },
                                            "description": "Sequence of blocks within the loop"
                                          }
                                        },
                                        "required": [
                                          "sequence"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship",
                                      "sequenceData"
                                    ],
                                    "title": "Loop"
                                  },
                                  {
                                    "$ref": "#/components/schemas/If_51"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The block where execution started, if specified"
                              },
                              "downloads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "in_progress",
                                      "success",
                                      "failed"
                                    ]
                                  },
                                  "files": {
                                    "type": "array",
                                    "items": {
                                      "$ref": "#/components/schemas/FileInfo"
                                    }
                                  },
                                  "message": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "status",
                                  "files"
                                ],
                                "description": "File downloads from the execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "sessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the session associated with this execution"
                              },
                              "agentConversationThreadId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed (if finished)"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Preview of the response from the execution"
                              },
                              "responseFile": {
                                "$ref": "#/components/schemas/Schema_53"
                              },
                              "browserSessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the browser session used for execution"
                              },
                              "browserSessionVendorId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Vendor-specific session ID from the serverless browser provider"
                              },
                              "errorAnalysis": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                              },
                              "summary": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated summary of what happened during the execution, with links to block spans"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Failed"
                                ]
                              },
                              "context": {
                                "type": "null",
                                "description": "Context is not available for failed executions"
                              },
                              "error": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "Error code identifying the type of failure"
                                  },
                                  "message": {
                                    "type": "string",
                                    "description": "Detailed error message describing the failure"
                                  }
                                },
                                "required": [
                                  "code",
                                  "message"
                                ],
                                "description": "Error details for the failed execution"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "startBlock",
                              "contextAuthentications",
                              "sessionId",
                              "agentConversationThreadId",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedResponse",
                              "responseFile",
                              "browserSessionId",
                              "browserSessionVendorId",
                              "errorAnalysis",
                              "summary",
                              "status",
                              "context",
                              "error"
                            ],
                            "title": "Failed Execution",
                            "description": "Recording of a failed workflow execution"
                          }
                        ],
                        "description": "Data about the completed execution."
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "title": "Execution: Completed",
                    "description": "Payload sent when an execution has finished running"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "execution.downloads_complete"
                      },
                      "data": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "startBlock": {
                                "oneOf": [
                                  {
                                    "$ref": "#/components/schemas/Login_5"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FormBlock_6"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillDocument_7"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillSpreadsheet_8"
                                  },
                                  {
                                    "$ref": "#/components/schemas/MouseBlock_9"
                                  },
                                  {
                                    "$ref": "#/components/schemas/HoverBlock_10"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Search_61"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Input"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/Union_12"
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "SensitiveTextInput"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Dropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "NativeDropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Checkbox"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          }
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Input"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DateInput_62"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Dropdown_16"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Extract"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_prompt_schema_useVision_54"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Extract"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ParseDocument_19"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "ExtractFromInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_inputText_prompt_schema_55"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Generate"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExtractImages_22"
                                  },
                                  {
                                    "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "API"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_method_route_data_24"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "API"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Navigate_26"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePage_27"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePopup_28"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Wait_30"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCondition_63"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FailOnCondition_33"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DownloadFileBlock_39"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                  },
                                  {
                                    "$ref": "#/components/schemas/CodeV2_41"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Transform_42"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExitFromLoop_43"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Next_44"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "SendEmail"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "SendEmail",
                                    "description": "A block that sends an email from the workflow with templated content and file attachments"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SearchandNavigate_47"
                                  },
                                  {
                                    "$ref": "#/components/schemas/UnzipFile_48"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "LoopV2"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Union_49"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      },
                                      "sequenceData": {
                                        "type": "object",
                                        "properties": {
                                          "sequence": {
                                            "type": "array",
                                            "items": {
                                              "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                            },
                                            "description": "Sequence of blocks within the loop"
                                          }
                                        },
                                        "required": [
                                          "sequence"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship",
                                      "sequenceData"
                                    ],
                                    "title": "Loop"
                                  },
                                  {
                                    "$ref": "#/components/schemas/If_51"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The block where execution started, if specified"
                              },
                              "downloads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "in_progress",
                                      "success",
                                      "failed"
                                    ]
                                  },
                                  "files": {
                                    "type": "array",
                                    "items": {
                                      "$ref": "#/components/schemas/FileInfo"
                                    }
                                  },
                                  "message": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "status",
                                  "files"
                                ],
                                "description": "File downloads from the execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "sessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the session associated with this execution"
                              },
                              "agentConversationThreadId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed (if finished)"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Preview of the response from the execution"
                              },
                              "responseFile": {
                                "$ref": "#/components/schemas/Schema_53"
                              },
                              "browserSessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the browser session used for execution"
                              },
                              "browserSessionVendorId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Vendor-specific session ID from the serverless browser provider"
                              },
                              "errorAnalysis": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                              },
                              "summary": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated summary of what happened during the execution, with links to block spans"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Completed"
                                ]
                              },
                              "context": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Complete context of the execution, including intermediate results, workflow state, and any additional metadata gathered during execution"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "startBlock",
                              "contextAuthentications",
                              "sessionId",
                              "agentConversationThreadId",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedResponse",
                              "responseFile",
                              "browserSessionId",
                              "browserSessionVendorId",
                              "errorAnalysis",
                              "summary",
                              "status",
                              "context"
                            ],
                            "title": "Completed Execution",
                            "description": "Recording of a successfully completed workflow execution"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "startBlock": {
                                "oneOf": [
                                  {
                                    "$ref": "#/components/schemas/Login_5"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FormBlock_6"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillDocument_7"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillSpreadsheet_8"
                                  },
                                  {
                                    "$ref": "#/components/schemas/MouseBlock_9"
                                  },
                                  {
                                    "$ref": "#/components/schemas/HoverBlock_10"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Search_61"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Input"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/Union_12"
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "SensitiveTextInput"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Dropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "NativeDropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Checkbox"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          }
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Input"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DateInput_62"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Dropdown_16"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Extract"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_prompt_schema_useVision_54"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Extract"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ParseDocument_19"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "ExtractFromInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_inputText_prompt_schema_55"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Generate"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExtractImages_22"
                                  },
                                  {
                                    "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "API"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_method_route_data_24"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "API"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Navigate_26"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePage_27"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePopup_28"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Wait_30"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCondition_63"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FailOnCondition_33"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DownloadFileBlock_39"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                  },
                                  {
                                    "$ref": "#/components/schemas/CodeV2_41"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Transform_42"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExitFromLoop_43"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Next_44"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "SendEmail"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "SendEmail",
                                    "description": "A block that sends an email from the workflow with templated content and file attachments"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SearchandNavigate_47"
                                  },
                                  {
                                    "$ref": "#/components/schemas/UnzipFile_48"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "LoopV2"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Union_49"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      },
                                      "sequenceData": {
                                        "type": "object",
                                        "properties": {
                                          "sequence": {
                                            "type": "array",
                                            "items": {
                                              "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                            },
                                            "description": "Sequence of blocks within the loop"
                                          }
                                        },
                                        "required": [
                                          "sequence"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship",
                                      "sequenceData"
                                    ],
                                    "title": "Loop"
                                  },
                                  {
                                    "$ref": "#/components/schemas/If_51"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The block where execution started, if specified"
                              },
                              "downloads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "in_progress",
                                      "success",
                                      "failed"
                                    ]
                                  },
                                  "files": {
                                    "type": "array",
                                    "items": {
                                      "$ref": "#/components/schemas/FileInfo"
                                    }
                                  },
                                  "message": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "status",
                                  "files"
                                ],
                                "description": "File downloads from the execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "sessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the session associated with this execution"
                              },
                              "agentConversationThreadId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed (if finished)"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Preview of the response from the execution"
                              },
                              "responseFile": {
                                "$ref": "#/components/schemas/Schema_53"
                              },
                              "browserSessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the browser session used for execution"
                              },
                              "browserSessionVendorId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Vendor-specific session ID from the serverless browser provider"
                              },
                              "errorAnalysis": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                              },
                              "summary": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated summary of what happened during the execution, with links to block spans"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Failed"
                                ]
                              },
                              "context": {
                                "type": "null",
                                "description": "Context is not available for failed executions"
                              },
                              "error": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "Error code identifying the type of failure"
                                  },
                                  "message": {
                                    "type": "string",
                                    "description": "Detailed error message describing the failure"
                                  }
                                },
                                "required": [
                                  "code",
                                  "message"
                                ],
                                "description": "Error details for the failed execution"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "startBlock",
                              "contextAuthentications",
                              "sessionId",
                              "agentConversationThreadId",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedResponse",
                              "responseFile",
                              "browserSessionId",
                              "browserSessionVendorId",
                              "errorAnalysis",
                              "summary",
                              "status",
                              "context",
                              "error"
                            ],
                            "title": "Failed Execution",
                            "description": "Recording of a failed workflow execution"
                          }
                        ],
                        "description": "Data about the completed execution."
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "title": "Execution: Downloads Complete",
                    "description": "Payload sent when downloads for an execution have been completed"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "execution.error_analysis_complete"
                      },
                      "data": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "startBlock": {
                                "oneOf": [
                                  {
                                    "$ref": "#/components/schemas/Login_5"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FormBlock_6"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillDocument_7"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillSpreadsheet_8"
                                  },
                                  {
                                    "$ref": "#/components/schemas/MouseBlock_9"
                                  },
                                  {
                                    "$ref": "#/components/schemas/HoverBlock_10"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Search_61"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Input"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/Union_12"
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "SensitiveTextInput"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Dropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "NativeDropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Checkbox"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          }
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Input"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DateInput_62"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Dropdown_16"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Extract"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_prompt_schema_useVision_54"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Extract"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ParseDocument_19"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "ExtractFromInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_inputText_prompt_schema_55"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Generate"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExtractImages_22"
                                  },
                                  {
                                    "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "API"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_method_route_data_24"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "API"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Navigate_26"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePage_27"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePopup_28"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Wait_30"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCondition_63"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FailOnCondition_33"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DownloadFileBlock_39"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                  },
                                  {
                                    "$ref": "#/components/schemas/CodeV2_41"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Transform_42"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExitFromLoop_43"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Next_44"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "SendEmail"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "SendEmail",
                                    "description": "A block that sends an email from the workflow with templated content and file attachments"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SearchandNavigate_47"
                                  },
                                  {
                                    "$ref": "#/components/schemas/UnzipFile_48"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "LoopV2"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Union_49"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      },
                                      "sequenceData": {
                                        "type": "object",
                                        "properties": {
                                          "sequence": {
                                            "type": "array",
                                            "items": {
                                              "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                            },
                                            "description": "Sequence of blocks within the loop"
                                          }
                                        },
                                        "required": [
                                          "sequence"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship",
                                      "sequenceData"
                                    ],
                                    "title": "Loop"
                                  },
                                  {
                                    "$ref": "#/components/schemas/If_51"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The block where execution started, if specified"
                              },
                              "downloads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "in_progress",
                                      "success",
                                      "failed"
                                    ]
                                  },
                                  "files": {
                                    "type": "array",
                                    "items": {
                                      "$ref": "#/components/schemas/FileInfo"
                                    }
                                  },
                                  "message": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "status",
                                  "files"
                                ],
                                "description": "File downloads from the execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "sessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the session associated with this execution"
                              },
                              "agentConversationThreadId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed (if finished)"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Preview of the response from the execution"
                              },
                              "responseFile": {
                                "$ref": "#/components/schemas/Schema_53"
                              },
                              "browserSessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the browser session used for execution"
                              },
                              "browserSessionVendorId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Vendor-specific session ID from the serverless browser provider"
                              },
                              "errorAnalysis": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                              },
                              "summary": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated summary of what happened during the execution, with links to block spans"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Completed"
                                ]
                              },
                              "context": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Complete context of the execution, including intermediate results, workflow state, and any additional metadata gathered during execution"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "startBlock",
                              "contextAuthentications",
                              "sessionId",
                              "agentConversationThreadId",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedResponse",
                              "responseFile",
                              "browserSessionId",
                              "browserSessionVendorId",
                              "errorAnalysis",
                              "summary",
                              "status",
                              "context"
                            ],
                            "title": "Completed Execution",
                            "description": "Recording of a successfully completed workflow execution"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the execution"
                              },
                              "workflow": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the workflow being executed"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the workflow being executed"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ]
                              },
                              "batch": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "ID of the execution batch"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "Name of the execution batch"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "description": "Batch information if execution is part of a batch"
                              },
                              "logins": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "description": "ID of the login used for execution"
                                    },
                                    "name": {
                                      "type": "string",
                                      "description": "Name of the login used for execution"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ]
                                }
                              },
                              "authentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Union_1"
                                },
                                "description": "Authentication responses for this execution"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution started"
                              },
                              "params": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution parameters"
                              },
                              "metadata": {
                                "type": "object",
                                "additionalProperties": {},
                                "description": "Execution metadata"
                              },
                              "name": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Execution name"
                              },
                              "startBlock": {
                                "oneOf": [
                                  {
                                    "$ref": "#/components/schemas/Login_5"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FormBlock_6"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillDocument_7"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FillSpreadsheet_8"
                                  },
                                  {
                                    "$ref": "#/components/schemas/MouseBlock_9"
                                  },
                                  {
                                    "$ref": "#/components/schemas/HoverBlock_10"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Search_61"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Input"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/Union_12"
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "SensitiveTextInput"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Dropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "NativeDropdown"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "key": {
                                                "type": "string"
                                              },
                                              "mode": {
                                                "type": "string",
                                                "enum": [
                                                  "code",
                                                  "aiInference"
                                                ]
                                              },
                                              "useVision": {
                                                "type": "boolean"
                                              },
                                              "inputType": {
                                                "type": "string",
                                                "const": "Checkbox"
                                              },
                                              "value": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "inputType",
                                              "value"
                                            ]
                                          }
                                        ]
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Input"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DateInput_62"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Dropdown_16"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "Extract"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_prompt_schema_useVision_54"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Extract"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ParseDocument_19"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "ExtractFromInput"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_inputText_prompt_schema_55"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "Generate"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExtractImages_22"
                                  },
                                  {
                                    "$ref": "#/components/schemas/QueryKnowledgeBase_23"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "API"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_method_route_data_24"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "API"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Navigate_26"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePage_27"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ClosePopup_28"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_29"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Wait_30"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCondition_63"
                                  },
                                  {
                                    "$ref": "#/components/schemas/WaitForCaptchaSolve_32"
                                  },
                                  {
                                    "$ref": "#/components/schemas/FailOnCondition_33"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_34"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_35"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_36"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_37"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Object_id_name_blockReferenceId_38"
                                  },
                                  {
                                    "$ref": "#/components/schemas/DownloadFileBlock_39"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SaveAsPDFBlock_40"
                                  },
                                  {
                                    "$ref": "#/components/schemas/CodeV2_41"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Transform_42"
                                  },
                                  {
                                    "$ref": "#/components/schemas/ExitFromLoop_43"
                                  },
                                  {
                                    "$ref": "#/components/schemas/Next_44"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "SendEmail"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Object_toAddresses_ccAddresses_subject_45"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship"
                                    ],
                                    "title": "SendEmail",
                                    "description": "A block that sends an email from the workflow with templated content and file attachments"
                                  },
                                  {
                                    "$ref": "#/components/schemas/SearchandNavigate_47"
                                  },
                                  {
                                    "$ref": "#/components/schemas/UnzipFile_48"
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "blockReferenceId": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string",
                                        "const": "LoopV2"
                                      },
                                      "locator": {
                                        "oneOf": [
                                          {
                                            "$ref": "#/components/schemas/ElementLocator"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "isCacheable": {
                                        "type": "boolean"
                                      },
                                      "skipIfNotPresent": {
                                        "type": "boolean"
                                      },
                                      "useWorkflowRecoveryAgent": {
                                        "type": "boolean"
                                      },
                                      "data": {
                                        "$ref": "#/components/schemas/Union_49"
                                      },
                                      "parentRelationship": {
                                        "type": "object",
                                        "properties": {
                                          "blockDepth": {
                                            "type": "number"
                                          },
                                          "positionInSequence": {
                                            "type": "number"
                                          },
                                          "parentBlockId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ]
                                          },
                                          "parentSequenceId": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "enum": [
                                              "sequence",
                                              "trueSequence",
                                              "falseSequence"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "blockDepth",
                                          "positionInSequence",
                                          "parentBlockId",
                                          "parentSequenceId"
                                        ]
                                      },
                                      "sequenceData": {
                                        "type": "object",
                                        "properties": {
                                          "sequence": {
                                            "type": "array",
                                            "items": {
                                              "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                                            },
                                            "description": "Sequence of blocks within the loop"
                                          }
                                        },
                                        "required": [
                                          "sequence"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "blockReferenceId",
                                      "type",
                                      "isCacheable",
                                      "skipIfNotPresent",
                                      "useWorkflowRecoveryAgent",
                                      "data",
                                      "parentRelationship",
                                      "sequenceData"
                                    ],
                                    "title": "Loop"
                                  },
                                  {
                                    "$ref": "#/components/schemas/If_51"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ],
                                "description": "The block where execution started, if specified"
                              },
                              "downloads": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "in_progress",
                                      "success",
                                      "failed"
                                    ]
                                  },
                                  "files": {
                                    "type": "array",
                                    "items": {
                                      "$ref": "#/components/schemas/FileInfo"
                                    }
                                  },
                                  "message": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "status",
                                  "files"
                                ],
                                "description": "File downloads from the execution"
                              },
                              "contextAuthentications": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/components/schemas/Object_contextAuthenticationId_loginSummary_authenticationStatus_3"
                                },
                                "description": "Session authentication responses with login summary for this execution"
                              },
                              "parentExecutionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the parent execution that triggered this execution"
                              },
                              "sessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the session associated with this execution"
                              },
                              "agentConversationThreadId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the linked agent conversation thread, if this execution was triggered by an agent"
                              },
                              "attempts": {
                                "type": "number",
                                "description": "Number of times this execution has been attempted (including retries)"
                              },
                              "totalAttempts": {
                                "type": "number",
                                "description": "Total number of attempts allowed for this execution (initial + retries)"
                              },
                              "isLastAttempt": {
                                "type": "boolean",
                                "description": "Whether this is the last attempt for this execution (attempts >= totalAttempts)"
                              },
                              "isTest": {
                                "type": "boolean",
                                "description": "Whether this execution is a test run"
                              },
                              "durationMs": {
                                "type": "number",
                                "description": "Duration of the execution in milliseconds"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time",
                                "description": "When the execution completed (if finished)"
                              },
                              "response": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": {},
                                "description": "Response from the execution"
                              },
                              "truncatedResponse": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Preview of the response from the execution"
                              },
                              "responseFile": {
                                "$ref": "#/components/schemas/Schema_53"
                              },
                              "browserSessionId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "ID of the browser session used for execution"
                              },
                              "browserSessionVendorId": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Vendor-specific session ID from the serverless browser provider"
                              },
                              "errorAnalysis": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated analysis of what went wrong during the execution, based on the session recording"
                              },
                              "summary": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "AI-generated summary of what happened during the execution, with links to block spans"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "Failed"
                                ]
                              },
                              "context": {
                                "type": "null",
                                "description": "Context is not available for failed executions"
                              },
                              "error": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "Error code identifying the type of failure"
                                  },
                                  "message": {
                                    "type": "string",
                                    "description": "Detailed error message describing the failure"
                                  }
                                },
                                "required": [
                                  "code",
                                  "message"
                                ],
                                "description": "Error details for the failed execution"
                              }
                            },
                            "required": [
                              "id",
                              "workflow",
                              "batch",
                              "logins",
                              "authentications",
                              "startTime",
                              "params",
                              "metadata",
                              "name",
                              "startBlock",
                              "contextAuthentications",
                              "sessionId",
                              "agentConversationThreadId",
                              "attempts",
                              "totalAttempts",
                              "isLastAttempt",
                              "isTest",
                              "durationMs",
                              "endTime",
                              "response",
                              "truncatedResponse",
                              "responseFile",
                              "browserSessionId",
                              "browserSessionVendorId",
                              "errorAnalysis",
                              "summary",
                              "status",
                              "context",
                              "error"
                            ],
                            "title": "Failed Execution",
                            "description": "Recording of a failed workflow execution"
                          }
                        ],
                        "description": "Data about the execution with completed error analysis."
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "title": "Execution: Error Analysis Complete",
                    "description": "Payload sent when error analysis for an execution has been completed"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "agent.execution.complete"
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "agentId": {
                            "type": "string",
                            "description": "External ID of the agent that completed execution"
                          },
                          "executionId": {
                            "type": "string",
                            "description": "External ID of the execution"
                          },
                          "summaryJSON": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": {},
                            "description": "The LLM-generated result JSON matching the configured result schema, or null if generation failed"
                          },
                          "completedAt": {
                            "type": "string",
                            "description": "ISO 8601 timestamp when the execution completed"
                          }
                        },
                        "required": [
                          "agentId",
                          "executionId",
                          "summaryJSON",
                          "completedAt"
                        ],
                        "description": "Data about the completed agent execution and its result."
                      }
                    },
                    "required": [
                      "type",
                      "data"
                    ],
                    "title": "Agent Execution: Complete",
                    "description": "Payload sent when an agent execution completes and generates a result summary"
                  }
                ],
                "title": "Webhook Event",
                "description": "A webhook event payload containing event type and data"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook received successfully"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LoginConfigurationWithSensitiveCredentials": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "Username for authentication"
          },
          "twoFactorAuthConfiguration": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "method": {
                "type": "string",
                "enum": [
                  "Email",
                  "SMS",
                  "TOTP"
                ],
                "description": "Method used for 2FA verification"
              },
              "alwaysRequired": {
                "type": "boolean",
                "description": "Whether 2FA is always required, if it is not, the workflow will make a determination based upon the text displayed on the site."
              },
              "twoFactorAuthEmail": {
                "type": "string",
                "description": "The email which the 2FA codes will be sent to, which our system will use to associate to the created login. Required when method is Email."
              },
              "totpSecretKey": {
                "type": "string",
                "description": "Secret key used for TOTP generation. REQUIRED when method is TOTP, optional otherwise. This key is used to generate time-based one-time passwords for authentication."
              }
            },
            "required": [
              "method",
              "alwaysRequired"
            ],
            "description": "Configuration for two-factor authentication including sensitive credentials"
          },
          "additionalCredentials": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier for the additional credential"
                },
                "key": {
                  "type": "string",
                  "description": "Key for the additional credential"
                },
                "value": {
                  "type": "string",
                  "description": "Value for the additional credential"
                }
              },
              "required": [
                "key",
                "value"
              ]
            },
            "description": "Additional key-value credentials"
          },
          "password": {
            "type": "string",
            "description": "Password for authentication. Required for login credential types, optional for API keys and bearer tokens."
          }
        },
        "description": "Values for fields required to complete authentication, including sensitive credentials."
      },
      "LoginConfiguration": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "Username for authentication"
          },
          "twoFactorAuthConfiguration": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "method": {
                "type": "string",
                "enum": [
                  "Email",
                  "SMS",
                  "TOTP"
                ],
                "description": "Method used for 2FA verification"
              },
              "alwaysRequired": {
                "type": "boolean",
                "description": "Whether 2FA is always required, if it is not, the workflow will make a determination based upon the text displayed on the site."
              },
              "twoFactorAuthEmail": {
                "type": "string",
                "description": "The email which the 2FA codes will be sent to, which our system will use to associate to the created login. Required when method is Email."
              }
            },
            "required": [
              "method",
              "alwaysRequired"
            ],
            "description": "Configuration for two-factor authentication"
          },
          "additionalCredentials": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Unique identifier for the additional credential"
                },
                "key": {
                  "type": "string",
                  "description": "Key for the additional credential"
                },
                "value": {
                  "type": "string",
                  "description": "Value for the additional credential"
                }
              },
              "required": [
                "key",
                "value"
              ]
            },
            "description": "Additional key-value credentials"
          }
        },
        "description": "Values for fields required to complete authentication. Sensitive credentials are excluded for security."
      },
      "KnowledgeBaseEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "External ID of the knowledge base entry"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the knowledge base entry"
          },
          "text": {
            "type": "string",
            "description": "Full text content of the knowledge base"
          },
          "organizationId": {
            "type": "string",
            "description": "ID of the organization that owns this knowledge base"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the knowledge base was created"
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when the knowledge base was last updated"
          }
        },
        "required": [
          "id",
          "name",
          "text",
          "organizationId",
          "createdAt",
          "updatedAt"
        ],
        "description": "Knowledge base entry owned by an organization"
      },
      "FileInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the file"
          },
          "name": {
            "type": "string",
            "description": "Name of the file"
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ],
            "description": "MIME type of the file"
          },
          "sizeBytes": {
            "type": [
              "number",
              "null"
            ],
            "description": "Size of the file in bytes"
          },
          "downloadUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Signed URL to download the file directly"
          },
          "key": {
            "type": [
              "string",
              "null"
            ],
            "description": "Key identifier for the file (for example, a key provided when completing a download for the file)."
          }
        },
        "required": [
          "id",
          "name",
          "mimeType",
          "sizeBytes",
          "downloadUrl",
          "key"
        ],
        "description": "File information"
      },
      "ElementLocator": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "placeholder": {
            "type": "string"
          },
          "altText": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "css": {
            "type": "string"
          },
          "xpath": {
            "type": "string"
          }
        }
      },
      "TextValue": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/TextExpression"
          }
        ]
      },
      "TextExpression": {
        "type": "object",
        "properties": {
          "__kind": {
            "type": "string",
            "const": "textExpression"
          },
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataRef"
            }
          }
        },
        "required": [
          "__kind",
          "parts"
        ]
      },
      "DataRef": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "const": "literal"
              },
              "value": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "source",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "const": "block"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "selector": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                }
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "blockReferenceId",
              "label"
            ]
          },
          {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "const": "workflowParams"
              },
              "selector": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                }
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "label"
            ]
          },
          {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "const": "loopContext"
              },
              "selector": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                }
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "selector",
              "label"
            ]
          },
          {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "const": "scratchpad"
              },
              "selector": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                }
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "selector",
              "label"
            ]
          },
          {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "const": "system"
              },
              "key": {
                "type": "string",
                "enum": [
                  "now",
                  "today",
                  "tomorrow",
                  "dayOfWeek"
                ]
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "key",
              "label"
            ]
          }
        ]
      },
      "LoopV2NestedBlockInitializer": {
        "type": "object",
        "description": "Block initializer reference for nested sequences"
      },
      "IfTrueNestedBlockInitializer": {
        "type": "object",
        "description": "Block initializer reference for true branch nested sequences"
      },
      "IfFalseNestedBlockInitializer": {
        "type": "object",
        "description": "Block initializer reference for false branch nested sequences"
      },
      "ReseedDemoDataRequest": {
        "type": "object",
        "properties": {
          "faxLineCount": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10,
            "description": "How many demo fax lines (RingCentral connections, each with its own number and inbox) to create. Defaults to 3."
          },
          "faxesPerLine": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "How many inbound demo faxes to create per line. Defaults to 8."
          }
        }
      },
      "DemoDataResponse": {
        "type": "object",
        "properties": {
          "faxLinesRemoved": {
            "type": "integer",
            "description": "Demo fax lines torn down before re-seeding."
          },
          "faxesRemoved": {
            "type": "integer",
            "description": "Demo faxes torn down before re-seeding."
          },
          "faxLinesCreated": {
            "type": "integer",
            "description": "Demo fax lines created. Always 0 for a teardown."
          },
          "faxesCreated": {
            "type": "integer",
            "description": "Demo faxes created. Always 0 for a teardown."
          },
          "isDemoOrganization": {
            "type": "boolean",
            "description": "Whether the organization is marked as a demo workspace. Both operations require it and neither changes it."
          }
        },
        "required": [
          "faxLinesRemoved",
          "faxesRemoved",
          "faxLinesCreated",
          "faxesCreated",
          "isDemoOrganization"
        ]
      },
      "Workflow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the workflow"
          },
          "name": {
            "type": "string",
            "description": "Name of the workflow"
          },
          "isAuthenticationRequired": {
            "type": "boolean",
            "description": "Whether authentication is required for this workflow"
          },
          "autoSaveEnabled": {
            "type": "boolean",
            "description": "Whether auto-save is enabled for this workflow"
          },
          "timeoutMs": {
            "type": [
              "integer",
              "null"
            ],
            "exclusiveMinimum": 0,
            "description": "Timeout in milliseconds for workflow execution",
            "example": 3600000
          },
          "shouldPauseOnError": {
            "type": "boolean",
            "description": "Whether to pause workflow execution on error",
            "example": false
          },
          "shouldSelfHeal": {
            "type": "boolean",
            "description": "Whether to automatically clean up cache when workflow execution fails",
            "example": true
          },
          "shouldSaveResultFile": {
            "type": "boolean",
            "description": "Whether to save result files for this workflow",
            "example": false
          },
          "maxConcurrentSessions": {
            "type": [
              "integer",
              "null"
            ],
            "exclusiveMinimum": 0,
            "description": "Maximum concurrent executions for this workflow",
            "example": 10
          },
          "webhooks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "ID of the webhook"
                },
                "url": {
                  "type": "string",
                  "format": "uri",
                  "description": "Webhook URL"
                }
              },
              "required": [
                "id",
                "url"
              ]
            },
            "description": "List of webhooks for this workflow"
          },
          "blocks": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Login"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "loginId": {
                          "type": "string"
                        },
                        "isParameter": {
                          "type": "boolean"
                        },
                        "forceLoginEveryTime": {
                          "type": "boolean"
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Login"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Form"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "dataPrompt": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "Prompt containing the actual data/information to fill into the form fields"
                        }
                      },
                      "required": [
                        "dataPrompt"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Form Block",
                  "description": "A block that automatically maps and fills input fields on a form using AI-powered field detection and data mapping."
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "FillDocument"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "fileId": {
                          "type": "string",
                          "description": "The ID of the file to fill"
                        },
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The prompt describing what to fill in the document"
                        }
                      },
                      "required": [
                        "fileId",
                        "prompt"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "FillDocument",
                  "description": "A block that fills a document with specified content using AI"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "FillSpreadsheet"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "fileId": {
                          "type": "string",
                          "description": "The ID of the Excel file to fill"
                        },
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "Optional additional instructions for the LLM when generating row data"
                        },
                        "fromOrganizationFiles": {
                          "type": "boolean",
                          "description": "Whether the file is selected from organization files (true) or from a parameter (false)"
                        }
                      },
                      "required": [
                        "fileId"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Fill Spreadsheet",
                  "description": "A block that reads an Excel file, extracts column headers from the second row, and uses an LLM to generate data for the third row"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Mouse"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "locationHint": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "doubleClick": {
                          "type": "boolean"
                        },
                        "force": {
                          "type": "boolean"
                        },
                        "useVision": {
                          "type": "boolean"
                        },
                        "segment": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "top",
                            "left"
                          ]
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Mouse Block"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Hover"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "locationHint": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "useVision": {
                          "type": "boolean"
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Hover Block"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Search"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "query": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "shouldNotClearFirst": {
                          "type": "boolean",
                          "default": true
                        },
                        "shouldType": {
                          "type": "boolean"
                        },
                        "agenticSearch": {
                          "type": "boolean"
                        },
                        "knowledgeBaseIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "instructions": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "skipIfMaxStepsReached": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "prompt",
                        "query",
                        "shouldNotClearFirst"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Search"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Input"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "oneOf": [
                        {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "mode": {
                                  "type": "string",
                                  "enum": [
                                    "code",
                                    "aiInference"
                                  ]
                                },
                                "useVision": {
                                  "type": "boolean"
                                },
                                "inputType": {
                                  "type": "string",
                                  "const": "TextInput"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "semanticValue": {
                                  "type": "string"
                                },
                                "knowledgeBaseIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "shouldNotClearFirst": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "key",
                                "inputType",
                                "semanticValue"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "mode": {
                                  "type": "string",
                                  "enum": [
                                    "code",
                                    "aiInference"
                                  ]
                                },
                                "useVision": {
                                  "type": "boolean"
                                },
                                "inputType": {
                                  "type": "string",
                                  "const": "TextInput"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "semanticValue": {
                                  "type": "string"
                                },
                                "knowledgeBaseIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "shouldNotClearFirst": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "key",
                                "inputType",
                                "value"
                              ]
                            }
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "code",
                                "aiInference"
                              ]
                            },
                            "useVision": {
                              "type": "boolean"
                            },
                            "inputType": {
                              "type": "string",
                              "const": "SensitiveTextInput"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "key",
                            "inputType",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "code",
                                "aiInference"
                              ]
                            },
                            "useVision": {
                              "type": "boolean"
                            },
                            "inputType": {
                              "type": "string",
                              "const": "Dropdown"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "key",
                            "inputType",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "code",
                                "aiInference"
                              ]
                            },
                            "useVision": {
                              "type": "boolean"
                            },
                            "inputType": {
                              "type": "string",
                              "const": "NativeDropdown"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "key",
                            "inputType",
                            "value"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "key": {
                              "type": "string"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "code",
                                "aiInference"
                              ]
                            },
                            "useVision": {
                              "type": "boolean"
                            },
                            "inputType": {
                              "type": "string",
                              "const": "Checkbox"
                            },
                            "value": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "key",
                            "inputType",
                            "value"
                          ]
                        }
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Input"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "DateInput"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "value": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "useVision": {
                          "type": "boolean",
                          "default": false
                        }
                      },
                      "required": [
                        "key",
                        "value",
                        "useVision"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Date Input"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Dropdown"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "Label or field description for the dropdown"
                        },
                        "value": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The option text to select from the dropdown"
                        },
                        "useVision": {
                          "type": "boolean",
                          "description": "Use AI vision to identify and click the dropdown and option instead of selectors"
                        },
                        "multipleSelect": {
                          "type": "boolean",
                          "description": "Select multiple options from the dropdown"
                        }
                      },
                      "required": [
                        "key",
                        "value"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Dropdown"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Extract"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "schema": {},
                        "useVision": {
                          "type": "boolean",
                          "default": false
                        },
                        "model": {
                          "type": "string",
                          "enum": [
                            "gpt-4.1-mini-2025-04-14",
                            "gpt-4.1-2025-04-14",
                            "gpt-5.1-2025-11-13",
                            "gpt-5.4",
                            "gpt-5.4-mini",
                            "gpt-5.4-nano",
                            "gpt-5.6-terra",
                            "gpt-5.6-luna"
                          ]
                        },
                        "overrideModelWithDefault": {
                          "type": "boolean",
                          "default": false,
                          "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                        },
                        "selector": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "xpath": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "xpath"
                          ],
                          "description": "The XPath selector to extract from."
                        },
                        "usePageImage": {
                          "type": "boolean",
                          "default": false,
                          "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
                        },
                        "knowledgeBaseIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "prompt",
                        "useVision",
                        "overrideModelWithDefault",
                        "usePageImage"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Extract"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "ExtractFromFile"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "schema": {},
                        "fileId": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "fileId"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "ParseDocument"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "ExtractFromInput"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "inputText": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "schema": {},
                        "model": {
                          "type": "string",
                          "enum": [
                            "gpt-4.1-mini-2025-04-14",
                            "gpt-4.1-2025-04-14",
                            "gpt-5.1-2025-11-13",
                            "gpt-5.4",
                            "gpt-5.4-mini",
                            "gpt-5.4-nano",
                            "gpt-5.6-terra",
                            "gpt-5.6-luna"
                          ]
                        },
                        "overrideModelWithDefault": {
                          "type": "boolean",
                          "default": false,
                          "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                        }
                      },
                      "required": [
                        "inputText",
                        "prompt",
                        "overrideModelWithDefault"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Generate"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "ExtractImages"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "imageDescriptions": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_-]+$",
                            "minLength": 1
                          },
                          "description": "List of image descriptions to extract. Each description should be a single word with no spaces (e.g., \"logo\", \"profile\", \"banner\")."
                        }
                      },
                      "required": [
                        "imageDescriptions"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Extract Images"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "QueryKnowledgeBase"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "knowledgeBaseIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "query": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "schema": {},
                        "model": {
                          "type": "string",
                          "enum": [
                            "gpt-4.1-mini-2025-04-14",
                            "gpt-4.1-2025-04-14",
                            "gpt-5.1-2025-11-13",
                            "gpt-5.4",
                            "gpt-5.4-mini",
                            "gpt-5.4-nano",
                            "gpt-5.6-terra",
                            "gpt-5.6-luna"
                          ]
                        }
                      },
                      "required": [
                        "knowledgeBaseIds",
                        "query"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "QueryKnowledgeBase"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "API"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "method": {
                          "type": "string",
                          "enum": [
                            "GET",
                            "POST",
                            "PUT",
                            "DELETE",
                            "PATCH"
                          ]
                        },
                        "route": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The API route to call"
                        },
                        "data": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The data to send to the API"
                        },
                        "failOnError": {
                          "type": "boolean"
                        },
                        "authorizationKey": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "Authorization key for API requests"
                        },
                        "useBrowserCookies": {
                          "type": "boolean",
                          "description": "Whether to use browser cookies in the request"
                        },
                        "contentType": {
                          "type": "string",
                          "enum": [
                            "JSON",
                            "FORM_DATA"
                          ],
                          "description": "Content type for the request data"
                        }
                      },
                      "required": [
                        "route"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "API"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Navigate"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "actionType": {
                              "type": "string",
                              "const": "GoTo"
                            },
                            "url": {
                              "$ref": "#/components/schemas/TextValue"
                            }
                          },
                          "required": [
                            "actionType",
                            "url"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "actionType": {
                              "type": "string",
                              "const": "GoBack"
                            }
                          },
                          "required": [
                            "actionType"
                          ]
                        }
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Navigate"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "CloseTab"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object"
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Close Page"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "ClosePopup"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "useVision": {
                          "type": "boolean"
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Close Popup",
                  "description": "Automatically close cookie consent and other popups using AI detection"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "FileUpload"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "fileId": {
                          "type": "string"
                        },
                        "fileIds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "useVision": {
                          "type": "boolean"
                        },
                        "fromOrganizationFiles": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "fileId",
                        "prompt"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Wait"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "durationSeconds": {
                          "type": "number",
                          "minimum": 0.1,
                          "maximum": 300
                        }
                      },
                      "required": [
                        "durationSeconds"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Wait"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "WaitForCondition"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "eventDescription": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "maxTimeoutSeconds": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 3600,
                          "default": 60
                        }
                      },
                      "required": [
                        "eventDescription",
                        "maxTimeoutSeconds"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "WaitForCondition"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "WaitForCaptchaSolve"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "timeoutSeconds": {
                          "type": "number"
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Wait For Captcha Solve"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "FailOnCondition"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "condition": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "message": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "code": {
                          "$ref": "#/components/schemas/TextValue"
                        }
                      },
                      "required": [
                        "condition",
                        "message"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "FailOnCondition"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "GoBack"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object"
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "RefreshPage"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object"
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Press"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "type": "string",
                          "enum": [
                            "Escape",
                            "Enter",
                            "Return",
                            "Tab",
                            "Down",
                            "Up",
                            "Left",
                            "Right"
                          ],
                          "description": "The keyboard key to press"
                        }
                      },
                      "required": [
                        "key"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Type"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "value": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The text to type"
                        }
                      },
                      "required": [
                        "value"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "TriggerWorkflow"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "workflowExternalId": {
                          "type": "string"
                        },
                        "parameters": {
                          "type": "object",
                          "additionalProperties": {}
                        }
                      },
                      "required": [
                        "workflowExternalId"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "DownloadFile"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "prompt": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "locationHint": {
                          "$ref": "#/components/schemas/TextValue"
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Download File Block"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "SaveAsPdf"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "fileName": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "key": {
                          "$ref": "#/components/schemas/TextValue"
                        }
                      }
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Save As PDF Block"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "CodeV2"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "function": {
                          "type": "string"
                        },
                        "accumulatorKey": {
                          "type": "string"
                        },
                        "accumulatorBlockName": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "function"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "CodeV2"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Transform"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "json": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The JSON template to evaluate with LiquidJS"
                        }
                      },
                      "required": [
                        "json"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Transform"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "ExitFromLoop"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "condition": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "semantic": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "condition"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Exit From Loop"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "Next"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "condition": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "semantic": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "condition"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Next"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "SendEmail"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "toAddresses": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "List of recipient email addresses"
                        },
                        "ccAddresses": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "List of CC email addresses"
                        },
                        "subject": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The email subject (supports templating)"
                        },
                        "body": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The email body content. Supports Markdown formatting (e.g., **bold**, *italic*, [links](url), tables, lists) which will be rendered as HTML in the email. Also supports Liquid.js templating."
                        },
                        "bodyPrompt": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "Deprecated: use body instead"
                        },
                        "attachments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "fileId": {
                                "type": "string",
                                "description": "The ID of a file to attach to the email"
                              }
                            },
                            "required": [
                              "fileId"
                            ]
                          },
                          "description": "List of file attachments to include in the email"
                        },
                        "fromOrganizationFiles": {
                          "type": "boolean",
                          "description": "Whether the files are selected from organization files (true) or from a parameter (false)"
                        }
                      },
                      "required": [
                        "toAddresses",
                        "subject"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "SendEmail",
                  "description": "A block that sends an email from the workflow with templated content and file attachments"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "WebSearch"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "$ref": "#/components/schemas/TextValue",
                          "description": "The search query to execute"
                        }
                      },
                      "required": [
                        "query"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "Search and Navigate"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "UnzipFile"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "fileId": {
                          "type": "string",
                          "description": "The file ID of the zip file to extract"
                        },
                        "fromOrganizationFiles": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "fileId"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship"
                  ],
                  "title": "UnzipFile"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "LoopV2"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "iterableName": {
                              "type": "string"
                            },
                            "startBlockId": {
                              "oneOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "semanticIterableKey": {
                              "type": "string"
                            },
                            "isSemantic": {
                              "type": "boolean",
                              "const": true
                            },
                            "iterableKey": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "iterableName",
                            "startBlockId",
                            "semanticIterableKey",
                            "isSemantic"
                          ]
                        },
                        {
                          "type": "object",
                          "properties": {
                            "iterableName": {
                              "type": "string"
                            },
                            "startBlockId": {
                              "oneOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "iterableKey": {
                              "type": "string"
                            },
                            "isSemantic": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "iterableName",
                            "startBlockId"
                          ]
                        }
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    },
                    "sequenceData": {
                      "type": "object",
                      "properties": {
                        "sequence": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                          },
                          "description": "Sequence of blocks within the loop"
                        }
                      },
                      "required": [
                        "sequence"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship",
                    "sequenceData"
                  ],
                  "title": "Loop"
                },
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "blockReferenceId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "const": "If"
                    },
                    "locator": {
                      "oneOf": [
                        {
                          "$ref": "#/components/schemas/ElementLocator"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "isCacheable": {
                      "type": "boolean"
                    },
                    "skipIfNotPresent": {
                      "type": "boolean"
                    },
                    "useWorkflowRecoveryAgent": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "condition": {
                          "$ref": "#/components/schemas/TextValue"
                        },
                        "semantic": {
                          "type": "boolean"
                        },
                        "trueStartBlockId": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "falseStartBlockId": {
                          "oneOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "condition",
                        "trueStartBlockId",
                        "falseStartBlockId"
                      ]
                    },
                    "parentRelationship": {
                      "type": "object",
                      "properties": {
                        "blockDepth": {
                          "type": "number"
                        },
                        "positionInSequence": {
                          "type": "number"
                        },
                        "parentBlockId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parentSequenceId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "enum": [
                            "sequence",
                            "trueSequence",
                            "falseSequence"
                          ]
                        }
                      },
                      "required": [
                        "blockDepth",
                        "positionInSequence",
                        "parentBlockId",
                        "parentSequenceId"
                      ]
                    },
                    "sequenceData": {
                      "type": "object",
                      "properties": {
                        "trueSequence": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/IfTrueNestedBlockInitializer"
                          }
                        },
                        "falseSequence": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/IfFalseNestedBlockInitializer"
                          }
                        }
                      },
                      "required": [
                        "trueSequence",
                        "falseSequence"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "blockReferenceId",
                    "type",
                    "isCacheable",
                    "skipIfNotPresent",
                    "useWorkflowRecoveryAgent",
                    "data",
                    "parentRelationship",
                    "sequenceData"
                  ],
                  "title": "If"
                }
              ]
            },
            "description": "Sequence of workflow block summaries"
          },
          "model": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "gpt-4.1-mini-2025-04-14",
                  "gpt-4.1-2025-04-14",
                  "gpt-5.1-2025-11-13",
                  "gpt-5.4",
                  "gpt-5.4-mini",
                  "gpt-5.4-nano",
                  "gpt-5.6-terra",
                  "gpt-5.6-luna"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "gemini-2.5-computer-use-preview-10-2025",
                  "gemini-3.1-pro-preview",
                  "gemini-3.1-flash-lite",
                  "gemini-3.5-flash",
                  "gemini-3.7-flash"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "claude-haiku-4-5",
                  "claude-sonnet-4-5",
                  "claude-sonnet-4-6",
                  "claude-opus-4-6",
                  "claude-sonnet-5"
                ]
              }
            ],
            "description": "The LLM model used for this workflow"
          },
          "useProxy": {
            "type": "boolean",
            "description": "Whether to use proxy for this workflow",
            "example": false
          },
          "operatingSystem": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Windows",
              "MacOS",
              "Linux"
            ],
            "description": "Operating system for browser sessions (defaults to no preference)",
            "example": "Windows"
          },
          "knowledgeBase": {
            "type": "string",
            "description": "Knowledge base text for this workflow",
            "example": "Company information and guidelines..."
          },
          "useLoginDetection": {
            "type": "boolean",
            "description": "Whether to use login detection for this workflow",
            "example": true
          },
          "blockRetryCount": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "description": "Number of retries for failed blocks",
            "example": 3
          },
          "blockBackoffStrategy": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "exponential",
              "linear"
            ],
            "description": "Backoff strategy for block retries",
            "example": "exponential"
          },
          "isOptimizedForComputerVision": {
            "type": "boolean",
            "description": "Whether this workflow is optimized for computer vision blocks (uses specialized viewport and settings)",
            "example": true
          },
          "waitBetweenBlocksMs": {
            "type": "integer",
            "minimum": 0,
            "description": "Wait time in milliseconds between executing each block",
            "example": 1000
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "description": "List of tags associated with this workflow"
          },
          "workflowGroupId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the workflow group this workflow belongs to"
          },
          "useRecoveryAgent": {
            "type": "boolean",
            "description": "Whether to enable the recovery agent for all blocks in this workflow. When enabled, all blocks will use the recovery agent regardless of their individual settings.",
            "example": false
          },
          "executionMode": {
            "type": "string",
            "enum": [
              "standard",
              "structured"
            ],
            "description": "Execution mode for this workflow. \"standard\" is the default, \"structured\" is experimental visual mode.",
            "example": "standard"
          },
          "executeInAgentMode": {
            "type": "boolean",
            "description": "Whether this workflow should execute in agent mode instead of traditional block-based execution.",
            "example": false
          },
          "agentModeKaizenVersion": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Full",
              "Lite",
              "Open",
              "Flash",
              "Fast",
              "Amethyst"
            ],
            "description": "Kaizen mode used when this workflow executes in agent mode. Null uses the organization default.",
            "example": "Full"
          },
          "agentModeSummarySchema": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {},
            "description": "JSON Schema that defines the structure of the execution summary when running in agent mode."
          }
        },
        "required": [
          "id",
          "name",
          "isAuthenticationRequired",
          "autoSaveEnabled",
          "agentModeKaizenVersion"
        ],
        "description": "Workflow definition"
      },
      "Tag": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "External ID of the tag"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "description": "Text content of the tag"
          },
          "tagHexColor": {
            "type": "string",
            "pattern": "^#[0-9A-F]{6}$",
            "description": "Hex color code for the tag (e.g., #FF5733)"
          },
          "organizationId": {
            "type": "string",
            "description": "ID of the organization that owns this tag"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the tag was created"
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when the tag was last updated"
          }
        },
        "required": [
          "id",
          "text",
          "tagHexColor",
          "organizationId",
          "createdAt",
          "updatedAt"
        ],
        "description": "Tag owned by an organization"
      },
      "SkillTemplateListEntry": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "description": "External ID of the skill template"
          },
          "name": {
            "type": "string",
            "description": "Human-readable name of the skill template"
          },
          "slug": {
            "type": "string",
            "description": "URL-safe unique identifier of the skill template (e.g. used as the template filename)"
          },
          "description": {
            "type": "string",
            "description": "Short description of what the skill template covers"
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Slash-path theme strings for the template (e.g. \"healthcare/provider-enrollment/bcbs\")"
          }
        },
        "required": [
          "externalId",
          "name",
          "slug",
          "description",
          "themes"
        ],
        "description": "Skill template visible to an organization"
      },
      "SkillTemplateDetail": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SkillTemplateListEntry"
          }
        ],
        "properties": {
          "content": {
            "type": "string",
            "description": "Full markdown content of the skill template"
          }
        },
        "required": [
          "content"
        ],
        "description": "Skill template with its full markdown content"
      },
      "AdminSkillTemplateSummary": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "description": "External ID of the skill template",
            "example": "skill_template_abc123"
          },
          "name": {
            "type": "string",
            "description": "Human-readable name"
          },
          "slug": {
            "type": "string",
            "description": "URL-safe unique identifier"
          },
          "description": {
            "type": "string",
            "description": "Short description of the template"
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Slash-path theme/tag strings"
          },
          "organizationAccess": {
            "$ref": "#/components/schemas/SkillTemplateOrganizationAccess"
          },
          "organizationCount": {
            "type": "integer",
            "description": "Number of organizations on the allow list. Meaningless when organizationAccess is \"all\"."
          },
          "managedByContentFile": {
            "type": "boolean",
            "description": "True when the template is defined by a checked-in content file and synced from code. Its name, description, content and themes are read-only; organization access is still managed here."
          },
          "updatedAt": {
            "type": "string",
            "description": "ISO timestamp of the last update"
          }
        },
        "required": [
          "externalId",
          "name",
          "slug",
          "description",
          "themes",
          "organizationAccess",
          "organizationCount",
          "managedByContentFile",
          "updatedAt"
        ],
        "description": "Skill template summary for the admin library browse view"
      },
      "SkillTemplateOrganizationAccess": {
        "type": "string",
        "enum": [
          "all",
          "selected"
        ],
        "description": "Whether the template is shared with every organization or only the selected ones"
      },
      "AdminSkillTemplateDetail": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "description": "External ID of the skill template",
            "example": "skill_template_abc123"
          },
          "name": {
            "type": "string",
            "description": "Human-readable name"
          },
          "slug": {
            "type": "string",
            "description": "URL-safe unique identifier"
          },
          "description": {
            "type": "string",
            "description": "Short description of the template"
          },
          "content": {
            "type": "string",
            "description": "Full markdown content of the template"
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Slash-path theme/tag strings"
          },
          "updatedAt": {
            "type": "string",
            "description": "ISO timestamp of the last update"
          },
          "managedByContentFile": {
            "type": "boolean",
            "description": "True when the template is defined by a checked-in content file and synced from code. Its name, description, content and themes are read-only; organization access is still managed here."
          },
          "organizationAccess": {
            "$ref": "#/components/schemas/SkillTemplateOrganizationAccess"
          },
          "organizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SkillTemplateOrganizationRef"
            },
            "description": "Organizations on the allow list. Ignored while organizationAccess is \"all\", but kept so switching back restores them."
          }
        },
        "required": [
          "externalId",
          "name",
          "slug",
          "description",
          "content",
          "themes",
          "updatedAt",
          "managedByContentFile",
          "organizationAccess",
          "organizations"
        ],
        "description": "Full skill template detail for the admin library"
      },
      "SkillTemplateOrganizationRef": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "description": "External ID of an organization",
            "example": "organization_abc123"
          },
          "name": {
            "type": "string",
            "description": "Organization name"
          },
          "authVendorId": {
            "type": "string",
            "description": "Auth vendor (Clerk) organization identifier"
          }
        },
        "required": [
          "externalId",
          "name",
          "authVendorId"
        ],
        "description": "Organization reference for the skill template allow list"
      },
      "StaticIpOption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID of the static IP"
          },
          "label": {
            "type": [
              "string",
              "null"
            ],
            "description": "Display name of the static IP"
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "description": "Region where the static IP is located"
          },
          "ipAddress": {
            "type": [
              "string",
              "null"
            ],
            "description": "IP address of the static IP"
          },
          "type": {
            "type": "string",
            "description": "Type of static IP (managed or subscription)"
          },
          "status": {
            "type": "string",
            "description": "Current status of the static IP"
          }
        },
        "required": [
          "id",
          "label",
          "region",
          "ipAddress",
          "type",
          "status"
        ],
        "description": "A static IP available for selection"
      },
      "Contact": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The contact ID",
            "example": "contact_01k9q0v4pdf5wte0h8xnhqd3xk"
          },
          "name": {
            "type": "string",
            "description": "Display name of the contact"
          },
          "methods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactMethod"
            },
            "description": "The phone and fax numbers for this contact"
          },
          "createdAt": {
            "type": "string",
            "description": "When the contact was created"
          },
          "updatedAt": {
            "type": "string",
            "description": "When the contact was last updated"
          }
        },
        "required": [
          "id",
          "name",
          "methods",
          "createdAt",
          "updatedAt"
        ],
        "description": "A contact owned by an organization"
      },
      "ContactMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The contact method ID"
          },
          "type": {
            "type": "string",
            "enum": [
              "phone",
              "fax"
            ],
            "description": "Whether the number is a phone number or a fax number"
          },
          "value": {
            "type": "string",
            "description": "The number in canonical E.164 form, e.g. \"+18448380198\""
          },
          "formattedValue": {
            "type": "string",
            "description": "The number formatted for display, e.g. \"(844) 838-0198\""
          },
          "label": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional label for this number, e.g. \"Main\" or \"Billing\". Null when the number is unlabeled."
          }
        },
        "required": [
          "id",
          "type",
          "value",
          "formattedValue",
          "label"
        ],
        "description": "A phone or fax number belonging to a contact"
      },
      "ContactMethodInput": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "phone",
              "fax"
            ],
            "description": "Whether the number is a phone number or a fax number"
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "description": "The phone or fax number. Accepts common formats and is stored in canonical E.164 form."
          },
          "label": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional label for this number, e.g. \"Main\" or \"Billing\""
          }
        },
        "required": [
          "type",
          "value"
        ],
        "description": "A phone or fax number to store on a contact"
      },
      "ResolvedContact": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "The number from the request, as it was sent"
          },
          "contactId": {
            "type": "string",
            "minLength": 1,
            "description": "The contact ID",
            "example": "contact_01k9q0v4pdf5wte0h8xnhqd3xk"
          },
          "contactName": {
            "type": "string",
            "description": "Current display name of the matching contact"
          },
          "methodType": {
            "type": "string",
            "enum": [
              "phone",
              "fax"
            ],
            "description": "Whether the number is a phone number or a fax number"
          },
          "methodLabel": {
            "type": [
              "string",
              "null"
            ],
            "description": "Label of the matching number. Null when the number is unlabeled."
          }
        },
        "required": [
          "number",
          "contactId",
          "contactName",
          "methodType",
          "methodLabel"
        ],
        "description": "A number that matched an active contact"
      },
      "ContactReference": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The contact ID",
            "example": "contact_01k9q0v4pdf5wte0h8xnhqd3xk"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Current display name of the contact. Null when the contact is no longer available."
          },
          "methods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactMethod"
            },
            "description": "Current phone and fax numbers of the contact. Empty when the contact is no longer available."
          },
          "isAvailable": {
            "type": "boolean",
            "description": "False when the contact has been deleted or cannot be read, so a saved reference to it can still be shown as unavailable."
          }
        },
        "required": [
          "id",
          "name",
          "methods",
          "isAvailable"
        ],
        "description": "The current state of a stored contact reference, such as one saved in a conversation or a skill"
      },
      "Agent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "External ID of the agent"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the agent"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of the agent"
          },
          "organizationId": {
            "type": "string",
            "description": "ID of the organization that owns this agent"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the agent was created"
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when the agent was last updated"
          }
        },
        "required": [
          "id",
          "name",
          "organizationId",
          "createdAt",
          "updatedAt"
        ],
        "description": "Agent owned by an organization"
      },
      "UIFile": {
        "type": "object",
        "properties": {
          "fileId": {
            "type": "string",
            "description": "External ID of the file"
          },
          "fileName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the file"
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ],
            "description": "MIME type of the file"
          },
          "downloadUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL to download the file"
          }
        },
        "required": [
          "fileId"
        ],
        "description": "File information for UI display"
      },
      "SessionStaticIp": {
        "type": "object",
        "properties": {
          "staticIpId": {
            "type": "string",
            "description": "ID of the static IP"
          },
          "ipAddress": {
            "type": [
              "string",
              "null"
            ],
            "description": "IP address the session goes out from"
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "description": "Region where the static IP is located"
          },
          "type": {
            "type": "string",
            "description": "Type of static IP (managed or subscription)"
          }
        },
        "required": [
          "staticIpId",
          "ipAddress",
          "region",
          "type"
        ],
        "description": "The static IP a session's browser traffic is pinned to"
      },
      "BrowserSessionRecordingScreenshot": {
        "type": "object",
        "properties": {
          "fileId": {
            "type": "string",
            "description": "External ID of the screenshot file"
          },
          "fileName": {
            "type": "string",
            "description": "Suggested file name for the screenshot"
          },
          "mimeType": {
            "type": "string",
            "description": "MIME type of the screenshot (image/png)"
          },
          "capturedAt": {
            "type": "string",
            "description": "ISO timestamp when the screenshot was captured"
          }
        },
        "required": [
          "fileId",
          "fileName",
          "mimeType",
          "capturedAt"
        ],
        "description": "A single screenshot attachment returned when a recording is stopped"
      },
      "Object_id_organizationId_name_0": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the login"
          },
          "organizationId": {
            "type": "string",
            "description": "ID of the organization that owns this login."
          },
          "name": {
            "type": "string",
            "description": "Name of the login"
          },
          "authenticationUrl": {
            "type": "string",
            "description": "URL of the authentication page"
          },
          "homeUrl": {
            "type": "string",
            "description": "URL of the home page"
          },
          "iconUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Icon URL or data URL for the login logo. Null if no custom logo is set."
          },
          "loginConfiguration": {
            "$ref": "#/components/schemas/LoginConfiguration"
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when the login was created"
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when the login was last updated"
          },
          "persistSession": {
            "type": "boolean",
            "default": true,
            "description": "Whether to persist the session after authentication"
          },
          "isManualAuthentication": {
            "type": "boolean",
            "default": false,
            "description": "Whether this login requires manual authentication"
          },
          "useLLMLoginDetection": {
            "type": "boolean",
            "description": "Whether to use LLM-powered login detection. If false, uses URL-based detection instead."
          },
          "loginDetectionPrompt": {
            "type": "string",
            "description": "Custom prompt to use for LLM-based login detection. Describes what the logged-out experience looks like."
          },
          "loginInstructionsPrompt": {
            "type": "string",
            "description": "Custom instructions for the login agent. Provides guidance on how to complete the login flow for this specific site."
          },
          "supportConcurrentLogins": {
            "type": "boolean",
            "default": true,
            "description": "Whether to allow concurrent logins using this login. When false, a lock is acquired before login to prevent simultaneous sessions."
          },
          "supportsAgentConcurrency": {
            "type": "boolean",
            "default": false,
            "description": "Whether this login supports concurrent usage by multiple agents. When false (default), only one agent can use this login at a time."
          },
          "autoRetryOnServiceDown": {
            "type": "boolean",
            "default": false,
            "description": "Whether to automatically retry scheduled executions when the target service appears to be down."
          },
          "autoRetryDelayMinutes": {
            "type": "integer",
            "default": 30,
            "description": "Number of minutes to wait before retrying when service down is detected."
          },
          "autoRetryMaxAttempts": {
            "type": "integer",
            "default": 3,
            "description": "Maximum number of service-down retry attempts before giving up."
          }
        },
        "required": [
          "id",
          "organizationId",
          "name",
          "authenticationUrl",
          "homeUrl",
          "iconUrl",
          "loginConfiguration",
          "createdAt",
          "updatedAt",
          "persistSession",
          "isManualAuthentication",
          "supportConcurrentLogins",
          "supportsAgentConcurrency",
          "autoRetryOnServiceDown",
          "autoRetryDelayMinutes",
          "autoRetryMaxAttempts"
        ]
      },
      "Union_1": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "browserSessionId": {
                "type": "string",
                "description": "ID of the browser session used for authentication"
              },
              "status": {
                "type": "string",
                "const": "InProgress",
                "description": "Status of the authentication"
              },
              "liveViewUrl": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "URL for live view of the authentication"
              }
            },
            "required": [
              "browserSessionId",
              "status",
              "liveViewUrl"
            ],
            "title": "In Progress Authentication"
          },
          {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "const": "Enqueued",
                "description": "Status of the authentication"
              }
            },
            "required": [
              "status"
            ],
            "title": "Enqueued Authentication"
          },
          {
            "type": "object",
            "properties": {
              "browserSessionId": {
                "type": "string",
                "description": "ID of the browser session used for authentication"
              },
              "status": {
                "type": "string",
                "const": "Completed",
                "description": "Status of the authentication"
              }
            },
            "required": [
              "browserSessionId",
              "status"
            ],
            "title": "Finished Authentication"
          },
          {
            "type": "object",
            "properties": {
              "browserSessionId": {
                "type": "string",
                "description": "ID of the browser session used for authentication"
              },
              "status": {
                "type": "string",
                "const": "Failed",
                "description": "Status of the authentication"
              }
            },
            "required": [
              "browserSessionId",
              "status"
            ],
            "title": "Failed Authentication"
          }
        ]
      },
      "Array_2": {
        "type": "array",
        "items": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "browserSessionId": {
                  "type": "string",
                  "description": "ID of the browser session used for authentication"
                },
                "status": {
                  "type": "string",
                  "const": "InProgress",
                  "description": "Status of the authentication"
                },
                "liveViewUrl": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "URL for live view of the authentication"
                }
              },
              "required": [
                "browserSessionId",
                "status",
                "liveViewUrl"
              ],
              "title": "In Progress Authentication"
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "Enqueued",
                  "description": "Status of the authentication"
                }
              },
              "required": [
                "status"
              ],
              "title": "Enqueued Authentication"
            },
            {
              "type": "object",
              "properties": {
                "browserSessionId": {
                  "type": "string",
                  "description": "ID of the browser session used for authentication"
                },
                "status": {
                  "type": "string",
                  "const": "Completed",
                  "description": "Status of the authentication"
                }
              },
              "required": [
                "browserSessionId",
                "status"
              ],
              "title": "Finished Authentication"
            },
            {
              "type": "object",
              "properties": {
                "browserSessionId": {
                  "type": "string",
                  "description": "ID of the browser session used for authentication"
                },
                "status": {
                  "type": "string",
                  "const": "Failed",
                  "description": "Status of the authentication"
                }
              },
              "required": [
                "browserSessionId",
                "status"
              ],
              "title": "Failed Authentication"
            }
          ]
        },
        "description": "Authentication responses for this execution"
      },
      "Object_contextAuthenticationId_loginSummary_authenticationStatus_3": {
        "type": "object",
        "properties": {
          "contextAuthenticationId": {
            "type": "string",
            "description": "ID of the context authentication"
          },
          "loginSummary": {
            "type": "object",
            "properties": {
              "loginId": {
                "type": "string",
                "description": "ID of the login used for authentication"
              },
              "name": {
                "type": "string",
                "description": "Name of the login used for authentication"
              },
              "isManual": {
                "type": "boolean",
                "description": "Whether this login requires manual authentication"
              }
            },
            "required": [
              "loginId",
              "name",
              "isManual"
            ]
          },
          "authenticationStatus": {
            "type": "string",
            "enum": [
              "Unauthenticated",
              "AuthenticationInProgress",
              "Authenticated"
            ],
            "description": "Current status of the authentication from browser context"
          }
        },
        "required": [
          "contextAuthenticationId",
          "loginSummary",
          "authenticationStatus"
        ]
      },
      "Array_4": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "contextAuthenticationId": {
              "type": "string",
              "description": "ID of the context authentication"
            },
            "loginSummary": {
              "type": "object",
              "properties": {
                "loginId": {
                  "type": "string",
                  "description": "ID of the login used for authentication"
                },
                "name": {
                  "type": "string",
                  "description": "Name of the login used for authentication"
                },
                "isManual": {
                  "type": "boolean",
                  "description": "Whether this login requires manual authentication"
                }
              },
              "required": [
                "loginId",
                "name",
                "isManual"
              ]
            },
            "authenticationStatus": {
              "type": "string",
              "enum": [
                "Unauthenticated",
                "AuthenticationInProgress",
                "Authenticated"
              ],
              "description": "Current status of the authentication from browser context"
            }
          },
          "required": [
            "contextAuthenticationId",
            "loginSummary",
            "authenticationStatus"
          ]
        },
        "description": "Session authentication responses with login summary for this execution"
      },
      "Login_5": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Login"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "loginId": {
                "type": "string"
              },
              "isParameter": {
                "type": "boolean"
              },
              "forceLoginEveryTime": {
                "type": "boolean"
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Login"
      },
      "FormBlock_6": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Form"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "dataPrompt": {
                "$ref": "#/components/schemas/TextValue",
                "description": "Prompt containing the actual data/information to fill into the form fields"
              }
            },
            "required": [
              "dataPrompt"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Form Block",
        "description": "A block that automatically maps and fills input fields on a form using AI-powered field detection and data mapping."
      },
      "FillDocument_7": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "FillDocument"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "fileId": {
                "type": "string",
                "description": "The ID of the file to fill"
              },
              "prompt": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The prompt describing what to fill in the document"
              }
            },
            "required": [
              "fileId",
              "prompt"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "FillDocument",
        "description": "A block that fills a document with specified content using AI"
      },
      "FillSpreadsheet_8": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "FillSpreadsheet"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "fileId": {
                "type": "string",
                "description": "The ID of the Excel file to fill"
              },
              "prompt": {
                "$ref": "#/components/schemas/TextValue",
                "description": "Optional additional instructions for the LLM when generating row data"
              },
              "fromOrganizationFiles": {
                "type": "boolean",
                "description": "Whether the file is selected from organization files (true) or from a parameter (false)"
              }
            },
            "required": [
              "fileId"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Fill Spreadsheet",
        "description": "A block that reads an Excel file, extracts column headers from the second row, and uses an LLM to generate data for the third row"
      },
      "MouseBlock_9": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Mouse"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "locationHint": {
                "$ref": "#/components/schemas/TextValue"
              },
              "doubleClick": {
                "type": "boolean"
              },
              "force": {
                "type": "boolean"
              },
              "useVision": {
                "type": "boolean"
              },
              "segment": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "top",
                  "left"
                ]
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Mouse Block"
      },
      "HoverBlock_10": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Hover"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "locationHint": {
                "$ref": "#/components/schemas/TextValue"
              },
              "useVision": {
                "type": "boolean"
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Hover Block"
      },
      "Search_11": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Search"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "query": {
                "$ref": "#/components/schemas/TextValue"
              },
              "shouldNotClearFirst": {
                "type": "boolean",
                "default": true
              },
              "shouldType": {
                "type": "boolean"
              },
              "agenticSearch": {
                "type": "boolean"
              },
              "knowledgeBaseIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "instructions": {
                "$ref": "#/components/schemas/TextValue"
              },
              "skipIfMaxStepsReached": {
                "type": "boolean"
              }
            },
            "required": [
              "prompt",
              "query",
              "shouldNotClearFirst"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Search"
      },
      "Union_12": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "code",
                  "aiInference"
                ]
              },
              "useVision": {
                "type": "boolean"
              },
              "inputType": {
                "type": "string",
                "const": "TextInput"
              },
              "value": {
                "type": "string"
              },
              "semanticValue": {
                "type": "string"
              },
              "knowledgeBaseIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "shouldNotClearFirst": {
                "type": "boolean"
              }
            },
            "required": [
              "key",
              "inputType",
              "semanticValue"
            ]
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "code",
                  "aiInference"
                ]
              },
              "useVision": {
                "type": "boolean"
              },
              "inputType": {
                "type": "string",
                "const": "TextInput"
              },
              "value": {
                "type": "string"
              },
              "semanticValue": {
                "type": "string"
              },
              "knowledgeBaseIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "shouldNotClearFirst": {
                "type": "boolean"
              }
            },
            "required": [
              "key",
              "inputType",
              "value"
            ]
          }
        ]
      },
      "Union_13": {
        "oneOf": [
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "code",
                      "aiInference"
                    ]
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "inputType": {
                    "type": "string",
                    "const": "TextInput"
                  },
                  "value": {
                    "type": "string"
                  },
                  "semanticValue": {
                    "type": "string"
                  },
                  "knowledgeBaseIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "shouldNotClearFirst": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "key",
                  "inputType",
                  "semanticValue"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "code",
                      "aiInference"
                    ]
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "inputType": {
                    "type": "string",
                    "const": "TextInput"
                  },
                  "value": {
                    "type": "string"
                  },
                  "semanticValue": {
                    "type": "string"
                  },
                  "knowledgeBaseIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "shouldNotClearFirst": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "key",
                  "inputType",
                  "value"
                ]
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "code",
                  "aiInference"
                ]
              },
              "useVision": {
                "type": "boolean"
              },
              "inputType": {
                "type": "string",
                "const": "SensitiveTextInput"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "inputType",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "code",
                  "aiInference"
                ]
              },
              "useVision": {
                "type": "boolean"
              },
              "inputType": {
                "type": "string",
                "const": "Dropdown"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "inputType",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "code",
                  "aiInference"
                ]
              },
              "useVision": {
                "type": "boolean"
              },
              "inputType": {
                "type": "string",
                "const": "NativeDropdown"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "inputType",
              "value"
            ]
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "code",
                  "aiInference"
                ]
              },
              "useVision": {
                "type": "boolean"
              },
              "inputType": {
                "type": "string",
                "const": "Checkbox"
              },
              "value": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "inputType",
              "value"
            ]
          }
        ]
      },
      "Input_14": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Input"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "oneOf": [
              {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "code",
                          "aiInference"
                        ]
                      },
                      "useVision": {
                        "type": "boolean"
                      },
                      "inputType": {
                        "type": "string",
                        "const": "TextInput"
                      },
                      "value": {
                        "type": "string"
                      },
                      "semanticValue": {
                        "type": "string"
                      },
                      "knowledgeBaseIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "shouldNotClearFirst": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "key",
                      "inputType",
                      "semanticValue"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "code",
                          "aiInference"
                        ]
                      },
                      "useVision": {
                        "type": "boolean"
                      },
                      "inputType": {
                        "type": "string",
                        "const": "TextInput"
                      },
                      "value": {
                        "type": "string"
                      },
                      "semanticValue": {
                        "type": "string"
                      },
                      "knowledgeBaseIds": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "shouldNotClearFirst": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "key",
                      "inputType",
                      "value"
                    ]
                  }
                ]
              },
              {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "code",
                      "aiInference"
                    ]
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "inputType": {
                    "type": "string",
                    "const": "SensitiveTextInput"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "inputType",
                  "value"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "code",
                      "aiInference"
                    ]
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "inputType": {
                    "type": "string",
                    "const": "Dropdown"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "inputType",
                  "value"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "code",
                      "aiInference"
                    ]
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "inputType": {
                    "type": "string",
                    "const": "NativeDropdown"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "inputType",
                  "value"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "code",
                      "aiInference"
                    ]
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "inputType": {
                    "type": "string",
                    "const": "Checkbox"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "inputType",
                  "value"
                ]
              }
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Input"
      },
      "DateInput_15": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "DateInput"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "key": {
                "$ref": "#/components/schemas/TextValue"
              },
              "value": {
                "$ref": "#/components/schemas/TextValue"
              },
              "useVision": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "key",
              "value",
              "useVision"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Date Input"
      },
      "Dropdown_16": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Dropdown"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "key": {
                "$ref": "#/components/schemas/TextValue",
                "description": "Label or field description for the dropdown"
              },
              "value": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The option text to select from the dropdown"
              },
              "useVision": {
                "type": "boolean",
                "description": "Use AI vision to identify and click the dropdown and option instead of selectors"
              },
              "multipleSelect": {
                "type": "boolean",
                "description": "Select multiple options from the dropdown"
              }
            },
            "required": [
              "key",
              "value"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Dropdown"
      },
      "Object_prompt_schema_useVision_17": {
        "type": "object",
        "properties": {
          "prompt": {
            "$ref": "#/components/schemas/TextValue"
          },
          "schema": {},
          "useVision": {
            "type": "boolean",
            "default": false
          },
          "model": {
            "type": "string",
            "enum": [
              "gpt-4.1-mini-2025-04-14",
              "gpt-4.1-2025-04-14",
              "gpt-5.1-2025-11-13",
              "gpt-5.4",
              "gpt-5.4-mini",
              "gpt-5.4-nano",
              "gpt-5.6-terra",
              "gpt-5.6-luna"
            ]
          },
          "overrideModelWithDefault": {
            "type": "boolean",
            "default": false,
            "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
          },
          "selector": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "xpath": {
                "type": "string"
              }
            },
            "required": [
              "xpath"
            ],
            "description": "The XPath selector to extract from."
          },
          "usePageImage": {
            "type": "boolean",
            "default": false,
            "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
          },
          "knowledgeBaseIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "prompt",
          "useVision",
          "overrideModelWithDefault",
          "usePageImage"
        ]
      },
      "Extract_18": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Extract"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "schema": {},
              "useVision": {
                "type": "boolean",
                "default": false
              },
              "model": {
                "type": "string",
                "enum": [
                  "gpt-4.1-mini-2025-04-14",
                  "gpt-4.1-2025-04-14",
                  "gpt-5.1-2025-11-13",
                  "gpt-5.4",
                  "gpt-5.4-mini",
                  "gpt-5.4-nano",
                  "gpt-5.6-terra",
                  "gpt-5.6-luna"
                ]
              },
              "overrideModelWithDefault": {
                "type": "boolean",
                "default": false,
                "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
              },
              "selector": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "xpath": {
                    "type": "string"
                  }
                },
                "required": [
                  "xpath"
                ],
                "description": "The XPath selector to extract from."
              },
              "usePageImage": {
                "type": "boolean",
                "default": false,
                "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
              },
              "knowledgeBaseIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "prompt",
              "useVision",
              "overrideModelWithDefault",
              "usePageImage"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Extract"
      },
      "ParseDocument_19": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "ExtractFromFile"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "schema": {},
              "fileId": {
                "type": "string"
              }
            },
            "required": [
              "fileId"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "ParseDocument"
      },
      "Object_inputText_prompt_schema_20": {
        "type": "object",
        "properties": {
          "inputText": {
            "$ref": "#/components/schemas/TextValue"
          },
          "prompt": {
            "$ref": "#/components/schemas/TextValue"
          },
          "schema": {},
          "model": {
            "type": "string",
            "enum": [
              "gpt-4.1-mini-2025-04-14",
              "gpt-4.1-2025-04-14",
              "gpt-5.1-2025-11-13",
              "gpt-5.4",
              "gpt-5.4-mini",
              "gpt-5.4-nano",
              "gpt-5.6-terra",
              "gpt-5.6-luna"
            ]
          },
          "overrideModelWithDefault": {
            "type": "boolean",
            "default": false,
            "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
          }
        },
        "required": [
          "inputText",
          "prompt",
          "overrideModelWithDefault"
        ]
      },
      "Generate_21": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "ExtractFromInput"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "inputText": {
                "$ref": "#/components/schemas/TextValue"
              },
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "schema": {},
              "model": {
                "type": "string",
                "enum": [
                  "gpt-4.1-mini-2025-04-14",
                  "gpt-4.1-2025-04-14",
                  "gpt-5.1-2025-11-13",
                  "gpt-5.4",
                  "gpt-5.4-mini",
                  "gpt-5.4-nano",
                  "gpt-5.6-terra",
                  "gpt-5.6-luna"
                ]
              },
              "overrideModelWithDefault": {
                "type": "boolean",
                "default": false,
                "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
              }
            },
            "required": [
              "inputText",
              "prompt",
              "overrideModelWithDefault"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Generate"
      },
      "ExtractImages_22": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "ExtractImages"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "imageDescriptions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "minLength": 1
                },
                "description": "List of image descriptions to extract. Each description should be a single word with no spaces (e.g., \"logo\", \"profile\", \"banner\")."
              }
            },
            "required": [
              "imageDescriptions"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Extract Images"
      },
      "QueryKnowledgeBase_23": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "QueryKnowledgeBase"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "knowledgeBaseIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "query": {
                "$ref": "#/components/schemas/TextValue"
              },
              "schema": {},
              "model": {
                "type": "string",
                "enum": [
                  "gpt-4.1-mini-2025-04-14",
                  "gpt-4.1-2025-04-14",
                  "gpt-5.1-2025-11-13",
                  "gpt-5.4",
                  "gpt-5.4-mini",
                  "gpt-5.4-nano",
                  "gpt-5.6-terra",
                  "gpt-5.6-luna"
                ]
              }
            },
            "required": [
              "knowledgeBaseIds",
              "query"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "QueryKnowledgeBase"
      },
      "Object_method_route_data_24": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST",
              "PUT",
              "DELETE",
              "PATCH"
            ]
          },
          "route": {
            "$ref": "#/components/schemas/TextValue",
            "description": "The API route to call"
          },
          "data": {
            "$ref": "#/components/schemas/TextValue",
            "description": "The data to send to the API"
          },
          "failOnError": {
            "type": "boolean"
          },
          "authorizationKey": {
            "$ref": "#/components/schemas/TextValue",
            "description": "Authorization key for API requests"
          },
          "useBrowserCookies": {
            "type": "boolean",
            "description": "Whether to use browser cookies in the request"
          },
          "contentType": {
            "type": "string",
            "enum": [
              "JSON",
              "FORM_DATA"
            ],
            "description": "Content type for the request data"
          }
        },
        "required": [
          "route"
        ]
      },
      "API_25": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "API"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "method": {
                "type": "string",
                "enum": [
                  "GET",
                  "POST",
                  "PUT",
                  "DELETE",
                  "PATCH"
                ]
              },
              "route": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The API route to call"
              },
              "data": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The data to send to the API"
              },
              "failOnError": {
                "type": "boolean"
              },
              "authorizationKey": {
                "$ref": "#/components/schemas/TextValue",
                "description": "Authorization key for API requests"
              },
              "useBrowserCookies": {
                "type": "boolean",
                "description": "Whether to use browser cookies in the request"
              },
              "contentType": {
                "type": "string",
                "enum": [
                  "JSON",
                  "FORM_DATA"
                ],
                "description": "Content type for the request data"
              }
            },
            "required": [
              "route"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "API"
      },
      "Navigate_26": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Navigate"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "actionType": {
                    "type": "string",
                    "const": "GoTo"
                  },
                  "url": {
                    "$ref": "#/components/schemas/TextValue"
                  }
                },
                "required": [
                  "actionType",
                  "url"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "actionType": {
                    "type": "string",
                    "const": "GoBack"
                  }
                },
                "required": [
                  "actionType"
                ]
              }
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Navigate"
      },
      "ClosePage_27": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "CloseTab"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object"
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Close Page"
      },
      "ClosePopup_28": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "ClosePopup"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "useVision": {
                "type": "boolean"
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Close Popup",
        "description": "Automatically close cookie consent and other popups using AI detection"
      },
      "Object_id_name_blockReferenceId_29": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "FileUpload"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "fileId": {
                "type": "string"
              },
              "fileIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "useVision": {
                "type": "boolean"
              },
              "fromOrganizationFiles": {
                "type": "boolean"
              }
            },
            "required": [
              "fileId",
              "prompt"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ]
      },
      "Wait_30": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Wait"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "durationSeconds": {
                "type": "number",
                "minimum": 0.1,
                "maximum": 300
              }
            },
            "required": [
              "durationSeconds"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Wait"
      },
      "WaitForCondition_31": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "WaitForCondition"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "eventDescription": {
                "$ref": "#/components/schemas/TextValue"
              },
              "maxTimeoutSeconds": {
                "type": "number",
                "minimum": 1,
                "maximum": 3600,
                "default": 60
              }
            },
            "required": [
              "eventDescription",
              "maxTimeoutSeconds"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "WaitForCondition"
      },
      "WaitForCaptchaSolve_32": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "WaitForCaptchaSolve"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "timeoutSeconds": {
                "type": "number"
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Wait For Captcha Solve"
      },
      "FailOnCondition_33": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "FailOnCondition"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "condition": {
                "$ref": "#/components/schemas/TextValue"
              },
              "message": {
                "$ref": "#/components/schemas/TextValue"
              },
              "code": {
                "$ref": "#/components/schemas/TextValue"
              }
            },
            "required": [
              "condition",
              "message"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "FailOnCondition"
      },
      "Object_id_name_blockReferenceId_34": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "GoBack"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object"
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ]
      },
      "Object_id_name_blockReferenceId_35": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "RefreshPage"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object"
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ]
      },
      "Object_id_name_blockReferenceId_36": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Press"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "enum": [
                  "Escape",
                  "Enter",
                  "Return",
                  "Tab",
                  "Down",
                  "Up",
                  "Left",
                  "Right"
                ],
                "description": "The keyboard key to press"
              }
            },
            "required": [
              "key"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ]
      },
      "Object_id_name_blockReferenceId_37": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Type"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "value": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The text to type"
              }
            },
            "required": [
              "value"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ]
      },
      "Object_id_name_blockReferenceId_38": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "TriggerWorkflow"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "workflowExternalId": {
                "type": "string"
              },
              "parameters": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "workflowExternalId"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ]
      },
      "DownloadFileBlock_39": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "DownloadFile"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "key": {
                "$ref": "#/components/schemas/TextValue"
              },
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "locationHint": {
                "$ref": "#/components/schemas/TextValue"
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Download File Block"
      },
      "SaveAsPDFBlock_40": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "SaveAsPdf"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "fileName": {
                "$ref": "#/components/schemas/TextValue"
              },
              "key": {
                "$ref": "#/components/schemas/TextValue"
              }
            }
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Save As PDF Block"
      },
      "CodeV2_41": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "CodeV2"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "function": {
                "type": "string"
              },
              "accumulatorKey": {
                "type": "string"
              },
              "accumulatorBlockName": {
                "type": "string"
              }
            },
            "required": [
              "function"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "CodeV2"
      },
      "Transform_42": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Transform"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "json": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The JSON template to evaluate with LiquidJS"
              }
            },
            "required": [
              "json"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Transform"
      },
      "ExitFromLoop_43": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "ExitFromLoop"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "condition": {
                "$ref": "#/components/schemas/TextValue"
              },
              "semantic": {
                "type": "boolean"
              }
            },
            "required": [
              "condition"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Exit From Loop"
      },
      "Next_44": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Next"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "condition": {
                "$ref": "#/components/schemas/TextValue"
              },
              "semantic": {
                "type": "boolean"
              }
            },
            "required": [
              "condition"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Next"
      },
      "Object_toAddresses_ccAddresses_subject_45": {
        "type": "object",
        "properties": {
          "toAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of recipient email addresses"
          },
          "ccAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of CC email addresses"
          },
          "subject": {
            "$ref": "#/components/schemas/TextValue",
            "description": "The email subject (supports templating)"
          },
          "body": {
            "$ref": "#/components/schemas/TextValue",
            "description": "The email body content. Supports Markdown formatting (e.g., **bold**, *italic*, [links](url), tables, lists) which will be rendered as HTML in the email. Also supports Liquid.js templating."
          },
          "bodyPrompt": {
            "$ref": "#/components/schemas/TextValue",
            "description": "Deprecated: use body instead"
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fileId": {
                  "type": "string",
                  "description": "The ID of a file to attach to the email"
                }
              },
              "required": [
                "fileId"
              ]
            },
            "description": "List of file attachments to include in the email"
          },
          "fromOrganizationFiles": {
            "type": "boolean",
            "description": "Whether the files are selected from organization files (true) or from a parameter (false)"
          }
        },
        "required": [
          "toAddresses",
          "subject"
        ]
      },
      "SendEmail_46": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "SendEmail"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "toAddresses": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "List of recipient email addresses"
              },
              "ccAddresses": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "List of CC email addresses"
              },
              "subject": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The email subject (supports templating)"
              },
              "body": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The email body content. Supports Markdown formatting (e.g., **bold**, *italic*, [links](url), tables, lists) which will be rendered as HTML in the email. Also supports Liquid.js templating."
              },
              "bodyPrompt": {
                "$ref": "#/components/schemas/TextValue",
                "description": "Deprecated: use body instead"
              },
              "attachments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "fileId": {
                      "type": "string",
                      "description": "The ID of a file to attach to the email"
                    }
                  },
                  "required": [
                    "fileId"
                  ]
                },
                "description": "List of file attachments to include in the email"
              },
              "fromOrganizationFiles": {
                "type": "boolean",
                "description": "Whether the files are selected from organization files (true) or from a parameter (false)"
              }
            },
            "required": [
              "toAddresses",
              "subject"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "SendEmail",
        "description": "A block that sends an email from the workflow with templated content and file attachments"
      },
      "SearchandNavigate_47": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "WebSearch"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "query": {
                "$ref": "#/components/schemas/TextValue",
                "description": "The search query to execute"
              }
            },
            "required": [
              "query"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Search and Navigate"
      },
      "UnzipFile_48": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "UnzipFile"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "fileId": {
                "type": "string",
                "description": "The file ID of the zip file to extract"
              },
              "fromOrganizationFiles": {
                "type": "boolean"
              }
            },
            "required": [
              "fileId"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "UnzipFile"
      },
      "Union_49": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "iterableName": {
                "type": "string"
              },
              "startBlockId": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "semanticIterableKey": {
                "type": "string"
              },
              "isSemantic": {
                "type": "boolean",
                "const": true
              },
              "iterableKey": {
                "type": "string"
              }
            },
            "required": [
              "iterableName",
              "startBlockId",
              "semanticIterableKey",
              "isSemantic"
            ]
          },
          {
            "type": "object",
            "properties": {
              "iterableName": {
                "type": "string"
              },
              "startBlockId": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "iterableKey": {
                "type": "string"
              },
              "isSemantic": {
                "type": "boolean"
              }
            },
            "required": [
              "iterableName",
              "startBlockId"
            ]
          }
        ]
      },
      "Loop_50": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "LoopV2"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "iterableName": {
                    "type": "string"
                  },
                  "startBlockId": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "semanticIterableKey": {
                    "type": "string"
                  },
                  "isSemantic": {
                    "type": "boolean",
                    "const": true
                  },
                  "iterableKey": {
                    "type": "string"
                  }
                },
                "required": [
                  "iterableName",
                  "startBlockId",
                  "semanticIterableKey",
                  "isSemantic"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "iterableName": {
                    "type": "string"
                  },
                  "startBlockId": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "iterableKey": {
                    "type": "string"
                  },
                  "isSemantic": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "iterableName",
                  "startBlockId"
                ]
              }
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          },
          "sequenceData": {
            "type": "object",
            "properties": {
              "sequence": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                },
                "description": "Sequence of blocks within the loop"
              }
            },
            "required": [
              "sequence"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship",
          "sequenceData"
        ],
        "title": "Loop"
      },
      "If_51": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "If"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "condition": {
                "$ref": "#/components/schemas/TextValue"
              },
              "semantic": {
                "type": "boolean"
              },
              "trueStartBlockId": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "falseStartBlockId": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "condition",
              "trueStartBlockId",
              "falseStartBlockId"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          },
          "sequenceData": {
            "type": "object",
            "properties": {
              "trueSequence": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IfTrueNestedBlockInitializer"
                }
              },
              "falseSequence": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/IfFalseNestedBlockInitializer"
                }
              }
            },
            "required": [
              "trueSequence",
              "falseSequence"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship",
          "sequenceData"
        ],
        "title": "If"
      },
      "Union_52": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Login"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "loginId": {
                    "type": "string"
                  },
                  "isParameter": {
                    "type": "boolean"
                  },
                  "forceLoginEveryTime": {
                    "type": "boolean"
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Login"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Form"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "dataPrompt": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "Prompt containing the actual data/information to fill into the form fields"
                  }
                },
                "required": [
                  "dataPrompt"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Form Block",
            "description": "A block that automatically maps and fills input fields on a form using AI-powered field detection and data mapping."
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "FillDocument"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "fileId": {
                    "type": "string",
                    "description": "The ID of the file to fill"
                  },
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The prompt describing what to fill in the document"
                  }
                },
                "required": [
                  "fileId",
                  "prompt"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "FillDocument",
            "description": "A block that fills a document with specified content using AI"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "FillSpreadsheet"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "fileId": {
                    "type": "string",
                    "description": "The ID of the Excel file to fill"
                  },
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "Optional additional instructions for the LLM when generating row data"
                  },
                  "fromOrganizationFiles": {
                    "type": "boolean",
                    "description": "Whether the file is selected from organization files (true) or from a parameter (false)"
                  }
                },
                "required": [
                  "fileId"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Fill Spreadsheet",
            "description": "A block that reads an Excel file, extracts column headers from the second row, and uses an LLM to generate data for the third row"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Mouse"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "locationHint": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "doubleClick": {
                    "type": "boolean"
                  },
                  "force": {
                    "type": "boolean"
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "segment": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "top",
                      "left"
                    ]
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Mouse Block"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Hover"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "locationHint": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "useVision": {
                    "type": "boolean"
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Hover Block"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Search"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "query": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "shouldNotClearFirst": {
                    "type": "boolean",
                    "default": true
                  },
                  "shouldType": {
                    "type": "boolean"
                  },
                  "agenticSearch": {
                    "type": "boolean"
                  },
                  "knowledgeBaseIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "instructions": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "skipIfMaxStepsReached": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "prompt",
                  "query",
                  "shouldNotClearFirst"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Search"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Input"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "oneOf": [
                  {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "mode": {
                            "type": "string",
                            "enum": [
                              "code",
                              "aiInference"
                            ]
                          },
                          "useVision": {
                            "type": "boolean"
                          },
                          "inputType": {
                            "type": "string",
                            "const": "TextInput"
                          },
                          "value": {
                            "type": "string"
                          },
                          "semanticValue": {
                            "type": "string"
                          },
                          "knowledgeBaseIds": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "shouldNotClearFirst": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "key",
                          "inputType",
                          "semanticValue"
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "mode": {
                            "type": "string",
                            "enum": [
                              "code",
                              "aiInference"
                            ]
                          },
                          "useVision": {
                            "type": "boolean"
                          },
                          "inputType": {
                            "type": "string",
                            "const": "TextInput"
                          },
                          "value": {
                            "type": "string"
                          },
                          "semanticValue": {
                            "type": "string"
                          },
                          "knowledgeBaseIds": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "shouldNotClearFirst": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "key",
                          "inputType",
                          "value"
                        ]
                      }
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "code",
                          "aiInference"
                        ]
                      },
                      "useVision": {
                        "type": "boolean"
                      },
                      "inputType": {
                        "type": "string",
                        "const": "SensitiveTextInput"
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "inputType",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "code",
                          "aiInference"
                        ]
                      },
                      "useVision": {
                        "type": "boolean"
                      },
                      "inputType": {
                        "type": "string",
                        "const": "Dropdown"
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "inputType",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "code",
                          "aiInference"
                        ]
                      },
                      "useVision": {
                        "type": "boolean"
                      },
                      "inputType": {
                        "type": "string",
                        "const": "NativeDropdown"
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "inputType",
                      "value"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "key": {
                        "type": "string"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "code",
                          "aiInference"
                        ]
                      },
                      "useVision": {
                        "type": "boolean"
                      },
                      "inputType": {
                        "type": "string",
                        "const": "Checkbox"
                      },
                      "value": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "inputType",
                      "value"
                    ]
                  }
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Input"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "DateInput"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "key": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "value": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "useVision": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "key",
                  "value",
                  "useVision"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Date Input"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Dropdown"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "key": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "Label or field description for the dropdown"
                  },
                  "value": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The option text to select from the dropdown"
                  },
                  "useVision": {
                    "type": "boolean",
                    "description": "Use AI vision to identify and click the dropdown and option instead of selectors"
                  },
                  "multipleSelect": {
                    "type": "boolean",
                    "description": "Select multiple options from the dropdown"
                  }
                },
                "required": [
                  "key",
                  "value"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Dropdown"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Extract"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "schema": {},
                  "useVision": {
                    "type": "boolean",
                    "default": false
                  },
                  "model": {
                    "type": "string",
                    "enum": [
                      "gpt-4.1-mini-2025-04-14",
                      "gpt-4.1-2025-04-14",
                      "gpt-5.1-2025-11-13",
                      "gpt-5.4",
                      "gpt-5.4-mini",
                      "gpt-5.4-nano",
                      "gpt-5.6-terra",
                      "gpt-5.6-luna"
                    ]
                  },
                  "overrideModelWithDefault": {
                    "type": "boolean",
                    "default": false,
                    "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                  },
                  "selector": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "xpath": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "xpath"
                    ],
                    "description": "The XPath selector to extract from."
                  },
                  "usePageImage": {
                    "type": "boolean",
                    "default": false,
                    "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
                  },
                  "knowledgeBaseIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "prompt",
                  "useVision",
                  "overrideModelWithDefault",
                  "usePageImage"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Extract"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "ExtractFromFile"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "schema": {},
                  "fileId": {
                    "type": "string"
                  }
                },
                "required": [
                  "fileId"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "ParseDocument"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "ExtractFromInput"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "inputText": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "schema": {},
                  "model": {
                    "type": "string",
                    "enum": [
                      "gpt-4.1-mini-2025-04-14",
                      "gpt-4.1-2025-04-14",
                      "gpt-5.1-2025-11-13",
                      "gpt-5.4",
                      "gpt-5.4-mini",
                      "gpt-5.4-nano",
                      "gpt-5.6-terra",
                      "gpt-5.6-luna"
                    ]
                  },
                  "overrideModelWithDefault": {
                    "type": "boolean",
                    "default": false,
                    "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
                  }
                },
                "required": [
                  "inputText",
                  "prompt",
                  "overrideModelWithDefault"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Generate"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "ExtractImages"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "imageDescriptions": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "minLength": 1
                    },
                    "description": "List of image descriptions to extract. Each description should be a single word with no spaces (e.g., \"logo\", \"profile\", \"banner\")."
                  }
                },
                "required": [
                  "imageDescriptions"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Extract Images"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "QueryKnowledgeBase"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "knowledgeBaseIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "query": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "schema": {},
                  "model": {
                    "type": "string",
                    "enum": [
                      "gpt-4.1-mini-2025-04-14",
                      "gpt-4.1-2025-04-14",
                      "gpt-5.1-2025-11-13",
                      "gpt-5.4",
                      "gpt-5.4-mini",
                      "gpt-5.4-nano",
                      "gpt-5.6-terra",
                      "gpt-5.6-luna"
                    ]
                  }
                },
                "required": [
                  "knowledgeBaseIds",
                  "query"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "QueryKnowledgeBase"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "API"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "method": {
                    "type": "string",
                    "enum": [
                      "GET",
                      "POST",
                      "PUT",
                      "DELETE",
                      "PATCH"
                    ]
                  },
                  "route": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The API route to call"
                  },
                  "data": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The data to send to the API"
                  },
                  "failOnError": {
                    "type": "boolean"
                  },
                  "authorizationKey": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "Authorization key for API requests"
                  },
                  "useBrowserCookies": {
                    "type": "boolean",
                    "description": "Whether to use browser cookies in the request"
                  },
                  "contentType": {
                    "type": "string",
                    "enum": [
                      "JSON",
                      "FORM_DATA"
                    ],
                    "description": "Content type for the request data"
                  }
                },
                "required": [
                  "route"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "API"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Navigate"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "actionType": {
                        "type": "string",
                        "const": "GoTo"
                      },
                      "url": {
                        "$ref": "#/components/schemas/TextValue"
                      }
                    },
                    "required": [
                      "actionType",
                      "url"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "actionType": {
                        "type": "string",
                        "const": "GoBack"
                      }
                    },
                    "required": [
                      "actionType"
                    ]
                  }
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Navigate"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "CloseTab"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object"
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Close Page"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "ClosePopup"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "useVision": {
                    "type": "boolean"
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Close Popup",
            "description": "Automatically close cookie consent and other popups using AI detection"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "FileUpload"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "fileId": {
                    "type": "string"
                  },
                  "fileIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "useVision": {
                    "type": "boolean"
                  },
                  "fromOrganizationFiles": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "fileId",
                  "prompt"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Wait"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "durationSeconds": {
                    "type": "number",
                    "minimum": 0.1,
                    "maximum": 300
                  }
                },
                "required": [
                  "durationSeconds"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Wait"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "WaitForCondition"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "eventDescription": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "maxTimeoutSeconds": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 3600,
                    "default": 60
                  }
                },
                "required": [
                  "eventDescription",
                  "maxTimeoutSeconds"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "WaitForCondition"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "WaitForCaptchaSolve"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "timeoutSeconds": {
                    "type": "number"
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Wait For Captcha Solve"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "FailOnCondition"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "condition": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "message": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "code": {
                    "$ref": "#/components/schemas/TextValue"
                  }
                },
                "required": [
                  "condition",
                  "message"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "FailOnCondition"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "GoBack"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object"
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "RefreshPage"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object"
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Press"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string",
                    "enum": [
                      "Escape",
                      "Enter",
                      "Return",
                      "Tab",
                      "Down",
                      "Up",
                      "Left",
                      "Right"
                    ],
                    "description": "The keyboard key to press"
                  }
                },
                "required": [
                  "key"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Type"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "value": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The text to type"
                  }
                },
                "required": [
                  "value"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "TriggerWorkflow"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "workflowExternalId": {
                    "type": "string"
                  },
                  "parameters": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "workflowExternalId"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "DownloadFile"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "key": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "prompt": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "locationHint": {
                    "$ref": "#/components/schemas/TextValue"
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Download File Block"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "SaveAsPdf"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "fileName": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "key": {
                    "$ref": "#/components/schemas/TextValue"
                  }
                }
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Save As PDF Block"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "CodeV2"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "function": {
                    "type": "string"
                  },
                  "accumulatorKey": {
                    "type": "string"
                  },
                  "accumulatorBlockName": {
                    "type": "string"
                  }
                },
                "required": [
                  "function"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "CodeV2"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Transform"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "json": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The JSON template to evaluate with LiquidJS"
                  }
                },
                "required": [
                  "json"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Transform"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "ExitFromLoop"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "condition": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "semantic": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "condition"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Exit From Loop"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "Next"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "condition": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "semantic": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "condition"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Next"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "SendEmail"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "toAddresses": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of recipient email addresses"
                  },
                  "ccAddresses": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of CC email addresses"
                  },
                  "subject": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The email subject (supports templating)"
                  },
                  "body": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The email body content. Supports Markdown formatting (e.g., **bold**, *italic*, [links](url), tables, lists) which will be rendered as HTML in the email. Also supports Liquid.js templating."
                  },
                  "bodyPrompt": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "Deprecated: use body instead"
                  },
                  "attachments": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileId": {
                          "type": "string",
                          "description": "The ID of a file to attach to the email"
                        }
                      },
                      "required": [
                        "fileId"
                      ]
                    },
                    "description": "List of file attachments to include in the email"
                  },
                  "fromOrganizationFiles": {
                    "type": "boolean",
                    "description": "Whether the files are selected from organization files (true) or from a parameter (false)"
                  }
                },
                "required": [
                  "toAddresses",
                  "subject"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "SendEmail",
            "description": "A block that sends an email from the workflow with templated content and file attachments"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "WebSearch"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "query": {
                    "$ref": "#/components/schemas/TextValue",
                    "description": "The search query to execute"
                  }
                },
                "required": [
                  "query"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "Search and Navigate"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "UnzipFile"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "fileId": {
                    "type": "string",
                    "description": "The file ID of the zip file to extract"
                  },
                  "fromOrganizationFiles": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "fileId"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship"
            ],
            "title": "UnzipFile"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "LoopV2"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "iterableName": {
                        "type": "string"
                      },
                      "startBlockId": {
                        "oneOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "semanticIterableKey": {
                        "type": "string"
                      },
                      "isSemantic": {
                        "type": "boolean",
                        "const": true
                      },
                      "iterableKey": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "iterableName",
                      "startBlockId",
                      "semanticIterableKey",
                      "isSemantic"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "iterableName": {
                        "type": "string"
                      },
                      "startBlockId": {
                        "oneOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "iterableKey": {
                        "type": "string"
                      },
                      "isSemantic": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "iterableName",
                      "startBlockId"
                    ]
                  }
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              },
              "sequenceData": {
                "type": "object",
                "properties": {
                  "sequence": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/LoopV2NestedBlockInitializer"
                    },
                    "description": "Sequence of blocks within the loop"
                  }
                },
                "required": [
                  "sequence"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship",
              "sequenceData"
            ],
            "title": "Loop"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "blockReferenceId": {
                "type": "string"
              },
              "type": {
                "type": "string",
                "const": "If"
              },
              "locator": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ElementLocator"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "isCacheable": {
                "type": "boolean"
              },
              "skipIfNotPresent": {
                "type": "boolean"
              },
              "useWorkflowRecoveryAgent": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "condition": {
                    "$ref": "#/components/schemas/TextValue"
                  },
                  "semantic": {
                    "type": "boolean"
                  },
                  "trueStartBlockId": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "falseStartBlockId": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "condition",
                  "trueStartBlockId",
                  "falseStartBlockId"
                ]
              },
              "parentRelationship": {
                "type": "object",
                "properties": {
                  "blockDepth": {
                    "type": "number"
                  },
                  "positionInSequence": {
                    "type": "number"
                  },
                  "parentBlockId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentSequenceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "enum": [
                      "sequence",
                      "trueSequence",
                      "falseSequence"
                    ]
                  }
                },
                "required": [
                  "blockDepth",
                  "positionInSequence",
                  "parentBlockId",
                  "parentSequenceId"
                ]
              },
              "sequenceData": {
                "type": "object",
                "properties": {
                  "trueSequence": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/IfTrueNestedBlockInitializer"
                    }
                  },
                  "falseSequence": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/IfFalseNestedBlockInitializer"
                    }
                  }
                },
                "required": [
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "blockReferenceId",
              "type",
              "isCacheable",
              "skipIfNotPresent",
              "useWorkflowRecoveryAgent",
              "data",
              "parentRelationship",
              "sequenceData"
            ],
            "title": "If"
          },
          {
            "type": "null"
          }
        ],
        "description": "The block where execution started, if specified"
      },
      "Schema_53": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the file"
          },
          "name": {
            "type": "string",
            "description": "Name of the file"
          },
          "mimeType": {
            "type": [
              "string",
              "null"
            ],
            "description": "MIME type of the file"
          },
          "sizeBytes": {
            "type": [
              "number",
              "null"
            ],
            "description": "Size of the file in bytes"
          },
          "downloadUrl": {
            "type": "string",
            "description": "URL to download the file"
          },
          "key": {
            "type": [
              "string",
              "null"
            ],
            "description": "Key identifier for the file (for example, a key provided when completing a download for the file)."
          }
        },
        "required": [
          "id",
          "name",
          "mimeType",
          "sizeBytes",
          "downloadUrl",
          "key"
        ],
        "description": "File containing the complete execution response as JSON"
      },
      "Object_prompt_schema_useVision_54": {
        "type": "object",
        "properties": {
          "prompt": {
            "$ref": "#/components/schemas/TextValue"
          },
          "schema": {},
          "useVision": {
            "type": "boolean",
            "default": false
          },
          "model": {
            "type": "string",
            "enum": [
              "gpt-4.1-mini-2025-04-14",
              "gpt-4.1-2025-04-14",
              "gpt-5.1-2025-11-13",
              "gpt-5.4",
              "gpt-5.4-mini",
              "gpt-5.4-nano",
              "gpt-5.6-terra",
              "gpt-5.6-luna"
            ]
          },
          "overrideModelWithDefault": {
            "type": "boolean",
            "default": false,
            "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
          },
          "selector": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "xpath": {
                "type": "string"
              }
            },
            "required": [
              "xpath"
            ],
            "description": "The XPath selector to extract from."
          },
          "usePageImage": {
            "type": "boolean",
            "default": false,
            "description": "When true and useVision is false, sends both DOM content and a page screenshot to the model for extraction."
          },
          "knowledgeBaseIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "prompt"
        ]
      },
      "Object_inputText_prompt_schema_55": {
        "type": "object",
        "properties": {
          "inputText": {
            "$ref": "#/components/schemas/TextValue"
          },
          "prompt": {
            "$ref": "#/components/schemas/TextValue"
          },
          "schema": {},
          "model": {
            "type": "string",
            "enum": [
              "gpt-4.1-mini-2025-04-14",
              "gpt-4.1-2025-04-14",
              "gpt-5.1-2025-11-13",
              "gpt-5.4",
              "gpt-5.4-mini",
              "gpt-5.4-nano",
              "gpt-5.6-terra",
              "gpt-5.6-luna"
            ]
          },
          "overrideModelWithDefault": {
            "type": "boolean",
            "default": false,
            "description": "When true, uses the default model (Gemini Flash 2.5) regardless of the model field value. When false, uses the model specified in the model field. This allows internal users to override the model selection while keeping the default behavior for all other users."
          }
        },
        "required": [
          "inputText",
          "prompt"
        ]
      },
      "Object_workflowId_workflowName_loginId_56": {
        "type": "object",
        "properties": {
          "workflowId": {
            "type": "string",
            "description": "ID of the workflow to execute. Either workflowId or workflowName must be provided."
          },
          "workflowName": {
            "type": "string",
            "description": "Name of the workflow to execute. If provided, the workflow will be looked up by name within the organization. Either workflowId or workflowName must be provided."
          },
          "loginId": {
            "type": "string",
            "description": "ID of the login to use for authentication"
          },
          "params": {
            "type": "object",
            "additionalProperties": {},
            "description": "Runtime parameters for the workflow execution",
            "example": {
              "origin": "New York",
              "destination": "Los Angeles"
            }
          },
          "name": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              }
            ],
            "description": "Optional name for the execution (string or number, automatically converted to string)",
            "examples": [
              "User batch execution",
              12345,
              "Execution-001"
            ]
          },
          "timeout": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "description": "Optional timeout in seconds for the execution (defaults to 10800 seconds / 3 hours)",
            "example": 10800
          },
          "useProxy": {
            "type": "boolean",
            "description": "Whether to use a proxy for this execution",
            "default": false
          },
          "startBlockId": {
            "type": "string",
            "description": "Optional ID of the block to start execution from",
            "example": "1"
          },
          "batchId": {
            "type": "string",
            "description": "Optional ID of the execution batch to assign this execution to",
            "example": "batch_123"
          },
          "isTest": {
            "type": "boolean",
            "description": "Whether this execution is a test run",
            "default": false
          },
          "agentConversationThreadId": {
            "type": "string",
            "description": "Optional ID of an agent conversation thread to associate with this execution (used when duplicating executions that were triggered by an agent)"
          }
        },
        "required": [
          "params"
        ]
      },
      "Schema_57": {
        "type": "string",
        "enum": [
          "AGENT_QUEUE_NOT_FOUND",
          "QUEUE_AGENT_NOT_FOUND",
          "QUEUE_HAS_NO_RESOLVABLE_AGENT",
          "AGENT_SESSION_NOT_FOUND",
          "AGENT_SESSION_NOT_PAUSABLE"
        ],
        "description": "Machine-readable error code. `AGENT_QUEUE_NOT_FOUND`: the queueId does not exist. `QUEUE_AGENT_NOT_FOUND`: the supplied agentId does not exist. `QUEUE_HAS_NO_RESOLVABLE_AGENT`: no agentId was supplied and no agent could be resolved for the queue. `AGENT_SESSION_NOT_FOUND`: the sessionId does not exist. `AGENT_SESSION_NOT_PAUSABLE`: the session has already finished, so there is nothing to pause.",
        "example": "AGENT_QUEUE_NOT_FOUND"
      },
      "Object_code_message_58": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "AGENT_QUEUE_NOT_FOUND",
              "QUEUE_AGENT_NOT_FOUND",
              "QUEUE_HAS_NO_RESOLVABLE_AGENT",
              "AGENT_SESSION_NOT_FOUND",
              "AGENT_SESSION_NOT_PAUSABLE"
            ],
            "description": "Machine-readable error code. `AGENT_QUEUE_NOT_FOUND`: the queueId does not exist. `QUEUE_AGENT_NOT_FOUND`: the supplied agentId does not exist. `QUEUE_HAS_NO_RESOLVABLE_AGENT`: no agentId was supplied and no agent could be resolved for the queue. `AGENT_SESSION_NOT_FOUND`: the sessionId does not exist. `AGENT_SESSION_NOT_PAUSABLE`: the session has already finished, so there is nothing to pause.",
            "example": "AGENT_QUEUE_NOT_FOUND"
          },
          "message": {
            "type": "string",
            "description": "Human-readable description of what went wrong.",
            "example": "Agent queue not found: 'agent_queue_123'. Verify the queueId is correct."
          }
        },
        "required": [
          "code",
          "message"
        ],
        "description": "Error details."
      },
      "Object_success_error_59": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "const": false,
            "description": "Always false for an error response.",
            "example": false
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "AGENT_QUEUE_NOT_FOUND",
                  "QUEUE_AGENT_NOT_FOUND",
                  "QUEUE_HAS_NO_RESOLVABLE_AGENT",
                  "AGENT_SESSION_NOT_FOUND",
                  "AGENT_SESSION_NOT_PAUSABLE"
                ],
                "description": "Machine-readable error code. `AGENT_QUEUE_NOT_FOUND`: the queueId does not exist. `QUEUE_AGENT_NOT_FOUND`: the supplied agentId does not exist. `QUEUE_HAS_NO_RESOLVABLE_AGENT`: no agentId was supplied and no agent could be resolved for the queue. `AGENT_SESSION_NOT_FOUND`: the sessionId does not exist. `AGENT_SESSION_NOT_PAUSABLE`: the session has already finished, so there is nothing to pause.",
                "example": "AGENT_QUEUE_NOT_FOUND"
              },
              "message": {
                "type": "string",
                "description": "Human-readable description of what went wrong.",
                "example": "Agent queue not found: 'agent_queue_123'. Verify the queueId is correct."
              }
            },
            "required": [
              "code",
              "message"
            ],
            "description": "Error details."
          }
        },
        "required": [
          "success",
          "error"
        ],
        "description": "Error response returned by agent-queue endpoints."
      },
      "Union_60": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "text"
              },
              "text": {
                "type": "string",
                "description": "Text content"
              }
            },
            "required": [
              "type",
              "text"
            ],
            "description": "A text content part"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "file"
              },
              "fileId": {
                "type": "string",
                "description": "External ID of the file",
                "example": "files_abc123"
              }
            },
            "required": [
              "type",
              "fileId"
            ],
            "description": "A file content part"
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "data": {
                "type": "object",
                "additionalProperties": {},
                "description": "Structured JSON data"
              }
            },
            "required": [
              "type",
              "data"
            ],
            "description": "A JSON content part"
          }
        ],
        "description": "A content part (text, file, or json)"
      },
      "Search_61": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "Search"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "prompt": {
                "$ref": "#/components/schemas/TextValue"
              },
              "query": {
                "$ref": "#/components/schemas/TextValue"
              },
              "shouldNotClearFirst": {
                "type": "boolean",
                "default": true
              },
              "shouldType": {
                "type": "boolean"
              },
              "agenticSearch": {
                "type": "boolean"
              },
              "knowledgeBaseIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "instructions": {
                "$ref": "#/components/schemas/TextValue"
              },
              "skipIfMaxStepsReached": {
                "type": "boolean"
              }
            },
            "required": [
              "prompt",
              "query"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Search"
      },
      "DateInput_62": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "DateInput"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "key": {
                "$ref": "#/components/schemas/TextValue"
              },
              "value": {
                "$ref": "#/components/schemas/TextValue"
              },
              "useVision": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "key",
              "value"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "Date Input"
      },
      "WaitForCondition_63": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blockReferenceId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "WaitForCondition"
          },
          "locator": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ElementLocator"
              },
              {
                "type": "null"
              }
            ]
          },
          "isCacheable": {
            "type": "boolean"
          },
          "skipIfNotPresent": {
            "type": "boolean"
          },
          "useWorkflowRecoveryAgent": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "eventDescription": {
                "$ref": "#/components/schemas/TextValue"
              },
              "maxTimeoutSeconds": {
                "type": "number",
                "minimum": 1,
                "maximum": 3600,
                "default": 60
              }
            },
            "required": [
              "eventDescription"
            ]
          },
          "parentRelationship": {
            "type": "object",
            "properties": {
              "blockDepth": {
                "type": "number"
              },
              "positionInSequence": {
                "type": "number"
              },
              "parentBlockId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parentSequenceId": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "sequence",
                  "trueSequence",
                  "falseSequence"
                ]
              }
            },
            "required": [
              "blockDepth",
              "positionInSequence",
              "parentBlockId",
              "parentSequenceId"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "blockReferenceId",
          "type",
          "isCacheable",
          "skipIfNotPresent",
          "useWorkflowRecoveryAgent",
          "data",
          "parentRelationship"
        ],
        "title": "WaitForCondition"
      }
    }
  }
}