Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key.
This endpoint updates the workflow metadata and creates a new version with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error.
Versioning: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless branch_id is given) and tags it with a semantic version. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send release_version to choose the version yourself; it must be higher than the version the save is based on. Use GET /workflows/{workflow_id}/versions to list version history, and GET /workflows/{workflow_id}/versions/{version} to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint).
Branches: A body read from GET /workflows/{workflow_id}?branch_id=... carries that branch_id and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with 403 unless bypass_protection is true and your role is allowed to bypass it.
Typical usage:
GET /workflows/{workflow_id} to fetch the current workflow definition
Modify the nodes, edges, or other fields as needed
PUT /workflows/{workflow_id} with the full updated payload to save a new version
Important: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven’t changed.
Read-only fields: A body returned by GET /workflows/{workflow_id} or GET /workflows/{workflow_id}/export is accepted unchanged. Read-only fields are never written:
Identity fields id, workflow_id, workspace_id: may be omitted or null. If sent, they must equal the saved values. Otherwise 409 READ_ONLY_FIELD_CONFLICT, with fields listing each differing field and its saved and received value.
Snapshot fields version_id, version, major, minor, patch, bump_type, default_branch_id, parent_version_id, merge_parent_version_id, generation, created_at, created_by, updated_at, conversation_id: ignored. They describe the version you read, not the one you save. branch_id is the exception: it selects the branch to save to.
error_codes: ignored if they equal the workflow’s current error codes, otherwise 409 READ_ONLY_FIELD_CONFLICT. This endpoint does not edit error codes.
Concurrent edits: Send base_version_id (the version_id you read) to reject the save with 409 WORKFLOW_VERSION_CONFLICT if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch’s latest version.
API key-based authentication. Provide your CloudCruise API key in the cc-key header.
Path Parameters
workflow_id
string<uuid>
required
The ID of the workflow to update
Body
application/json
Payload for updating an existing workflow via PUT. The workflow ID is provided in the URL path.
The recommended approach is to first fetch the current workflow via GET /workflows/{workflow_id},
modify the desired fields, and then submit the full payload here.
name
string
required
Display name of the workflow
nodes
object[]
required
Array of workflow step nodes. Each node represents an action in the workflow (e.g., click,
type text, navigate, extract data). Pass an empty array [] to clear all nodes.
Show child attributes
edges
object
required
Map of edges connecting workflow nodes. Keys are source node IDs, values define the outgoing
connections. Pass an empty object {} to clear all edges.
Show child attributes
input_schema
object
required
JSON Schema defining the workflow's input variables
Selects which fields the run returns in its result and webhook payload. Only the fields named under properties are returned; pass an empty object {} to return the whole run context instead, excluding the run's inputs. A schema that names no properties - {"type": "object", "properties": {}} - is stored and applied as {}.
Example:
{}
max_retries
integer
required
Maximum number of retry attempts for failed workflow steps
Example:
0
description
string | null
Optional description of the workflow
version_note
string
Optional note describing what changed in this version
Example:
"Updated login selectors"
extract_network_urls
string[] | null
URL patterns to extract from network traffic during execution
encrypted_keys
string[] | null
References to encrypted vault keys used by this workflow
popup_xpaths
string[] | null
XPath selectors for popups that should be automatically dismissed
vault_schema
object | null
Schema defining vault credentials required by this workflow
Run window for the workflow. Leave it out on save to keep the current one, send null to remove it. See Run Window.
Show child attributes
desktop_image_id
string<uuid> | null
ID of the desktop image the workflow runs on. Set it for a workflow that runs on a Windows desktop: each run starts on a machine built from this image. The image must be saved and belong to this workspace. Leave it out on save to keep the current one, send null to remove it. See Desktop Images.
enable_error_code_generation
boolean
Whether error code generation is enabled
enable_service_unavailable_recovery
boolean
Whether service unavailable recovery is enabled
enable_incorrect_form_input_recovery
boolean
deprecated
Deprecated, no effect
enable_password_update_recovery
boolean
Whether Password Update Recovery is on. When a site forces a password change, the agent rotates the workflow's single vault credential and resumes the run. With more than one vault credential it sends a notification instead.
error_actions
object | null
What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action
Show child attributes
enable_tfa_setup_recovery
boolean
deprecated
Deprecated, no effect
enable_decision_required_recovery
boolean
Whether Decision Required is on for this workflow. When on, the recovery agent can ask a person to choose before continuing, once the decision-required experiment reaches the workspace. Defaults to true.
decision_timeout_seconds
integer | null
Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.
Required range: 30 <= x <= 600
decision_mention_slack_ids
string[] | null
Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.
Pattern: ^[UWS][A-Z0-9]{2,}$
decision_operating_hours
object | null
Deprecated, no effect. Set a schedule on a notification rule for run.decision_required instead.
manual_captcha_solve
boolean
When true, captchas are solved only at CAPTCHA nodes. When false, the automatic solver also runs before each step that acts on the page. Omit to keep the current value.
allow_requeue
boolean
Whether automatic retries are enabled for this workflow. When false, the workflow will not be automatically retried on transient failures regardless of other recovery settings.
deny_requeue_past_dry_run_marker
boolean
When the workflow has a dry-run marker (end_here_on_dry_run), restricts automatic retries to failures that occur before the marker. Only effective when allow_requeue is true. Defaults to true.
enable_network_listener
boolean
Whether the network listener is enabled
skip_udp_proxying
boolean
Whether UDP proxying is skipped during workflow execution
origin_catalog_workflow_version_id
string<uuid> | null
Specific origin catalog workflow version ID used as the base
origin_base_version_number
integer | null
Base version number used when deriving from a catalog workflow
component_imports
object[]
Workspace-library components referenced by COMPONENT_CALL nodes (held by id; propagate O(1)).
Show child attributes
local_components
object[]
Inline, workflow-scoped component definitions callable via COMPONENT_CALL (type "local").
Show child attributes
base_version_id
string<uuid>
The version_id your edit is based on. If a newer version exists on the target branch, the save is rejected with
409 WORKFLOW_VERSION_CONFLICT. Omit to save on top of the branch's latest version.
branch_id
string<uuid>
Branch to save to. Defaults to the workflow's default branch.
release_version
string
Tag the new version with this exact version instead of the computed one. Must be higher than the version the save is based on and not already used by this workflow.
Pattern: ^\d+\.\d+\.\d+$
Example:
"2.0.0"
bypass_protection
boolean
Save to a branch protected by a workspace rule. Only allowed for roles the rule lets bypass it.
Response
Workflow updated successfully. Returns the full workflow with the new version.
Full workflow definition including nodes and edges
id
string<uuid>
required
Unique identifier for the workflow
name
string
required
Name of the workflow
created_at
string<date-time>
required
Timestamp when the workflow was created
workspace_id
string<uuid>
required
ID of the workspace this workflow belongs to
created_by
string<uuid>
required
ID of the user who created the workflow
nodes
object[]
required
Array of workflow step nodes
edges
object
required
Map of edges connecting workflow nodes
Show child attributes
description
string | null
Description of the workflow
updated_at
string<date-time>
Timestamp when the workflow was last updated
version_id
string<uuid>
ID of the current workflow version
version
string
Semantic version (major.minor.patch) of this version
Example:
"2.1.0"
major
integer
Major part of version
minor
integer
Minor part of version
patch
integer
Patch part of version
bump_type
enum<string> | null
How version was derived from its parent, or null when it was chosen explicitly or has no parent
Available options:
major,
minor,
patch
branch_id
string<uuid> | null
Branch this version was saved to
default_branch_id
string<uuid> | null
The workflow's default branch, used by runs and reads that name no branch
parent_version_id
string<uuid> | null
The version this one was saved on top of
merge_parent_version_id
string<uuid> | null
For a merge, the head of the branch that was merged in
input_schema
object | null
JSON schema defining the workflow's input variables
vault_schema
object | null
Schema defining vault credentials and their configuration
component_imports
object[]
Workspace-library components referenced by COMPONENT_CALL nodes (held by id; propagate O(1)).
Show child attributes
local_components
object[]
Inline, workflow-scoped component definitions callable via COMPONENT_CALL (type "local").
Show child attributes
enable_popup_handling
boolean
Whether popup handling is enabled for this workflow
enable_xpath_recovery
boolean
Whether XPath recovery is enabled for this workflow
run_window
object | null
Run window for the workflow. Leave it out on save to keep the current one, send null to remove it. See Run Window.
Show child attributes
desktop_image_id
string<uuid> | null
ID of the desktop image the workflow runs on, or null for a browser workflow. See Desktop Images.
enable_error_code_generation
boolean
Whether error code generation is enabled for this workflow
enable_service_unavailable_recovery
boolean
Whether service unavailable recovery is enabled for this workflow
enable_incorrect_form_input_recovery
boolean
deprecated
Deprecated, no effect
enable_password_update_recovery
boolean
Whether Password Update Recovery is on. When a site forces a password change, the agent rotates the workflow's single vault credential and resumes the run. With more than one vault credential it sends a notification instead.
error_actions
object | null
What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action
Show child attributes
enable_tfa_setup_recovery
boolean
deprecated
Deprecated, no effect
enable_decision_required_recovery
boolean
Whether Decision Required is on for this workflow. When on, the recovery agent can ask a person to choose before continuing, once the decision-required experiment reaches the workspace. Defaults to true.
decision_timeout_seconds
integer | null
Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.
Required range: 30 <= x <= 600
decision_mention_slack_ids
string[] | null
Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.
Pattern: ^[UWS][A-Z0-9]{2,}$
decision_operating_hours
object | null
Deprecated, no effect. Set a schedule on a notification rule for run.decision_required instead.
manual_captcha_solve
boolean
When true, captchas are solved only at CAPTCHA nodes. When false, the automatic solver also runs before each step that acts on the page. A new workflow created without this field gets true. Existing workflows keep their stored value.
allow_requeue
boolean
Whether automatic retries are enabled for this workflow. When false, the workflow will not be automatically retried on transient failures regardless of other recovery settings.
deny_requeue_past_dry_run_marker
boolean
When the workflow has a dry-run marker (end_here_on_dry_run), restricts automatic retries to failures that occur before the marker. Only effective when allow_requeue is true. Defaults to true.
enable_action_timing_recovery
boolean
Whether action timing recovery is enabled
enable_network_listener
boolean
Whether network listener capture is enabled for this workflow version
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CloudCruise","colors":{"primary":"#3b82f6","light":"#06b6d4","dark":"#3b82f6"},"logo":{"light":"https://mintcdn.com/cloudcruise/8_UPZbQUthCzbuCo/logo/logo-light-mode.png?fit=max\u0026auto=format\u0026n=8_UPZbQUthCzbuCo\u0026q=85\u0026s=ef2ba0e76d3257b48973b64d9e3a6da0","dark":"https://mintcdn.com/cloudcruise/8_UPZbQUthCzbuCo/logo/logo-dark-mode.png?fit=max\u0026auto=format\u0026n=8_UPZbQUthCzbuCo\u0026q=85\u0026s=1fc723ef8c6d2f2901d0d383193b63d1"},"favicon":"https://mintcdn.com/cloudcruise/uOQYUGXxCIiaQU-f/favicon.svg?fit=max\u0026auto=format\u0026n=uOQYUGXxCIiaQU-f\u0026q=85\u0026s=58063611db7799cda985cc9a963b6e7e","navbar":{"links":[{"href":"mailto:founders@cloudcruise.com","label":"Support"},{"href":"https://docs.cloudcruise.com/llms.txt","label":"For AI"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.cloudcruise.com"}},"footer":{"socials":{"x":"https://x.com/cloudcruise_app","github":"https://github.com/CloudCruise","linkedin":"https://www.linkedin.com/company/cloudcruise"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/MHjbUqedZF"},{"anchor":"Blog","icon":"newspaper","href":"https://cloudcruise.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cloudcruise","hasAudioNarration":false,"actualSubdomain":"cloudcruise","customDomains":["docs.cloudcruise.com"],"gitSource":{"type":"github","owner":"cloudcruise","repo":"monorepo","deployBranch":"production","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b0505c160f5e34258a1b848"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0792cf2271807f99485376","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":55},{"language":"default","tag":"Concepts","count":47},{"language":"default","tag":"Workflow API","count":26},{"language":"default","tag":"Workflow DSL","count":24},{"language":"default","tag":"Node Types","count":22},{"language":"default","tag":"Run API","count":15},{"language":"default","tag":"SDK","count":9},{"language":"default","tag":"Maintenance Agent","count":8},{"language":"default","tag":"Vault API","count":8},{"language":"default","tag":"Custom Secret Provider API","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"workflow-api/update-workflow","slug":"/workflow-api/update-workflow","pageMetadata":{"openapi":"workflow-api/workflow-api.yaml put /workflows/{workflow_id}","title":"Update workflow","description":"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key.\n\nThis endpoint updates the workflow metadata and creates a **new version** with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error.\n\n**Versioning**: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless `branch_id` is given) and tags it with a semantic `version`. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send `release_version` to choose the version yourself; it must be higher than the version the save is based on. Use `GET /workflows/{workflow_id}/versions` to list version history, and `GET /workflows/{workflow_id}/versions/{version}` to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint).\n\n**Branches**: A body read from `GET /workflows/{workflow_id}?branch_id=...` carries that `branch_id` and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with `403` unless `bypass_protection` is `true` and your role is allowed to bypass it.\n\n**Typical usage**:\n1. `GET /workflows/{workflow_id}` to fetch the current workflow definition\n2. Modify the `nodes`, `edges`, or other fields as needed\n3. `PUT /workflows/{workflow_id}` with the full updated payload to save a new version\n\n**Important**: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven't changed.\n\n**Read-only fields**: A body returned by `GET /workflows/{workflow_id}` or `GET /workflows/{workflow_id}/export` is accepted unchanged. Read-only fields are never written:\n- Identity fields `id`, `workflow_id`, `workspace_id`: may be omitted or `null`. If sent, they must equal the saved values. Otherwise `409 READ_ONLY_FIELD_CONFLICT`, with `fields` listing each differing field and its `saved` and `received` value.\n- Snapshot fields `version_id`, `version`, `major`, `minor`, `patch`, `bump_type`, `default_branch_id`, `parent_version_id`, `merge_parent_version_id`, `generation`, `created_at`, `created_by`, `updated_at`, `conversation_id`: ignored. They describe the version you read, not the one you save. `branch_id` is the exception: it selects the branch to save to.\n- `error_codes`: ignored if they equal the workflow's current error codes, otherwise `409 READ_ONLY_FIELD_CONFLICT`. This endpoint does not edit error codes.\n\n**Concurrent edits**: Send `base_version_id` (the `version_id` you read) to reject the save with `409 WORKFLOW_VERSION_CONFLICT` if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch's latest version.","href":"/workflow-api/update-workflow"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"This endpoint updates the workflow metadata and creates a \", _jsx(_components.strong, {\n children: \"new version\"\n }), \" with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Versioning\"\n }), \": Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless \", _jsx(_components.code, {\n children: \"branch_id\"\n }), \" is given) and tags it with a semantic \", _jsx(_components.code, {\n children: \"version\"\n }), \". The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send \", _jsx(_components.code, {\n children: \"release_version\"\n }), \" to choose the version yourself; it must be higher than the version the save is based on. Use \", _jsx(_components.code, {\n children: \"GET /workflows/{workflow_id}/versions\"\n }), \" to list version history, and \", _jsx(_components.code, {\n children: \"GET /workflows/{workflow_id}/versions/{version}\"\n }), \" to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Branches\"\n }), \": A body read from \", _jsx(_components.code, {\n children: \"GET /workflows/{workflow_id}?branch_id=...\"\n }), \" carries that \", _jsx(_components.code, {\n children: \"branch_id\"\n }), \" and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with \", _jsx(_components.code, {\n children: \"403\"\n }), \" unless \", _jsx(_components.code, {\n children: \"bypass_protection\"\n }), \" is \", _jsx(_components.code, {\n children: \"true\"\n }), \" and your role is allowed to bypass it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Typical usage\"\n }), \":\"]\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"GET /workflows/{workflow_id}\"\n }), \" to fetch the current workflow definition\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Modify the \", _jsx(_components.code, {\n children: \"nodes\"\n }), \", \", _jsx(_components.code, {\n children: \"edges\"\n }), \", or other fields as needed\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"PUT /workflows/{workflow_id}\"\n }), \" with the full updated payload to save a new version\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Important\"\n }), \": This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven’t changed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Read-only fields\"\n }), \": A body returned by \", _jsx(_components.code, {\n children: \"GET /workflows/{workflow_id}\"\n }), \" or \", _jsx(_components.code, {\n children: \"GET /workflows/{workflow_id}/export\"\n }), \" is accepted unchanged. Read-only fields are never written:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Identity fields \", _jsx(_components.code, {\n children: \"id\"\n }), \", \", _jsx(_components.code, {\n children: \"workflow_id\"\n }), \", \", _jsx(_components.code, {\n children: \"workspace_id\"\n }), \": may be omitted or \", _jsx(_components.code, {\n children: \"null\"\n }), \". If sent, they must equal the saved values. Otherwise \", _jsx(_components.code, {\n children: \"409 READ_ONLY_FIELD_CONFLICT\"\n }), \", with \", _jsx(_components.code, {\n children: \"fields\"\n }), \" listing each differing field and its \", _jsx(_components.code, {\n children: \"saved\"\n }), \" and \", _jsx(_components.code, {\n children: \"received\"\n }), \" value.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Snapshot fields \", _jsx(_components.code, {\n children: \"version_id\"\n }), \", \", _jsx(_components.code, {\n children: \"version\"\n }), \", \", _jsx(_components.code, {\n children: \"major\"\n }), \", \", _jsx(_components.code, {\n children: \"minor\"\n }), \", \", _jsx(_components.code, {\n children: \"patch\"\n }), \", \", _jsx(_components.code, {\n children: \"bump_type\"\n }), \", \", _jsx(_components.code, {\n children: \"default_branch_id\"\n }), \", \", _jsx(_components.code, {\n children: \"parent_version_id\"\n }), \", \", _jsx(_components.code, {\n children: \"merge_parent_version_id\"\n }), \", \", _jsx(_components.code, {\n children: \"generation\"\n }), \", \", _jsx(_components.code, {\n children: \"created_at\"\n }), \", \", _jsx(_components.code, {\n children: \"created_by\"\n }), \", \", _jsx(_components.code, {\n children: \"updated_at\"\n }), \", \", _jsx(_components.code, {\n children: \"conversation_id\"\n }), \": ignored. They describe the version you read, not the one you save. \", _jsx(_components.code, {\n children: \"branch_id\"\n }), \" is the exception: it selects the branch to save to.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"error_codes\"\n }), \": ignored if they equal the workflow’s current error codes, otherwise \", _jsx(_components.code, {\n children: \"409 READ_ONLY_FIELD_CONFLICT\"\n }), \". This endpoint does not edit error codes.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Concurrent edits\"\n }), \": Send \", _jsx(_components.code, {\n children: \"base_version_id\"\n }), \" (the \", _jsx(_components.code, {\n children: \"version_id\"\n }), \" you read) to reject the save with \", _jsx(_components.code, {\n children: \"409 WORKFLOW_VERSION_CONFLICT\"\n }), \" if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch’s latest version.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"workflow-api/workflow-api.yaml put /workflows/{workflow_id}","title":"Update workflow","description":"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key.\n\nThis endpoint updates the workflow metadata and creates a **new version** with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error.\n\n**Versioning**: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless `branch_id` is given) and tags it with a semantic `version`. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send `release_version` to choose the version yourself; it must be higher than the version the save is based on. Use `GET /workflows/{workflow_id}/versions` to list version history, and `GET /workflows/{workflow_id}/versions/{version}` to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint).\n\n**Branches**: A body read from `GET /workflows/{workflow_id}?branch_id=...` carries that `branch_id` and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with `403` unless `bypass_protection` is `true` and your role is allowed to bypass it.\n\n**Typical usage**:\n1. `GET /workflows/{workflow_id}` to fetch the current workflow definition\n2. Modify the `nodes`, `edges`, or other fields as needed\n3. `PUT /workflows/{workflow_id}` with the full updated payload to save a new version\n\n**Important**: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven't changed.\n\n**Read-only fields**: A body returned by `GET /workflows/{workflow_id}` or `GET /workflows/{workflow_id}/export` is accepted unchanged. Read-only fields are never written:\n- Identity fields `id`, `workflow_id`, `workspace_id`: may be omitted or `null`. If sent, they must equal the saved values. Otherwise `409 READ_ONLY_FIELD_CONFLICT`, with `fields` listing each differing field and its `saved` and `received` value.\n- Snapshot fields `version_id`, `version`, `major`, `minor`, `patch`, `bump_type`, `default_branch_id`, `parent_version_id`, `merge_parent_version_id`, `generation`, `created_at`, `created_by`, `updated_at`, `conversation_id`: ignored. They describe the version you read, not the one you save. `branch_id` is the exception: it selects the branch to save to.\n- `error_codes`: ignored if they equal the workflow's current error codes, otherwise `409 READ_ONLY_FIELD_CONFLICT`. This endpoint does not edit error codes.\n\n**Concurrent edits**: Send `base_version_id` (the `version_id` you read) to reject the save with `409 WORKFLOW_VERSION_CONFLICT` if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch's latest version.","href":"/workflow-api/update-workflow"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update workflow","description":"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key.\n\nThis endpoint updates the workflow metadata and creates a **new version** with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error.\n\n**Versioning**: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless `branch_id` is given) and tags it with a semantic `version`. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send `release_version` to choose the version yourself; it must be higher than the version the save is based on. Use `GET /workflows/{workflow_id}/versions` to list version history, and `GET /workflows/{workflow_id}/versions/{version}` to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint).\n\n**Branches**: A body read from `GET /workflows/{workflow_id}?branch_id=...` carries that `branch_id` and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with `403` unless `bypass_protection` is `true` and your role is allowed to bypass it.\n\n**Typical usage**:\n1. `GET /workflows/{workflow_id}` to fetch the current workflow definition\n2. Modify the `nodes`, `edges`, or other fields as needed\n3. `PUT /workflows/{workflow_id}` with the full updated payload to save a new version\n\n**Important**: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven't changed.\n\n**Read-only fields**: A body returned by `GET /workflows/{workflow_id}` or `GET /workflows/{workflow_id}/export` is accepted unchanged. Read-only fields are never written:\n- Identity fields `id`, `workflow_id`, `workspace_id`: may be omitted or `null`. If sent, they must equal the saved values. Otherwise `409 READ_ONLY_FIELD_CONFLICT`, with `fields` listing each differing field and its `saved` and `received` value.\n- Snapshot fields `version_id`, `version`, `major`, `minor`, `patch`, `bump_type`, `default_branch_id`, `parent_version_id`, `merge_parent_version_id`, `generation`, `created_at`, `created_by`, `updated_at`, `conversation_id`: ignored. They describe the version you read, not the one you save. `branch_id` is the exception: it selects the branch to save to.\n- `error_codes`: ignored if they equal the workflow's current error codes, otherwise `409 READ_ONLY_FIELD_CONFLICT`. This endpoint does not edit error codes.\n\n**Concurrent edits**: Send `base_version_id` (the `version_id` you read) to reject the save with `409 WORKFLOW_VERSION_CONFLICT` if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch's latest version.","operationId":"updateWorkflow","parameters":["c84cf4c5-90bd-4533-aec2-ee01b747dd0c"],"requestBody":"06c23e44-56b9-4547-b48f-cc71d076111d","responses":{"200":"9e940b83-ad53-48c2-af72-6304c5f632e2","400":"834232d8-ab12-4582-8b5e-f4420d37484c","401":"1e747458-4a3f-4de4-93bf-09ebf02ef43b","403":"c18b41d4-676a-4639-832e-8606e174b4b9","404":"2e39a902-affb-4966-b1cc-27cbe603df1c","409":"91491175-e246-423a-962e-aa7196a13803","500":"bff32494-f565-4f60-8803-515be42716d4"},"method":"put","type":"path","servers":["deb72c3d-1fb1-4e5a-9832-a8be30593a74"],"security":["fafd0b4a-6bcd-4485-b8dd-cae160ebf4f8"],"path":"/workflows/{workflow_id}","baseUrlOptions":["https://api.cloudcruise.com"],"title":"Update workflow","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c84cf4c5-90bd-4533-aec2-ee01b747dd0c":{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The ID of the workflow to update","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The ID of the workflow to update"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Payload for updating an existing workflow via PUT. The workflow ID is provided in the URL path.\nThe recommended approach is to first fetch the current workflow via `GET /workflows/{workflow_id}`,\nmodify the desired fields, and then submit the full payload here.","properties":{"name":{"type":"string","description":"Display name of the workflow","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"nodes":{"type":"array","description":"Array of workflow step nodes. Each node represents an action in the workflow (e.g., click,\ntype text, navigate, extract data). Pass an empty array `[]` to clear all nodes.","items":{"type":"object","description":"A workflow step node. Each node has an `action` type and `parameters` specific to that action.\nCommon action types include: START, END, CLICK, INPUT_TEXT, INPUT_SELECT, NAVIGATE,\nEXTRACT_DATAMODEL, BOOL_CONDITION, LOOP, DELAY, SCREENSHOT, SCROLL, TAB_MANAGEMENT,\nFILE_DOWNLOAD, FILE_UPLOAD, TFA, USER_INTERACTION, APP_ACTION, EXTRACT_NETWORK,\nTRANSFORM, COMPONENT_CALL.\nFor a `COMPONENT_CALL` node, `parameters` follows the `ComponentCallParameters` schema —\nit invokes a reusable component (workspace-library or workflow-local) as a single step\n(see the `ComponentCallNode` reference example).\nAction types: START, END, NAVIGATE, CLICK, INPUT_TEXT, INPUT_SELECT, EXTRACT_DATAMODEL,\nEXTRACT_NETWORK, API_FLOW, BOOL_CONDITION, LOOP, TRANSFORM, DELAY, CAPTCHA, SCROLL,\nSCREENSHOT, FILE_UPLOAD, FILE_DOWNLOAD, TAB_MANAGEMENT, TFA, USER_INTERACTION.","properties":{"id":{"type":"string","description":"Unique identifier for the node within the workflow","isRequired":true,"uniqueKey":"nodes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the node","isRequired":true,"uniqueKey":"nodes.items.[INDEX].name","typeLabel":"string"},"action":{"type":"string","description":"The action type this node performs","enum":["START","END","NAVIGATE","CLICK","INPUT_TEXT","INPUT_SELECT","EXTRACT_DATAMODEL","EXTRACT_NETWORK","API_FLOW","BOOL_CONDITION","LOOP","TRANSFORM","DELAY","CAPTCHA","SCROLL","SCREENSHOT","FILE_UPLOAD","FILE_DOWNLOAD","TAB_MANAGEMENT","TFA","USER_INTERACTION","APP_ACTION","EXTRACT_NETWORK","TRANSFORM","COMPONENT_CALL"],"isRequired":true,"uniqueKey":"nodes.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","description":"Action-specific parameters. The shape of this object depends on the `action` type.\nRefer to the workflow builder or an existing workflow's GET response for the parameter\nstructure of each action type.","isRequired":true,"uniqueKey":"nodes.items.[INDEX].parameters","typeLabel":"object"},"description":{"type":"string","description":"Optional description of what this node does","uniqueKey":"nodes.items.[INDEX].description","typeLabel":"string"}},"required":["id","name","action","parameters"],"uniqueKey":"nodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes","typeLabel":"object[]"},"edges":{"type":"object","description":"Map of edges connecting workflow nodes. Keys are source node IDs, values define the outgoing\nconnections. Pass an empty object `{}` to clear all edges.","additionalProperties":{"type":"object","description":"Defines outgoing connections from a node. The type of edge depends on the source node's action:\n- Most nodes use `to` for a single next node\n- BOOL_CONDITION nodes use `true` and `false` for branching\n- LOOP nodes use `loop_done` and `loop_not_done` for iteration control","properties":{"to":{"oneOf":[{"type":"string","description":"ID of the next node (for non-branching nodes)","uniqueKey":"edges.additionalProperties.to.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the next node (for non-branching nodes)","uniqueKey":"edges.additionalProperties.to.oneOf.1","typeLabel":"null"}],"uniqueKey":"edges.additionalProperties.to","typeLabel":"string | null"},"true":{"oneOf":[{"type":"string","description":"ID of the node to execute when condition is true (BOOL_CONDITION nodes)","uniqueKey":"edges.additionalProperties.true.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when condition is true (BOOL_CONDITION nodes)","uniqueKey":"edges.additionalProperties.true.oneOf.1","typeLabel":"null"}],"uniqueKey":"edges.additionalProperties.true","typeLabel":"string | null"},"false":{"oneOf":[{"type":"string","description":"ID of the node to execute when condition is false (BOOL_CONDITION nodes)","uniqueKey":"edges.additionalProperties.false.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when condition is false (BOOL_CONDITION nodes)","uniqueKey":"edges.additionalProperties.false.oneOf.1","typeLabel":"null"}],"uniqueKey":"edges.additionalProperties.false","typeLabel":"string | null"},"loop_done":{"oneOf":[{"type":"string","description":"ID of the node to execute when loop completes (LOOP nodes)","uniqueKey":"edges.additionalProperties.loop_done.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when loop completes (LOOP nodes)","uniqueKey":"edges.additionalProperties.loop_done.oneOf.1","typeLabel":"null"}],"uniqueKey":"edges.additionalProperties.loop_done","typeLabel":"string | null"},"loop_not_done":{"oneOf":[{"type":"string","description":"ID of the node to execute for the next loop iteration (LOOP nodes)","uniqueKey":"edges.additionalProperties.loop_not_done.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute for the next loop iteration (LOOP nodes)","uniqueKey":"edges.additionalProperties.loop_not_done.oneOf.1","typeLabel":"null"}],"uniqueKey":"edges.additionalProperties.loop_not_done","typeLabel":"string | null"}},"uniqueKey":"edges.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"edges","typeLabel":"object"},"input_schema":{"type":"object","description":"JSON Schema defining the workflow's input variables","example":{"type":"object","properties":{"SEARCH_TERM":{"type":["string","null"]}},"required":["SEARCH_TERM"]},"isRequired":true,"uniqueKey":"input_schema","typeLabel":"object"},"output_schema":{"type":"object","description":"Selects which fields the run returns in its result and webhook payload. Only the fields named under `properties` are returned; pass an empty object `{}` to return the whole run context instead, excluding the run's inputs. A schema that names no properties - `{\"type\": \"object\", \"properties\": {}}` - is stored and applied as `{}`.","example":{},"isRequired":true,"uniqueKey":"output_schema","typeLabel":"object"},"max_retries":{"type":"integer","description":"Maximum number of retry attempts for failed workflow steps","example":0,"isRequired":true,"uniqueKey":"max_retries","typeLabel":"integer"},"description":{"oneOf":[{"type":"string","description":"Optional description of the workflow","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional description of the workflow","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"version_note":{"type":"string","description":"Optional note describing what changed in this version","example":"Updated login selectors","uniqueKey":"version_note","typeLabel":"string"},"extract_network_urls":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"extract_network_urls.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"URL patterns to extract from network traffic during execution","uniqueKey":"extract_network_urls.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"URL patterns to extract from network traffic during execution","uniqueKey":"extract_network_urls.oneOf.1","typeLabel":"null"}],"uniqueKey":"extract_network_urls","typeLabel":"string[] | null"},"encrypted_keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"encrypted_keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"References to encrypted vault keys used by this workflow","uniqueKey":"encrypted_keys.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"References to encrypted vault keys used by this workflow","uniqueKey":"encrypted_keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"encrypted_keys","typeLabel":"string[] | null"},"popup_xpaths":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"popup_xpaths.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"XPath selectors for popups that should be automatically dismissed","uniqueKey":"popup_xpaths.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"XPath selectors for popups that should be automatically dismissed","uniqueKey":"popup_xpaths.oneOf.1","typeLabel":"null"}],"uniqueKey":"popup_xpaths","typeLabel":"string[] | null"},"vault_schema":{"oneOf":[{"type":"object","description":"Schema defining vault credentials required by this workflow","additionalProperties":{"type":"object","properties":{"type":{"type":"string","enum":["credential"],"uniqueKey":"vault_schema.oneOf.0.additionalProperties.type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","description":"Domain associated with the credential","uniqueKey":"vault_schema.oneOf.0.additionalProperties.domain","typeLabel":"string"},"example":{"type":"string","description":"Example permissioned_user_id for this credential","uniqueKey":"vault_schema.oneOf.0.additionalProperties.example","typeLabel":"string"}},"uniqueKey":"vault_schema.oneOf.0.additionalProperties","typeLabel":"object"},"example":{"USER":{"type":"credential","domain":"https://example.com","example":"11223344-5566-7788-9900-112233445566"}},"uniqueKey":"vault_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"Schema defining vault credentials required by this workflow","additionalProperties":{"type":"object","properties":{"type":{"type":"string","enum":["credential"],"uniqueKey":"vault_schema.oneOf.1.additionalProperties.type","typeLabel":"enum\u003cstring>"},"domain":{"type":"string","description":"Domain associated with the credential","uniqueKey":"vault_schema.oneOf.1.additionalProperties.domain","typeLabel":"string"},"example":{"type":"string","description":"Example permissioned_user_id for this credential","uniqueKey":"vault_schema.oneOf.1.additionalProperties.example","typeLabel":"string"}},"uniqueKey":"vault_schema.oneOf.1.additionalProperties","typeLabel":"object"},"example":{"USER":{"type":"credential","domain":"https://example.com","example":"11223344-5566-7788-9900-112233445566"}},"uniqueKey":"vault_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"vault_schema","typeLabel":"object | null"},"proxy_setting":{"oneOf":[{"type":"string","description":"Proxy configuration setting","uniqueKey":"proxy_setting.oneOf.0","typeLabel":"string"},{"type":"null","description":"Proxy configuration setting","uniqueKey":"proxy_setting.oneOf.1","typeLabel":"null"}],"uniqueKey":"proxy_setting","typeLabel":"string | null"},"proxy_value":{"oneOf":[{"type":"string","description":"Proxy value (e.g., proxy URL or region)","uniqueKey":"proxy_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Proxy value (e.g., proxy URL or region)","uniqueKey":"proxy_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"proxy_value","typeLabel":"string | null"},"enable_popup_handling":{"type":"boolean","description":"Whether popup handling is enabled","uniqueKey":"enable_popup_handling","typeLabel":"boolean"},"enable_action_timing_recovery":{"type":"boolean","description":"Whether action timing recovery is enabled","uniqueKey":"enable_action_timing_recovery","typeLabel":"boolean"},"enable_xpath_recovery":{"type":"boolean","description":"Whether XPath recovery is enabled","uniqueKey":"enable_xpath_recovery","typeLabel":"boolean"},"run_window":{"oneOf":[{"type":"object","description":"Run window for the workflow. Leave it out on save to keep the current one, send `null` to remove it. See [Run Window](/concepts/run-window).","required":["time_zone","regular_hours"],"properties":{"time_zone":{"type":"string","example":"America/Chicago","description":"IANA time zone the hours are evaluated in","isRequired":true,"uniqueKey":"run_window.oneOf.0.time_zone","typeLabel":"string"},"regular_hours":{"type":"array","items":{"type":"object","description":"One weekly period. It belongs to the day it starts and may end on the next day.","required":["active_start_day","active_start_time","active_end_day","active_end_time"],"properties":{"active_start_day":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_day","typeLabel":"enum\u003cstring>"},"active_start_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_time.minutes","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_time","typeLabel":"object"},"active_end_day":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_day","typeLabel":"enum\u003cstring>"},"active_end_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_time.minutes","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_time","typeLabel":"object"}},"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours","typeLabel":"object[]"},"special_hours":{"type":"array","items":{"type":"object","description":"Overrides the weekly hours for particular dates. Provide either `start_date` (with optional `end_date`) or `recurrence` with `recurrence_start`, never both. When `active` is `true`, `active_start_time` and `active_end_time` are required and the end must be after the start.","required":["active"],"properties":{"active":{"type":"boolean","description":"`true` opens the hours on matching dates, `false` closes them for the whole date","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active","typeLabel":"boolean"},"label":{"type":"string","example":"Thanksgiving","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].label","typeLabel":"string"},"start_date":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date.year","typeLabel":"integer"},"month":{"type":"integer","minimum":1,"maximum":12,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date.month","typeLabel":"integer"},"day":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date.day","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date","typeLabel":"object"},"end_date":{"type":"object","description":"Last day of a dated entry. Defaults to `start_date`.","required":["year","month","day"],"properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date.year","typeLabel":"integer"},"month":{"type":"integer","minimum":1,"maximum":12,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date.month","typeLabel":"integer"},"day":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date.day","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date","typeLabel":"object"},"recurrence":{"type":"string","example":"FREQ=MONTHLY;BYDAY=1SA","description":"RFC 5545 rule. Only DAILY, WEEKLY, MONTHLY and YEARLY frequencies are supported.","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence","typeLabel":"string"},"recurrence_start":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start.year","typeLabel":"integer"},"month":{"type":"integer","minimum":1,"maximum":12,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start.month","typeLabel":"integer"},"day":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start.day","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start","typeLabel":"object"},"active_start_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_start_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_start_time.minutes","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_start_time","typeLabel":"object"},"active_end_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_end_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_end_time.minutes","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_end_time","typeLabel":"object"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"run_window.oneOf.0.special_hours","typeLabel":"object[]"}},"uniqueKey":"run_window.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"run_window.oneOf.1","typeLabel":"null"}],"uniqueKey":"run_window","typeLabel":"object | null"},"desktop_image_id":{"oneOf":[{"type":"string","format":"uuid","description":"ID of the desktop image the workflow runs on. Set it for a workflow that runs on a Windows desktop: each run starts on a machine built from this image. The image must be saved and belong to this workspace. Leave it out on save to keep the current one, send `null` to remove it. See [Desktop Images](/concepts/desktop-images).","uniqueKey":"desktop_image_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"ID of the desktop image the workflow runs on. Set it for a workflow that runs on a Windows desktop: each run starts on a machine built from this image. The image must be saved and belong to this workspace. Leave it out on save to keep the current one, send `null` to remove it. See [Desktop Images](/concepts/desktop-images).","uniqueKey":"desktop_image_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"desktop_image_id","typeLabel":"string\u003cuuid> | null"},"enable_error_code_generation":{"type":"boolean","description":"Whether error code generation is enabled","uniqueKey":"enable_error_code_generation","typeLabel":"boolean"},"enable_service_unavailable_recovery":{"type":"boolean","description":"Whether service unavailable recovery is enabled","uniqueKey":"enable_service_unavailable_recovery","typeLabel":"boolean"},"enable_incorrect_form_input_recovery":{"type":"boolean","description":"Deprecated, no effect","deprecated":true,"uniqueKey":"enable_incorrect_form_input_recovery","typeLabel":"boolean"},"enable_password_update_recovery":{"type":"boolean","description":"Whether Password Update Recovery is on. When a site forces a password change, the agent rotates the workflow's single vault credential and resumes the run. With more than one vault credential it sends a notification instead.","uniqueKey":"enable_password_update_recovery","typeLabel":"boolean"},"error_actions":{"oneOf":[{"type":"object","description":"What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action","properties":{"password_update":{"oneOf":[{"type":"string","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent","uniqueKey":"error_actions.oneOf.0.password_update.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent","uniqueKey":"error_actions.oneOf.0.password_update.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_actions.oneOf.0.password_update","typeLabel":"enum\u003cstring> | null"},"invalid_credentials":{"oneOf":[{"type":"string","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting","uniqueKey":"error_actions.oneOf.0.invalid_credentials.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting","uniqueKey":"error_actions.oneOf.0.invalid_credentials.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_actions.oneOf.0.invalid_credentials","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"error_actions.oneOf.0","typeLabel":"object"},{"type":"null","description":"What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action","properties":{"password_update":{"oneOf":[{"type":"string","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent"},{"type":"null","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent"}]},"invalid_credentials":{"oneOf":[{"type":"string","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting"},{"type":"null","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting"}]}},"uniqueKey":"error_actions.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_actions","typeLabel":"object | null"},"enable_tfa_setup_recovery":{"type":"boolean","description":"Deprecated, no effect","deprecated":true,"uniqueKey":"enable_tfa_setup_recovery","typeLabel":"boolean"},"enable_decision_required_recovery":{"type":"boolean","description":"Whether Decision Required is on for this workflow. When on, the recovery agent can ask a person to choose before continuing, once the decision-required experiment reaches the workspace. Defaults to true.","uniqueKey":"enable_decision_required_recovery","typeLabel":"boolean"},"decision_timeout_seconds":{"oneOf":[{"type":"integer","minimum":30,"maximum":600,"description":"Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.","uniqueKey":"decision_timeout_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":30,"maximum":600,"description":"Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.","uniqueKey":"decision_timeout_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision_timeout_seconds","typeLabel":"integer | null"},"decision_mention_slack_ids":{"oneOf":[{"type":"array","items":{"type":"string","pattern":"^[UWS][A-Z0-9]{2,}$","uniqueKey":"decision_mention_slack_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.","uniqueKey":"decision_mention_slack_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string","pattern":"^[UWS][A-Z0-9]{2,}$"},"description":"Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.","uniqueKey":"decision_mention_slack_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision_mention_slack_ids","typeLabel":"string[] | null"},"decision_operating_hours":{"oneOf":[{"type":"object","description":"Deprecated, no effect. Set a schedule on a notification rule for `run.decision_required` instead.","uniqueKey":"decision_operating_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Deprecated, no effect. Set a schedule on a notification rule for `run.decision_required` instead.","uniqueKey":"decision_operating_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision_operating_hours","typeLabel":"object | null"},"manual_captcha_solve":{"type":"boolean","description":"When true, captchas are solved only at CAPTCHA nodes. When false, the automatic solver also runs before each step that acts on the page. Omit to keep the current value.","uniqueKey":"manual_captcha_solve","typeLabel":"boolean"},"allow_requeue":{"type":"boolean","description":"Whether automatic retries are enabled for this workflow. When false, the workflow will not be automatically retried on transient failures regardless of other recovery settings.","uniqueKey":"allow_requeue","typeLabel":"boolean"},"deny_requeue_past_dry_run_marker":{"type":"boolean","description":"When the workflow has a dry-run marker (end_here_on_dry_run), restricts automatic retries to failures that occur before the marker. Only effective when allow_requeue is true. Defaults to true.","uniqueKey":"deny_requeue_past_dry_run_marker","typeLabel":"boolean"},"enable_network_listener":{"type":"boolean","description":"Whether the network listener is enabled","uniqueKey":"enable_network_listener","typeLabel":"boolean"},"skip_udp_proxying":{"type":"boolean","description":"Whether UDP proxying is skipped during workflow execution","uniqueKey":"skip_udp_proxying","typeLabel":"boolean"},"origin_catalog_workflow_version_id":{"oneOf":[{"type":"string","format":"uuid","description":"Specific origin catalog workflow version ID used as the base","uniqueKey":"origin_catalog_workflow_version_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Specific origin catalog workflow version ID used as the base","uniqueKey":"origin_catalog_workflow_version_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"origin_catalog_workflow_version_id","typeLabel":"string\u003cuuid> | null"},"origin_base_version_number":{"oneOf":[{"type":"integer","description":"Base version number used when deriving from a catalog workflow","uniqueKey":"origin_base_version_number.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Base version number used when deriving from a catalog workflow","uniqueKey":"origin_base_version_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"origin_base_version_number","typeLabel":"integer | null"},"component_imports":{"type":"array","description":"Workspace-library components referenced by COMPONENT_CALL nodes (held by id; propagate O(1)).","items":{"type":"object","description":"A workspace-library component referenced by a workflow. Held by id (never expanded into\nthe caller) so a single library edit propagates in O(1). `alias` lets a COMPONENT_CALL\nreference it by a stable, human-readable name.","properties":{"id":{"type":"string","description":"ID of the workspace-library component.","isRequired":true,"uniqueKey":"component_imports.items.[INDEX].id","typeLabel":"string"},"version":{"oneOf":[{"type":"integer","description":"Version pin (positive integer) or `latest` to opt into propagation.","minimum":1,"isRequired":true,"uniqueKey":"component_imports.items.[INDEX].version.oneOf.0","typeLabel":"integer"},{"type":"string","description":"Version pin (positive integer) or `latest` to opt into propagation.","enum":["latest"],"isRequired":true,"uniqueKey":"component_imports.items.[INDEX].version.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"component_imports.items.[INDEX].version","typeLabel":"integer | enum\u003cstring>"},"alias":{"type":"string","description":"Optional stable name a COMPONENT_CALL can reference instead of the id.","uniqueKey":"component_imports.items.[INDEX].alias","typeLabel":"string"}},"required":["id","version"],"uniqueKey":"component_imports.items.[INDEX]","typeLabel":"object"},"uniqueKey":"component_imports","typeLabel":"object[]"},"local_components":{"type":"array","description":"Inline, workflow-scoped component definitions callable via COMPONENT_CALL (type \"local\").","items":{"type":"object","description":"An inline, workflow-scoped component definition (`local_components`). Callable via a\nCOMPONENT_CALL with `component.type: \"local\"`. Shape mirrors a library component version's data.","properties":{"id":{"type":"string","description":"Workflow-local identifier a COMPONENT_CALL references.","isRequired":true,"uniqueKey":"local_components.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the local component.","isRequired":true,"uniqueKey":"local_components.items.[INDEX].name","typeLabel":"string"},"nodes":{"type":"array","description":"Component step nodes (same discriminator as top-level workflow nodes).","items":{"type":"object","description":"A workflow step node. Each node has an `action` type and `parameters` specific to that action.\nCommon action types include: START, END, CLICK, INPUT_TEXT, INPUT_SELECT, NAVIGATE,\nEXTRACT_DATAMODEL, BOOL_CONDITION, LOOP, DELAY, SCREENSHOT, SCROLL, TAB_MANAGEMENT,\nFILE_DOWNLOAD, FILE_UPLOAD, TFA, USER_INTERACTION, APP_ACTION, EXTRACT_NETWORK,\nTRANSFORM, COMPONENT_CALL.\nFor a `COMPONENT_CALL` node, `parameters` follows the `ComponentCallParameters` schema —\nit invokes a reusable component (workspace-library or workflow-local) as a single step\n(see the `ComponentCallNode` reference example).\nAction types: START, END, NAVIGATE, CLICK, INPUT_TEXT, INPUT_SELECT, EXTRACT_DATAMODEL,\nEXTRACT_NETWORK, API_FLOW, BOOL_CONDITION, LOOP, TRANSFORM, DELAY, CAPTCHA, SCROLL,\nSCREENSHOT, FILE_UPLOAD, FILE_DOWNLOAD, TAB_MANAGEMENT, TFA, USER_INTERACTION.","properties":{"id":{"type":"string","description":"Unique identifier for the node within the workflow","isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the node","isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].name","typeLabel":"string"},"action":{"type":"string","description":"The action type this node performs","enum":["START","END","NAVIGATE","CLICK","INPUT_TEXT","INPUT_SELECT","EXTRACT_DATAMODEL","EXTRACT_NETWORK","API_FLOW","BOOL_CONDITION","LOOP","TRANSFORM","DELAY","CAPTCHA","SCROLL","SCREENSHOT","FILE_UPLOAD","FILE_DOWNLOAD","TAB_MANAGEMENT","TFA","USER_INTERACTION","APP_ACTION","EXTRACT_NETWORK","TRANSFORM","COMPONENT_CALL"],"isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","description":"Action-specific parameters. The shape of this object depends on the `action` type.\nRefer to the workflow builder or an existing workflow's GET response for the parameter\nstructure of each action type.","isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].parameters","typeLabel":"object"},"description":{"type":"string","description":"Optional description of what this node does","uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].description","typeLabel":"string"}},"required":["id","name","action","parameters"],"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes","typeLabel":"object[]"},"edges":{"type":"object","description":"Map of edges connecting the component's nodes.","additionalProperties":{"type":"object","description":"Defines outgoing connections from a node. The type of edge depends on the source node's action:\n- Most nodes use `to` for a single next node\n- BOOL_CONDITION nodes use `true` and `false` for branching\n- LOOP nodes use `loop_done` and `loop_not_done` for iteration control","properties":{"to":{"oneOf":[{"type":"string","description":"ID of the next node (for non-branching nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.to.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the next node (for non-branching nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.to.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.to","typeLabel":"string | null"},"true":{"oneOf":[{"type":"string","description":"ID of the node to execute when condition is true (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.true.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when condition is true (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.true.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.true","typeLabel":"string | null"},"false":{"oneOf":[{"type":"string","description":"ID of the node to execute when condition is false (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.false.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when condition is false (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.false.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.false","typeLabel":"string | null"},"loop_done":{"oneOf":[{"type":"string","description":"ID of the node to execute when loop completes (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_done.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when loop completes (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_done.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_done","typeLabel":"string | null"},"loop_not_done":{"oneOf":[{"type":"string","description":"ID of the node to execute for the next loop iteration (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_not_done.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute for the next loop iteration (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_not_done.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_not_done","typeLabel":"string | null"}},"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"local_components.items.[INDEX].edges","typeLabel":"object"},"input_schema":{"type":"object","description":"JSON Schema; credential params use x-cc-type: credential","uniqueKey":"local_components.items.[INDEX].input_schema","typeLabel":"object"},"output_schema":{"type":"object","description":"JSON Schema; credential params use x-cc-type: credential","uniqueKey":"local_components.items.[INDEX].output_schema","typeLabel":"object"},"vault_schema":{"type":"object","description":"Optional schema defining vault credentials referenced by the component's nodes.","uniqueKey":"local_components.items.[INDEX].vault_schema","typeLabel":"object"},"popup_xpaths":{"type":"array","description":"Popup XPaths merged with the global set for the duration of the call frame.","items":{"type":"string","uniqueKey":"local_components.items.[INDEX].popup_xpaths.items.[INDEX]","typeLabel":"string"},"uniqueKey":"local_components.items.[INDEX].popup_xpaths","typeLabel":"string[]"}},"required":["id","name","nodes","edges"],"uniqueKey":"local_components.items.[INDEX]","typeLabel":"object"},"uniqueKey":"local_components","typeLabel":"object[]"},"base_version_id":{"type":"string","format":"uuid","description":"The `version_id` your edit is based on. If a newer version exists on the target branch, the save is rejected with\n`409 WORKFLOW_VERSION_CONFLICT`. Omit to save on top of the branch's latest version.","uniqueKey":"base_version_id","typeLabel":"string\u003cuuid>"},"branch_id":{"type":"string","format":"uuid","description":"Branch to save to. Defaults to the workflow's default branch.","uniqueKey":"branch_id","typeLabel":"string\u003cuuid>"},"release_version":{"type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$","example":"2.0.0","description":"Tag the new version with this exact version instead of the computed one. Must be higher than the version the save is based on and not already used by this workflow.","uniqueKey":"release_version","typeLabel":"string"},"bypass_protection":{"type":"boolean","description":"Save to a branch protected by a workspace rule. Only allowed for roles the rule lets bypass it.","uniqueKey":"bypass_protection","typeLabel":"boolean"}},"required":["name","nodes","edges","input_schema","output_schema","max_retries"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","nodes":[{"id":"\u003cstring>","name":"\u003cstring>","parameters":{},"description":"\u003cstring>"}],"edges":{},"input_schema":{"type":"object","properties":{"SEARCH_TERM":{"type":["string","null"]}},"required":["SEARCH_TERM"]},"output_schema":{},"max_retries":0,"description":"\u003cstring>","version_note":"Updated login selectors","extract_network_urls":["\u003cstring>"],"encrypted_keys":["\u003cstring>"],"popup_xpaths":["\u003cstring>"],"vault_schema":{"USER":{"type":"credential","domain":"https://example.com","example":"11223344-5566-7788-9900-112233445566"}},"proxy_setting":"\u003cstring>","proxy_value":"\u003cstring>","enable_popup_handling":true,"enable_action_timing_recovery":true,"enable_xpath_recovery":true,"run_window":{"time_zone":"America/Chicago","regular_hours":[{"active_start_time":{"hours":11,"minutes":29},"active_end_time":{"hours":11,"minutes":29}}],"special_hours":[{"active":true,"label":"Thanksgiving","recurrence":"FREQ=MONTHLY;BYDAY=1SA"}]},"desktop_image_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","enable_error_code_generation":true,"enable_service_unavailable_recovery":true,"enable_incorrect_form_input_recovery":true,"enable_password_update_recovery":true,"error_actions":{},"enable_tfa_setup_recovery":true,"enable_decision_required_recovery":true,"decision_timeout_seconds":315,"decision_mention_slack_ids":["\u003cstring>"],"decision_operating_hours":{},"manual_captcha_solve":true,"allow_requeue":true,"deny_requeue_past_dry_run_marker":true,"enable_network_listener":true,"skip_udp_proxying":true,"origin_catalog_workflow_version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","origin_base_version_number":123,"component_imports":[{"id":"\u003cstring>","version":2,"alias":"\u003cstring>"}],"local_components":[{"id":"\u003cstring>","name":"\u003cstring>","nodes":[{"id":"\u003cstring>","name":"\u003cstring>","parameters":{},"description":"\u003cstring>"}],"edges":{},"input_schema":{},"output_schema":{},"vault_schema":{},"popup_xpaths":["\u003cstring>"]}],"base_version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","branch_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","release_version":"2.0.0","bypass_protection":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9e940b83-ad53-48c2-af72-6304c5f632e2":{"description":"Workflow updated successfully. Returns the full workflow with the new version.","content":{"application/json":{"schema":{"type":"object","description":"Full workflow definition including nodes and edges","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the workflow","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the workflow","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Timestamp when the workflow was created","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"workspace_id":{"type":"string","format":"uuid","description":"ID of the workspace this workflow belongs to","isRequired":true,"uniqueKey":"workspace_id","typeLabel":"string\u003cuuid>"},"created_by":{"type":"string","format":"uuid","description":"ID of the user who created the workflow","isRequired":true,"uniqueKey":"created_by","typeLabel":"string\u003cuuid>"},"nodes":{"type":"array","description":"Array of workflow step nodes","items":{"type":"object","uniqueKey":"nodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"nodes","typeLabel":"object[]"},"edges":{"type":"object","description":"Map of edges connecting workflow nodes","additionalProperties":{"type":"object","uniqueKey":"edges.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"edges","typeLabel":"object"},"description":{"oneOf":[{"type":"string","description":"Description of the workflow","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the workflow","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp when the workflow was last updated","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"version_id":{"type":"string","format":"uuid","description":"ID of the current workflow version","uniqueKey":"version_id","typeLabel":"string\u003cuuid>"},"version":{"type":"string","example":"2.1.0","description":"Semantic version (`major.minor.patch`) of this version","uniqueKey":"version","typeLabel":"string"},"major":{"type":"integer","description":"Major part of `version`","uniqueKey":"major","typeLabel":"integer"},"minor":{"type":"integer","description":"Minor part of `version`","uniqueKey":"minor","typeLabel":"integer"},"patch":{"type":"integer","description":"Patch part of `version`","uniqueKey":"patch","typeLabel":"integer"},"bump_type":{"oneOf":[{"type":"string","enum":["major","minor","patch"],"description":"How `version` was derived from its parent, or null when it was chosen explicitly or has no parent","uniqueKey":"bump_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["major","minor","patch"],"description":"How `version` was derived from its parent, or null when it was chosen explicitly or has no parent","uniqueKey":"bump_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"bump_type","typeLabel":"enum\u003cstring> | null"},"branch_id":{"oneOf":[{"type":"string","format":"uuid","description":"Branch this version was saved to","uniqueKey":"branch_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Branch this version was saved to","uniqueKey":"branch_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"branch_id","typeLabel":"string\u003cuuid> | null"},"default_branch_id":{"oneOf":[{"type":"string","format":"uuid","description":"The workflow's default branch, used by runs and reads that name no branch","uniqueKey":"default_branch_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The workflow's default branch, used by runs and reads that name no branch","uniqueKey":"default_branch_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"default_branch_id","typeLabel":"string\u003cuuid> | null"},"parent_version_id":{"oneOf":[{"type":"string","format":"uuid","description":"The version this one was saved on top of","uniqueKey":"parent_version_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The version this one was saved on top of","uniqueKey":"parent_version_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_version_id","typeLabel":"string\u003cuuid> | null"},"merge_parent_version_id":{"oneOf":[{"type":"string","format":"uuid","description":"For a merge, the head of the branch that was merged in","uniqueKey":"merge_parent_version_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"For a merge, the head of the branch that was merged in","uniqueKey":"merge_parent_version_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"merge_parent_version_id","typeLabel":"string\u003cuuid> | null"},"input_schema":{"oneOf":[{"type":"object","description":"JSON schema defining the workflow's input variables","uniqueKey":"input_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"JSON schema defining the workflow's input variables","uniqueKey":"input_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"input_schema","typeLabel":"object | null"},"vault_schema":{"oneOf":[{"type":"object","description":"Schema defining vault credentials and their configuration","uniqueKey":"vault_schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"Schema defining vault credentials and their configuration","uniqueKey":"vault_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"vault_schema","typeLabel":"object | null"},"component_imports":{"type":"array","description":"Workspace-library components referenced by COMPONENT_CALL nodes (held by id; propagate O(1)).","items":{"type":"object","description":"A workspace-library component referenced by a workflow. Held by id (never expanded into\nthe caller) so a single library edit propagates in O(1). `alias` lets a COMPONENT_CALL\nreference it by a stable, human-readable name.","properties":{"id":{"type":"string","description":"ID of the workspace-library component.","isRequired":true,"uniqueKey":"component_imports.items.[INDEX].id","typeLabel":"string"},"version":{"oneOf":[{"type":"integer","description":"Version pin (positive integer) or `latest` to opt into propagation.","minimum":1,"isRequired":true,"uniqueKey":"component_imports.items.[INDEX].version.oneOf.0","typeLabel":"integer"},{"type":"string","description":"Version pin (positive integer) or `latest` to opt into propagation.","enum":["latest"],"isRequired":true,"uniqueKey":"component_imports.items.[INDEX].version.oneOf.1","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"component_imports.items.[INDEX].version","typeLabel":"integer | enum\u003cstring>"},"alias":{"type":"string","description":"Optional stable name a COMPONENT_CALL can reference instead of the id.","uniqueKey":"component_imports.items.[INDEX].alias","typeLabel":"string"}},"required":["id","version"],"uniqueKey":"component_imports.items.[INDEX]","typeLabel":"object"},"uniqueKey":"component_imports","typeLabel":"object[]"},"local_components":{"type":"array","description":"Inline, workflow-scoped component definitions callable via COMPONENT_CALL (type \"local\").","items":{"type":"object","description":"An inline, workflow-scoped component definition (`local_components`). Callable via a\nCOMPONENT_CALL with `component.type: \"local\"`. Shape mirrors a library component version's data.","properties":{"id":{"type":"string","description":"Workflow-local identifier a COMPONENT_CALL references.","isRequired":true,"uniqueKey":"local_components.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the local component.","isRequired":true,"uniqueKey":"local_components.items.[INDEX].name","typeLabel":"string"},"nodes":{"type":"array","description":"Component step nodes (same discriminator as top-level workflow nodes).","items":{"type":"object","description":"A workflow step node. Each node has an `action` type and `parameters` specific to that action.\nCommon action types include: START, END, CLICK, INPUT_TEXT, INPUT_SELECT, NAVIGATE,\nEXTRACT_DATAMODEL, BOOL_CONDITION, LOOP, DELAY, SCREENSHOT, SCROLL, TAB_MANAGEMENT,\nFILE_DOWNLOAD, FILE_UPLOAD, TFA, USER_INTERACTION, APP_ACTION, EXTRACT_NETWORK,\nTRANSFORM, COMPONENT_CALL.\nFor a `COMPONENT_CALL` node, `parameters` follows the `ComponentCallParameters` schema —\nit invokes a reusable component (workspace-library or workflow-local) as a single step\n(see the `ComponentCallNode` reference example).\nAction types: START, END, NAVIGATE, CLICK, INPUT_TEXT, INPUT_SELECT, EXTRACT_DATAMODEL,\nEXTRACT_NETWORK, API_FLOW, BOOL_CONDITION, LOOP, TRANSFORM, DELAY, CAPTCHA, SCROLL,\nSCREENSHOT, FILE_UPLOAD, FILE_DOWNLOAD, TAB_MANAGEMENT, TFA, USER_INTERACTION.","properties":{"id":{"type":"string","description":"Unique identifier for the node within the workflow","isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the node","isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].name","typeLabel":"string"},"action":{"type":"string","description":"The action type this node performs","enum":["START","END","NAVIGATE","CLICK","INPUT_TEXT","INPUT_SELECT","EXTRACT_DATAMODEL","EXTRACT_NETWORK","API_FLOW","BOOL_CONDITION","LOOP","TRANSFORM","DELAY","CAPTCHA","SCROLL","SCREENSHOT","FILE_UPLOAD","FILE_DOWNLOAD","TAB_MANAGEMENT","TFA","USER_INTERACTION","APP_ACTION","EXTRACT_NETWORK","TRANSFORM","COMPONENT_CALL"],"isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"parameters":{"type":"object","description":"Action-specific parameters. The shape of this object depends on the `action` type.\nRefer to the workflow builder or an existing workflow's GET response for the parameter\nstructure of each action type.","isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].parameters","typeLabel":"object"},"description":{"type":"string","description":"Optional description of what this node does","uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX].description","typeLabel":"string"}},"required":["id","name","action","parameters"],"uniqueKey":"local_components.items.[INDEX].nodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"local_components.items.[INDEX].nodes","typeLabel":"object[]"},"edges":{"type":"object","description":"Map of edges connecting the component's nodes.","additionalProperties":{"type":"object","description":"Defines outgoing connections from a node. The type of edge depends on the source node's action:\n- Most nodes use `to` for a single next node\n- BOOL_CONDITION nodes use `true` and `false` for branching\n- LOOP nodes use `loop_done` and `loop_not_done` for iteration control","properties":{"to":{"oneOf":[{"type":"string","description":"ID of the next node (for non-branching nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.to.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the next node (for non-branching nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.to.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.to","typeLabel":"string | null"},"true":{"oneOf":[{"type":"string","description":"ID of the node to execute when condition is true (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.true.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when condition is true (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.true.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.true","typeLabel":"string | null"},"false":{"oneOf":[{"type":"string","description":"ID of the node to execute when condition is false (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.false.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when condition is false (BOOL_CONDITION nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.false.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.false","typeLabel":"string | null"},"loop_done":{"oneOf":[{"type":"string","description":"ID of the node to execute when loop completes (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_done.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute when loop completes (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_done.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_done","typeLabel":"string | null"},"loop_not_done":{"oneOf":[{"type":"string","description":"ID of the node to execute for the next loop iteration (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_not_done.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the node to execute for the next loop iteration (LOOP nodes)","uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_not_done.oneOf.1","typeLabel":"null"}],"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties.loop_not_done","typeLabel":"string | null"}},"uniqueKey":"local_components.items.[INDEX].edges.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"local_components.items.[INDEX].edges","typeLabel":"object"},"input_schema":{"type":"object","description":"JSON Schema; credential params use x-cc-type: credential","uniqueKey":"local_components.items.[INDEX].input_schema","typeLabel":"object"},"output_schema":{"type":"object","description":"JSON Schema; credential params use x-cc-type: credential","uniqueKey":"local_components.items.[INDEX].output_schema","typeLabel":"object"},"vault_schema":{"type":"object","description":"Optional schema defining vault credentials referenced by the component's nodes.","uniqueKey":"local_components.items.[INDEX].vault_schema","typeLabel":"object"},"popup_xpaths":{"type":"array","description":"Popup XPaths merged with the global set for the duration of the call frame.","items":{"type":"string","uniqueKey":"local_components.items.[INDEX].popup_xpaths.items.[INDEX]","typeLabel":"string"},"uniqueKey":"local_components.items.[INDEX].popup_xpaths","typeLabel":"string[]"}},"required":["id","name","nodes","edges"],"uniqueKey":"local_components.items.[INDEX]","typeLabel":"object"},"uniqueKey":"local_components","typeLabel":"object[]"},"enable_popup_handling":{"type":"boolean","description":"Whether popup handling is enabled for this workflow","uniqueKey":"enable_popup_handling","typeLabel":"boolean"},"enable_xpath_recovery":{"type":"boolean","description":"Whether XPath recovery is enabled for this workflow","uniqueKey":"enable_xpath_recovery","typeLabel":"boolean"},"run_window":{"oneOf":[{"type":"object","description":"Run window for the workflow. Leave it out on save to keep the current one, send `null` to remove it. See [Run Window](/concepts/run-window).","required":["time_zone","regular_hours"],"properties":{"time_zone":{"type":"string","example":"America/Chicago","description":"IANA time zone the hours are evaluated in","isRequired":true,"uniqueKey":"run_window.oneOf.0.time_zone","typeLabel":"string"},"regular_hours":{"type":"array","items":{"type":"object","description":"One weekly period. It belongs to the day it starts and may end on the next day.","required":["active_start_day","active_start_time","active_end_day","active_end_time"],"properties":{"active_start_day":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_day","typeLabel":"enum\u003cstring>"},"active_start_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_time.minutes","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_start_time","typeLabel":"object"},"active_end_day":{"type":"string","enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_day","typeLabel":"enum\u003cstring>"},"active_end_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_time.minutes","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX].active_end_time","typeLabel":"object"}},"uniqueKey":"run_window.oneOf.0.regular_hours.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"run_window.oneOf.0.regular_hours","typeLabel":"object[]"},"special_hours":{"type":"array","items":{"type":"object","description":"Overrides the weekly hours for particular dates. Provide either `start_date` (with optional `end_date`) or `recurrence` with `recurrence_start`, never both. When `active` is `true`, `active_start_time` and `active_end_time` are required and the end must be after the start.","required":["active"],"properties":{"active":{"type":"boolean","description":"`true` opens the hours on matching dates, `false` closes them for the whole date","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active","typeLabel":"boolean"},"label":{"type":"string","example":"Thanksgiving","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].label","typeLabel":"string"},"start_date":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date.year","typeLabel":"integer"},"month":{"type":"integer","minimum":1,"maximum":12,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date.month","typeLabel":"integer"},"day":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date.day","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].start_date","typeLabel":"object"},"end_date":{"type":"object","description":"Last day of a dated entry. Defaults to `start_date`.","required":["year","month","day"],"properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date.year","typeLabel":"integer"},"month":{"type":"integer","minimum":1,"maximum":12,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date.month","typeLabel":"integer"},"day":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date.day","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].end_date","typeLabel":"object"},"recurrence":{"type":"string","example":"FREQ=MONTHLY;BYDAY=1SA","description":"RFC 5545 rule. Only DAILY, WEEKLY, MONTHLY and YEARLY frequencies are supported.","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence","typeLabel":"string"},"recurrence_start":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer","isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start.year","typeLabel":"integer"},"month":{"type":"integer","minimum":1,"maximum":12,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start.month","typeLabel":"integer"},"day":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start.day","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].recurrence_start","typeLabel":"object"},"active_start_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_start_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_start_time.minutes","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_start_time","typeLabel":"object"},"active_end_time":{"type":"object","required":["hours"],"properties":{"hours":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_end_time.hours","typeLabel":"integer"},"minutes":{"type":"integer","minimum":0,"maximum":59,"description":"Defaults to 0","uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_end_time.minutes","typeLabel":"integer"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX].active_end_time","typeLabel":"object"}},"uniqueKey":"run_window.oneOf.0.special_hours.items.[INDEX]","typeLabel":"object"},"uniqueKey":"run_window.oneOf.0.special_hours","typeLabel":"object[]"}},"uniqueKey":"run_window.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"run_window.oneOf.1","typeLabel":"null"}],"uniqueKey":"run_window","typeLabel":"object | null"},"desktop_image_id":{"oneOf":[{"type":"string","format":"uuid","description":"ID of the desktop image the workflow runs on, or `null` for a browser workflow. See [Desktop Images](/concepts/desktop-images).","uniqueKey":"desktop_image_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"ID of the desktop image the workflow runs on, or `null` for a browser workflow. See [Desktop Images](/concepts/desktop-images).","uniqueKey":"desktop_image_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"desktop_image_id","typeLabel":"string\u003cuuid> | null"},"enable_error_code_generation":{"type":"boolean","description":"Whether error code generation is enabled for this workflow","uniqueKey":"enable_error_code_generation","typeLabel":"boolean"},"enable_service_unavailable_recovery":{"type":"boolean","description":"Whether service unavailable recovery is enabled for this workflow","uniqueKey":"enable_service_unavailable_recovery","typeLabel":"boolean"},"enable_incorrect_form_input_recovery":{"type":"boolean","description":"Deprecated, no effect","deprecated":true,"uniqueKey":"enable_incorrect_form_input_recovery","typeLabel":"boolean"},"enable_password_update_recovery":{"type":"boolean","description":"Whether Password Update Recovery is on. When a site forces a password change, the agent rotates the workflow's single vault credential and resumes the run. With more than one vault credential it sends a notification instead.","uniqueKey":"enable_password_update_recovery","typeLabel":"boolean"},"error_actions":{"oneOf":[{"type":"object","description":"What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action","properties":{"password_update":{"oneOf":[{"type":"string","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent","uniqueKey":"error_actions.oneOf.0.password_update.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent","uniqueKey":"error_actions.oneOf.0.password_update.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_actions.oneOf.0.password_update","typeLabel":"enum\u003cstring> | null"},"invalid_credentials":{"oneOf":[{"type":"string","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting","uniqueKey":"error_actions.oneOf.0.invalid_credentials.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting","uniqueKey":"error_actions.oneOf.0.invalid_credentials.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_actions.oneOf.0.invalid_credentials","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"error_actions.oneOf.0","typeLabel":"object"},{"type":"null","description":"What a run does for each credential error, per error. Omit a key, or the whole object, to keep its current action","properties":{"password_update":{"oneOf":[{"type":"string","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent"},{"type":"null","enum":["update_password","pause","fail"],"description":"What a run does when the site demands a password change that cannot be skipped. `update_password` lets Password Update Recovery change it, `pause` pauses the vault credential so queued runs stop using it, `fail` fails the run. null uses the workspace setting. Sets `enable_password_update_recovery` to match, and wins over it when both are sent"}]},"invalid_credentials":{"oneOf":[{"type":"string","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting"},{"type":"null","enum":["pause","fail"],"description":"What a run does when the site rejects the username or password. `pause` pauses the vault credential so queued runs stop retrying a login that cannot work, `fail` fails the run. null uses the workspace setting"}]}},"uniqueKey":"error_actions.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_actions","typeLabel":"object | null"},"enable_tfa_setup_recovery":{"type":"boolean","description":"Deprecated, no effect","deprecated":true,"uniqueKey":"enable_tfa_setup_recovery","typeLabel":"boolean"},"enable_decision_required_recovery":{"type":"boolean","description":"Whether Decision Required is on for this workflow. When on, the recovery agent can ask a person to choose before continuing, once the decision-required experiment reaches the workspace. Defaults to true.","uniqueKey":"enable_decision_required_recovery","typeLabel":"boolean"},"decision_timeout_seconds":{"oneOf":[{"type":"integer","minimum":30,"maximum":600,"description":"Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.","uniqueKey":"decision_timeout_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":30,"maximum":600,"description":"Seconds a person has to answer a Decision Required card before the run continues without an answer, from 30 to 600. Null uses the workspace value. A saved value above 600 from older settings is reset to null.","uniqueKey":"decision_timeout_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision_timeout_seconds","typeLabel":"integer | null"},"decision_mention_slack_ids":{"oneOf":[{"type":"array","items":{"type":"string","pattern":"^[UWS][A-Z0-9]{2,}$","uniqueKey":"decision_mention_slack_ids.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.","uniqueKey":"decision_mention_slack_ids.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string","pattern":"^[UWS][A-Z0-9]{2,}$"},"description":"Slack user or group IDs to mention on a decision-required request. A workspace-level value takes precedence.","uniqueKey":"decision_mention_slack_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision_mention_slack_ids","typeLabel":"string[] | null"},"decision_operating_hours":{"oneOf":[{"type":"object","description":"Deprecated, no effect. Set a schedule on a notification rule for `run.decision_required` instead.","uniqueKey":"decision_operating_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Deprecated, no effect. Set a schedule on a notification rule for `run.decision_required` instead.","uniqueKey":"decision_operating_hours.oneOf.1","typeLabel":"null"}],"uniqueKey":"decision_operating_hours","typeLabel":"object | null"},"manual_captcha_solve":{"type":"boolean","description":"When true, captchas are solved only at CAPTCHA nodes. When false, the automatic solver also runs before each step that acts on the page. A new workflow created without this field gets true. Existing workflows keep their stored value.","uniqueKey":"manual_captcha_solve","typeLabel":"boolean"},"allow_requeue":{"type":"boolean","description":"Whether automatic retries are enabled for this workflow. When false, the workflow will not be automatically retried on transient failures regardless of other recovery settings.","uniqueKey":"allow_requeue","typeLabel":"boolean"},"deny_requeue_past_dry_run_marker":{"type":"boolean","description":"When the workflow has a dry-run marker (end_here_on_dry_run), restricts automatic retries to failures that occur before the marker. Only effective when allow_requeue is true. Defaults to true.","uniqueKey":"deny_requeue_past_dry_run_marker","typeLabel":"boolean"},"enable_action_timing_recovery":{"type":"boolean","description":"Whether action timing recovery is enabled","uniqueKey":"enable_action_timing_recovery","typeLabel":"boolean"},"enable_network_listener":{"type":"boolean","description":"Whether network listener capture is enabled for this workflow version","uniqueKey":"enable_network_listener","typeLabel":"boolean"}},"required":["id","name","created_at","workspace_id","created_by","nodes","edges"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","workspace_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created_by":"3c90c3cc-0d44-4b50-8888-8dd25736052a","nodes":[{}],"edges":{},"description":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z","version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","version":"2.1.0","major":123,"minor":123,"patch":123,"bump_type":"major","branch_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","default_branch_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","parent_version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","merge_parent_version_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","input_schema":{},"vault_schema":{},"component_imports":[{"id":"\u003cstring>","version":2,"alias":"\u003cstring>"}],"local_components":[{"id":"\u003cstring>","name":"\u003cstring>","nodes":[{"id":"\u003cstring>","name":"\u003cstring>","action":"START","parameters":{},"description":"\u003cstring>"}],"edges":{},"input_schema":{},"output_schema":{},"vault_schema":{},"popup_xpaths":["\u003cstring>"]}],"enable_popup_handling":true,"enable_xpath_recovery":true,"run_window":{"time_zone":"America/Chicago","regular_hours":[{"active_start_day":"MONDAY","active_start_time":{"hours":11,"minutes":29},"active_end_day":"MONDAY","active_end_time":{"hours":11,"minutes":29}}],"special_hours":[{"active":true,"label":"Thanksgiving","start_date":{"year":123,"month":6,"day":16},"end_date":{"year":123,"month":6,"day":16},"recurrence":"FREQ=MONTHLY;BYDAY=1SA","recurrence_start":{"year":123,"month":6,"day":16},"active_start_time":{"hours":11,"minutes":29},"active_end_time":{"hours":11,"minutes":29}}]},"desktop_image_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","enable_error_code_generation":true,"enable_service_unavailable_recovery":true,"enable_incorrect_form_input_recovery":true,"enable_password_update_recovery":true,"error_actions":{"password_update":"update_password","invalid_credentials":"pause"},"enable_tfa_setup_recovery":true,"enable_decision_required_recovery":true,"decision_timeout_seconds":315,"decision_mention_slack_ids":["\u003cstring>"],"decision_operating_hours":{},"manual_captcha_solve":true,"allow_requeue":true,"deny_requeue_past_dry_run_marker":true,"enable_action_timing_recovery":true,"enable_network_listener":true}}},"exampleType":"generated"}},"exampleType":"generated"},"834232d8-ab12-4582-8b5e-f4420d37484c":{"description":"Bad request - Missing required fields, invalid payload, a `release_version` that is not `major.minor.patch` or not higher than the version the save is based on, or a node's error-code parameter is not the `id` of an error code in the workspace (values unchanged from the current version are accepted)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"1e747458-4a3f-4de4-93bf-09ebf02ef43b":{"description":"Unauthorized - Invalid or missing authentication","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c18b41d4-676a-4639-832e-8606e174b4b9":{"description":"The target branch is protected by a workspace rule, and `bypass_protection` was not set or your role cannot bypass it","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"2e39a902-affb-4966-b1cc-27cbe603df1c":{"description":"Workflow not found in workspace","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"91491175-e246-423a-962e-aa7196a13803":{"description":"`WORKFLOW_VERSION_CONFLICT` - `base_version_id` is not the latest version on the target branch. The response includes `latestVersionId`, `latestVersion` (e.g. `\"2.1.0\"`) and `latestBranchId`. A `release_version` that is already tagged on this workflow also returns `409`. `READ_ONLY_FIELD_CONFLICT` - an identity field or `error_codes` differs from the saved workflow; `fields` lists each one.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"bff32494-f565-4f60-8803-515be42716d4":{"description":"Internal server error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"fafd0b4a-6bcd-4485-b8dd-cae160ebf4f8":{"AuthScheme":{"type":"apiKey","name":"cc-key","in":"header","description":"API key-based authentication. Provide your CloudCruise API key in the cc-key header.","scopes":[],"schemeName":"AuthScheme"}}},"servers":{"deb72c3d-1fb1-4e5a-9832-a8be30593a74":{"url":"https://api.cloudcruise.com","description":"CloudCruise Platform Production API Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"cc-key","in":"header","description":"API key-based authentication. Provide your CloudCruise API key in the cc-key header.","scopes":[],"schemeName":"AuthScheme"},"schema":{"title":"cc-key","type":"string","description":"API key-based authentication. Provide your CloudCruise API key in the cc-key header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"AuthScheme","name":"cc-key"}],"title":"AuthScheme"}]},"originalFileLocation":"workflow-api/workflow-api.yaml"},"subdomain":"cloudcruise","siteName":"CloudCruise","title":"Update workflow - CloudCruise","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T00:29:18.657Z","originalFileLocation":"workflow-api/update-workflow.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key. This endpoint updates the workflow metadata and creates a new version with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error. Versioning: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless branch_id is given) and tags it with a semantic version. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send release_version to choose the version yourself; it must be higher than the version the save is based on. Use GET /workflows/{workflow_id}/versions to list version history, and GET /workflows/{workflow_id}/versions/{version} to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint). Branches: A body read from GET /workflows/{workflow_id}?branch_id=... carries that branch_id and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with 403 unless bypass_protection is true and your role is allowed to bypass it. Typical usage: 1. GET /workflows/{workflow_id} to fetch the current workflow definition 2. Modify the nodes, edges, or other fields as needed 3. PUT /workflows/{workflow_id} with the full updated payload to save a new version Important: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven\u0026#x27;t changed. Read-only fields: A body returned by GET /workflows/{workflow_id} or GET /workflows/{workflow_id}/export is accepted unchanged. Read-only fields are never written: - Identity fields id, workflow_id, workspace_id: may be omitted or null. If sent, they must equal the saved values. Otherwise 409 READ_ONLY_FIELD_CONFLICT, with fields listing each differing field and its saved and received value. - Snapshot fields version_id, version, major, minor, patch, bump_type, default_branch_id, parent_version_id, merge_parent_version_id, generation, created_at, created_by, updated_at, conversation_id: ignored. They describe the version you read, not the one you save. branch_id is the exception: it selects the branch to save to. - error_codes: ignored if they equal the workflow\u0026#x27;s current error codes, otherwise 409 READ_ONLY_FIELD_CONFLICT. This endpoint does not edit error codes. Concurrent edits: Send base_version_id (the version_id you read) to reject the save with 409 WORKFLOW_VERSION_CONFLICT if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch\u0026#x27;s latest version.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CloudCruise\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update workflow - CloudCruise\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key. This endpoint updates the workflow metadata and creates a new version with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error. Versioning: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless branch_id is given) and tags it with a semantic version. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send release_version to choose the version yourself; it must be higher than the version the save is based on. Use GET /workflows/{workflow_id}/versions to list version history, and GET /workflows/{workflow_id}/versions/{version} to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint). Branches: A body read from GET /workflows/{workflow_id}?branch_id=... carries that branch_id and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with 403 unless bypass_protection is true and your role is allowed to bypass it. Typical usage: 1. GET /workflows/{workflow_id} to fetch the current workflow definition 2. Modify the nodes, edges, or other fields as needed 3. PUT /workflows/{workflow_id} with the full updated payload to save a new version Important: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven\u0026#x27;t changed. Read-only fields: A body returned by GET /workflows/{workflow_id} or GET /workflows/{workflow_id}/export is accepted unchanged. Read-only fields are never written: - Identity fields id, workflow_id, workspace_id: may be omitted or null. If sent, they must equal the saved values. Otherwise 409 READ_ONLY_FIELD_CONFLICT, with fields listing each differing field and its saved and received value. - Snapshot fields version_id, version, major, minor, patch, bump_type, default_branch_id, parent_version_id, merge_parent_version_id, generation, created_at, created_by, updated_at, conversation_id: ignored. They describe the version you read, not the one you save. branch_id is the exception: it selects the branch to save to. - error_codes: ignored if they equal the workflow\u0026#x27;s current error codes, otherwise 409 READ_ONLY_FIELD_CONFLICT. This endpoint does not edit error codes. Concurrent edits: Send base_version_id (the version_id you read) to reject the save with 409 WORKFLOW_VERSION_CONFLICT if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch\u0026#x27;s latest version.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CloudCruise\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cloudcruise.com/workflow-api/update-workflow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cloudcruise.mintlify.site/_mintlify/api/og/v2?division=Workflow+API\u0026amp;title=Update+workflow\u0026amp;description=Updates+an+existing+workflow.+The+workflow+must+already+exist+and+belong+to+the+workspace+associated+with+your+API+key.%0A%0AThis+endpoint+updates+the+workflow+meta\u0026amp;theme=ffc9db1ae4e249ee41b68180\u0026amp;signature=a67fba0a09d67ac0f13df15c9d78ca9711a090ee47d40c040d6afa99f4ad7fec\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update workflow - CloudCruise\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key. This endpoint updates the workflow metadata and creates a new version with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error. Versioning: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless branch_id is given) and tags it with a semantic version. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send release_version to choose the version yourself; it must be higher than the version the save is based on. Use GET /workflows/{workflow_id}/versions to list version history, and GET /workflows/{workflow_id}/versions/{version} to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint). Branches: A body read from GET /workflows/{workflow_id}?branch_id=... carries that branch_id and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with 403 unless bypass_protection is true and your role is allowed to bypass it. Typical usage: 1. GET /workflows/{workflow_id} to fetch the current workflow definition 2. Modify the nodes, edges, or other fields as needed 3. PUT /workflows/{workflow_id} with the full updated payload to save a new version Important: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven\u0026#x27;t changed. Read-only fields: A body returned by GET /workflows/{workflow_id} or GET /workflows/{workflow_id}/export is accepted unchanged. Read-only fields are never written: - Identity fields id, workflow_id, workspace_id: may be omitted or null. If sent, they must equal the saved values. Otherwise 409 READ_ONLY_FIELD_CONFLICT, with fields listing each differing field and its saved and received value. - Snapshot fields version_id, version, major, minor, patch, bump_type, default_branch_id, parent_version_id, merge_parent_version_id, generation, created_at, created_by, updated_at, conversation_id: ignored. They describe the version you read, not the one you save. branch_id is the exception: it selects the branch to save to. - error_codes: ignored if they equal the workflow\u0026#x27;s current error codes, otherwise 409 READ_ONLY_FIELD_CONFLICT. This endpoint does not edit error codes. Concurrent edits: Send base_version_id (the version_id you read) to reject the save with 409 WORKFLOW_VERSION_CONFLICT if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch\u0026#x27;s latest version.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cloudcruise.mintlify.site/_mintlify/api/og/v2?division=Workflow+API\u0026amp;title=Update+workflow\u0026amp;description=Updates+an+existing+workflow.+The+workflow+must+already+exist+and+belong+to+the+workspace+associated+with+your+API+key.%0A%0AThis+endpoint+updates+the+workflow+meta\u0026amp;theme=ffc9db1ae4e249ee41b68180\u0026amp;signature=a67fba0a09d67ac0f13df15c9d78ca9711a090ee47d40c040d6afa99f4ad7fec\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cloudcruise/qna2ORyQtRYDEfUK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CloudCruise\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b82f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cloudcruise.com/workflow-api/update-workflow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/workflow-api/update-workflow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cloudcruise.com/#organization\",\"name\":\"CloudCruise\",\"url\":\"https://docs.cloudcruise.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cloudcruise/8_UPZbQUthCzbuCo/logo/logo-light-mode.png?fit=max\u0026auto=format\u0026n=8_UPZbQUthCzbuCo\u0026q=85\u0026s=ef2ba0e76d3257b48973b64d9e3a6da0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cloudcruise.com#website\",\"name\":\"CloudCruise\",\"url\":\"https://docs.cloudcruise.com\",\"publisher\":{\"@id\":\"https://docs.cloudcruise.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cloudcruise.com/workflow-api/update-workflow#webpage\",\"url\":\"https://docs.cloudcruise.com/workflow-api/update-workflow\",\"name\":\"Update workflow\",\"description\":\"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key. This endpoint updates the workflow metadata and creates a new version with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error. Versioning: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless branch_id is given) and tags it with a semantic version. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send release_version to choose the version yourself; it must be higher than the version the save is based on. Use GET /workflows/{workflow_id}/versions to list version history, and GET /workflows/{workflow_id}/versions/{version} to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint). Branches: A body read from GET /workflows/{workflow_id}?branch_id=... carries that branch_id and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with 403 unless bypass_protection is true and your role is allowed to bypass it. Typical usage: 1. GET /workflows/{workflow_id} to fetch the current workflow definition 2. Modify the nodes, edges, or other fields as needed 3. PUT /workflows/{workflow_id} with the full updated payload to save a new version Important: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven't changed. Read-only fields: A body returned by GET /workflows/{workflow_id} or GET /workflows/{workflow_id}/export is accepted unchanged. Read-only fields are never written: - Identity fields id, workflow_id, workspace_id: may be omitted or null. If sent, they must equal the saved values. Otherwise 409 READ_ONLY_FIELD_CONFLICT, with fields listing each differing field and its saved and received value. - Snapshot fields version_id, version, major, minor, patch, bump_type, default_branch_id, parent_version_id, merge_parent_version_id, generation, created_at, created_by, updated_at, conversation_id: ignored. They describe the version you read, not the one you save. branch_id is the exception: it selects the branch to save to. - error_codes: ignored if they equal the workflow's current error codes, otherwise 409 READ_ONLY_FIELD_CONFLICT. This endpoint does not edit error codes. Concurrent edits: Send base_version_id (the version_id you read) to reject the save with 409 WORKFLOW_VERSION_CONFLICT if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch's latest version.\",\"dateModified\":\"2026-10-19T00:29:18.657Z\",\"isPartOf\":{\"@id\":\"https://docs.cloudcruise.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cloudcruise.com/workflow-api/update-workflow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cloudcruise.com/workflow-api/update-workflow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.cloudcruise.com/workflow-api/get-workflows\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workflow API\",\"item\":\"https://docs.cloudcruise.com/workflow-api/get-workflows\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update workflow\",\"item\":\"https://docs.cloudcruise.com/workflow-api/update-workflow\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cloudcruise.com/workflow-api/update-workflow#apireference\",\"headline\":\"Update workflow\",\"name\":\"Update workflow\",\"description\":\"Updates an existing workflow. The workflow must already exist and belong to the workspace associated with your API key. This endpoint updates the workflow metadata and creates a new version with the provided nodes, edges, and configuration. If the workflow ID does not match an existing workflow in your workspace, the request will return a 404 error. Versioning: Every call to this endpoint creates a new, immutable workflow version on a branch (the default branch unless branch_id is given) and tags it with a semantic version. The bump is computed from the input and output schemas: a breaking schema change bumps the major, an additive one the minor, anything else the patch. Send release_version to choose the version yourself; it must be higher than the version the save is based on. Use GET /workflows/{workflow_id}/versions to list version history, and GET /workflows/{workflow_id}/versions/{version} to fetch the full JSON of any prior version (e.g., to inspect, diff, or roll back by re-submitting it via this endpoint). Branches: A body read from GET /workflows/{workflow_id}?branch_id=... carries that branch_id and saves back onto the same branch. A branch protected by a workspace rule rejects direct saves with 403 unless bypass_protection is true and your role is allowed to bypass it. Typical usage: 1. GET /workflows/{workflow_id} to fetch the current workflow definition 2. Modify the nodes, edges, or other fields as needed 3. PUT /workflows/{workflow_id} with the full updated payload to save a new version Important: This endpoint requires the full workflow definition. Partial updates are not supported, so you must include all required fields (nodes, edges, schemas) even if they haven't changed. Read-only fields: A body returned by GET /workflows/{workflow_id} or GET /workflows/{workflow_id}/export is accepted unchanged. Read-only fields are never written: - Identity fields id, workflow_id, workspace_id: may be omitted or null. If sent, they must equal the saved values. Otherwise 409 READ_ONLY_FIELD_CONFLICT, with fields listing each differing field and its saved and received value. - Snapshot fields version_id, version, major, minor, patch, bump_type, default_branch_id, parent_version_id, merge_parent_version_id, generation, created_at, created_by, updated_at, conversation_id: ignored. They describe the version you read, not the one you save. branch_id is the exception: it selects the branch to save to. - error_codes: ignored if they equal the workflow's current error codes, otherwise 409 READ_ONLY_FIELD_CONFLICT. This endpoint does not edit error codes. Concurrent edits: Send base_version_id (the version_id you read) to reject the save with 409 WORKFLOW_VERSION_CONFLICT if someone saved a newer version to the same branch since. Without it, the save always applies on top of the branch's latest version.\",\"url\":\"https://docs.cloudcruise.com/workflow-api/update-workflow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cloudcruise.com/workflow-api/update-workflow#webpage\"},\"dateModified\":\"2026-10-19T00:29:18.657Z\",\"publisher\":{\"@id\":\"https://docs.cloudcruise.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cloudcruise.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CloudCruise\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CloudCruise\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/workflow-api/update-workflow.md","siteName":"CloudCruise","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/MHjbUqedZF"},{"anchor":"Blog","icon":"newspaper","href":"https://cloudcruise.com/blog"}]},"groups":[{"group":"Getting Started","public":true,"pages":[{"title":"Quickstart","href":"/introduction"}]},{"group":"Concepts","public":true,"pages":[{"title":"Workflows","href":"/concepts/workflows"},{"title":"Run Window","href":"/concepts/run-window"},{"title":"Workflow Versioning","href":"/concepts/workflow-versioning"},{"title":"Workflow Components","href":"/concepts/workflow-components"},{"title":"Builder Agent","href":"/concepts/builder-agent"},{"group":"Maintenance Agent","root":{"title":"Maintenance Agent","href":"/concepts/maintenance-agent"},"pages":[{"title":"Understanding failures","href":"/concepts/maintenance-agent/understanding-failures"},{"title":"Automatic recovery","href":"/concepts/maintenance-agent/automatic-recovery"},{"title":"Decision Required","href":"/concepts/decision-required"},{"title":"Recovery settings","href":"/concepts/maintenance-agent/recovery-settings"},{"title":"Error codes","href":"/concepts/maintenance-agent/error-codes"},{"title":"Pausing","href":"/concepts/maintenance-agent/pausing"},{"title":"Results","href":"/concepts/maintenance-agent/results"}]},{"group":"Workflow DSL","pages":[{"title":"Overview","href":"/concepts/workflow-dsl/overview"},{"title":"Workflow Settings","href":"/concepts/workflow-dsl/workflow-settings"},{"group":"Node Types","pages":[{"title":"Start","href":"/concepts/workflow-dsl/start"},{"title":"Navigate","href":"/concepts/workflow-dsl/navigate"},{"title":"Click","href":"/concepts/workflow-dsl/click"},{"title":"Input Text","href":"/concepts/workflow-dsl/input-text"},{"title":"Input Select","href":"/concepts/workflow-dsl/input-select"},{"title":"Extract Datamodel","href":"/concepts/workflow-dsl/extract-datamodel"},{"title":"Extract Network","href":"/concepts/workflow-dsl/extract-network"},{"title":"API Flow","href":"/concepts/workflow-dsl/api-flow"},{"title":"Bool Condition","href":"/concepts/workflow-dsl/bool-condition"},{"title":"Loop","href":"/concepts/workflow-dsl/loop"},{"title":"Transform","href":"/concepts/workflow-dsl/transform"},{"title":"Delay","href":"/concepts/workflow-dsl/delay"},{"title":"Captcha","href":"/concepts/workflow-dsl/captcha"},{"title":"Scroll","href":"/concepts/workflow-dsl/scroll"},{"title":"Screenshot","href":"/concepts/workflow-dsl/screenshot"},{"title":"File Upload","href":"/concepts/workflow-dsl/file-upload"},{"title":"File Download","href":"/concepts/workflow-dsl/file-download"},{"title":"Tab Management","href":"/concepts/workflow-dsl/tab-management"},{"title":"Two-Factor Authentication","href":"/concepts/workflow-dsl/tfa"},{"title":"Component Call","href":"/concepts/workflow-dsl/component-call"},{"title":"User Interaction","href":"/concepts/workflow-dsl/user-interaction"},{"title":"End","href":"/concepts/workflow-dsl/end"}]}]},{"title":"Webhooks","href":"/concepts/webhooks"},{"title":"Run Statuses","href":"/concepts/run-statuses"},{"title":"Downloading Run Files","href":"/concepts/file-urls"},{"title":"Vault","href":"/concepts/vault"},{"title":"Desktop Images","href":"/concepts/desktop-images"},{"title":"Two-Factor Authentication","href":"/concepts/twofactor"},{"title":"SAML Single Sign-On","href":"/concepts/saml-sso"},{"title":"Citrix Virtual Desktops","href":"/concepts/citrix"},{"title":"Rate Limits","href":"/concepts/rate-limits"},{"title":"Payload Limits","href":"/concepts/limits"}]},{"group":"API Reference","public":true,"pages":[{"group":"Workflow API","pages":[{"openapi":"workflow-api/workflow-api.yaml get /workflows","title":"Get all workflows","href":"/workflow-api/get-workflows"},{"openapi":"workflow-api/workflow-api.yaml get /workflows/{workflow_id}","title":"Get workflow","href":"/workflow-api/get-workflow"},{"openapi":"workflow-api/workflow-api.yaml get /workflows/{workflow_id}/metadata","title":"Get workflow metadata","href":"/workflow-api/get-metadata"},{"openapi":"workflow-api/workflow-api.yaml get /workflows/{workflow_id}/versions","title":"List workflow versions","href":"/workflow-api/list-versions"},{"openapi":"workflow-api/workflow-api.yaml get /workflows/{workflow_id}/versions/{version}","title":"Get workflow version","href":"/workflow-api/get-version"},{"openapi":"workflow-api/workflow-api.yaml get /workflows/{workflow_id}/branches","title":"List workflow branches","href":"/workflow-api/list-branches"},{"openapi":"workflow-api/workflow-api.yaml post /workflows","title":"Create workflow","description":"Creates a new workflow in the workspace associated with your API key.\n\nThe workflow ID is generated server-side. The response includes the full workflow definition with the assigned ID, which you can use for subsequent operations (e.g., starting runs, updating the workflow).\n\n**Versioning**: The initial creation produces the workflow's first version, tagged with a semantic `version` (e.g. `1.0.0`), on its default branch `main`. Use `PUT /workflows/{workflow_id}` to create subsequent versions.\n\n**Read-only fields**: A body returned by `GET /workflows/{workflow_id}` or `GET /workflows/{workflow_id}/export` is accepted unchanged. Its read-only fields are handled as follows:\n- `id` (or `workflow_id`): used as the new workflow's ID if it is free. A taken ID returns `409 WORKFLOW_ID_TAKEN`.\n- `workspace_id`: may be omitted or `null`. If sent, it must be your workspace, otherwise `409 READ_ONLY_FIELD_CONFLICT`.\n- `version_id`, `version`, `major`, `minor`, `patch`, `bump_type`, `branch_id`, `default_branch_id`, `parent_version_id`, `merge_parent_version_id`, `generation`, `created_at`, `created_by`, `updated_at`, `conversation_id`: ignored. The server assigns them.\n- `error_codes`: copied into your workspace like `POST /workflows/import` does. Error codes with the same name and description are reused.","href":"/workflow-api/create-workflow"},{"openapi":"workflow-api/workflow-api.yaml put /workflows/{workflow_id}","title":"Update workflow","href":"/workflow-api/update-workflow"},{"openapi":"workflow-api/workflow-api.yaml get /workflows/{workflow_id}/run-window","title":"Get run window","description":"Returns the workflow's run window and whether it is open right now. When the workflow has no run window, both `run_window` and `state` are `null`.\n\nSee [Run Window](/concepts/run-window).","href":"/workflow-api/get-run-window"},{"openapi":"workflow-api/workflow-api.yaml put /workflows/{workflow_id}/run-window","title":"Set run window","href":"/workflow-api/set-run-window"},{"openapi":"workflow-api/workflow-api.yaml delete /workflows/{workflow_id}/run-window","title":"Delete run window","href":"/workflow-api/delete-run-window"},{"openapi":"workflow-api/workflow-api.yaml get /workflow-components","title":"List workflow components","href":"/workflow-api/list-components"},{"openapi":"workflow-api/workflow-api.yaml get /workflow-components/{component_id}","title":"Get workflow component","href":"/workflow-api/get-component"},{"openapi":"workflow-api/workflow-api.yaml get /workflow-components/{component_id}/usage","title":"Get component usage","href":"/workflow-api/get-component-usage"},{"openapi":"workflow-api/workflow-api.yaml get /workflow-components/{component_id}/versions","title":"List component versions","href":"/workflow-api/list-component-versions"},{"openapi":"workflow-api/workflow-api.yaml get /workflow-components/{component_id}/versions/{version_number}","title":"Get component version","href":"/workflow-api/get-component-version"},{"openapi":"workflow-api/workflow-api.yaml post /workflow-components","title":"Create workflow component","href":"/workflow-api/create-component"},{"openapi":"workflow-api/workflow-api.yaml patch /workflow-components/{component_id}","title":"Rename workflow component","href":"/workflow-api/rename-component"},{"openapi":"workflow-api/workflow-api.yaml put /workflow-components/{component_id}","title":"Update workflow component","href":"/workflow-api/update-component"},{"openapi":"workflow-api/workflow-api.yaml delete /workflow-components/{component_id}","title":"Delete workflow component","href":"/workflow-api/delete-component"},{"openapi":"workflow-api/workflow-api.yaml get /error-codes","title":"List error codes","href":"/workflow-api/list-error-codes"},{"openapi":"workflow-api/workflow-api.yaml post /error-codes","title":"Create error code","href":"/workflow-api/create-error-code"},{"openapi":"workflow-api/workflow-api.yaml patch /error-codes/{error_code_id}","title":"Update error code","href":"/workflow-api/update-error-code"},{"openapi":"workflow-api/workflow-api.yaml get /error-fingerprints","title":"List saved decisions","href":"/workflow-api/list-saved-decisions"},{"openapi":"workflow-api/workflow-api.yaml get /saved-decisions/nodes","title":"List saved decisions by node","href":"/workflow-api/list-saved-decisions-by-node"},{"openapi":"workflow-api/workflow-api.yaml post /saved-decisions/{id}/ask-every-time","title":"Set ask every time","href":"/workflow-api/set-ask-every-time"}]},{"group":"Run API","pages":[{"openapi":"run-api/run-api.yaml post /run","title":"Start a run","href":"/run-api/start-a-run"},{"openapi":"run-api/run-api.yaml get /runs","title":"List runs","href":"/run-api/list-runs"},{"openapi":"run-api/run-api.yaml get /run/{session_id}","title":"Retrieve run results","href":"/run-api/retrieve-run-results"},{"openapi":"run-api/run-api.yaml get /run/{session_id}/debug-snapshots/{node_id}","title":"Get debug snapshots","href":"/run-api/get-debug-snapshots"},{"openapi":"run-api/run-api.yaml get /run/{session_id}/network","title":"Get run network traffic","href":"/run-api/get-run-network"},{"openapi":"run-api/run-api.yaml get /runs/workflow/{workflow_id}/errors","title":"Get workflow error analytics","href":"/run-api/get-workflow-error-report"},{"openapi":"run-api/run-api.yaml get /run/{session_id}/decision/pending","title":"Get the pending decision","href":"/run-api/get-pending-decision"},{"openapi":"run-api/run-api.yaml post /run/{session_id}/decision/respond","title":"Answer a decision","href":"/run-api/answer-a-decision"},{"openapi":"run-api/run-api.yaml post /run/{session_id}/user_interaction","title":"Submit user interaction data","href":"/run-api/submit-user-interaction-data"},{"openapi":"run-api/run-api.yaml post /run/{session_id}/interrupt","title":"Interrupt run","href":"/run-api/interrupt-run"},{"openapi":"run-api/run-api.yaml get /runs/paused","title":"List paused resources","href":"/run-api/get-paused-resources"},{"openapi":"run-api/run-api.yaml post /runs/pause","title":"Pause runs","href":"/run-api/pause-runs"},{"openapi":"run-api/run-api.yaml post /runs/unpause","title":"Unpause runs","href":"/run-api/unpause-runs"},{"openapi":"run-api/run-api.yaml post /runs/unpause-all","title":"Unpause all runs","href":"/run-api/unpause-all-runs"},{"openapi":"run-api/run-api.yaml get /live/sessions/{session_id}/connection","title":"Get live-view connection","href":"/run-api/get-live-view-connection"}]},{"group":"Vault API","pages":[{"openapi":"vault-api/vault-api.yaml get /vault","title":"Get vault entries","href":"/vault-api/get-vault-entries"},{"openapi":"vault-api/vault-api.yaml get /vault/tfa-code","title":"Get 2FA code","href":"/vault-api/get-vault-tfa-code"},{"openapi":"vault-api/vault-api.yaml post /vault","title":"Create vault entry","href":"/vault-api/create-vault-entry"},{"openapi":"vault-api/vault-api.yaml put /vault","title":"Update vault entry","href":"/vault-api/update-vault-entry"},{"openapi":"vault-api/vault-api.yaml delete /vault","title":"Delete vault entry","href":"/vault-api/delete-vault-entry"},{"openapi":"vault-api/vault-api.yaml patch /vault/clear-browser-state","title":"Clear browser state","href":"/vault-api/clear-browser-state"},{"openapi":"vault-api/vault-api.yaml get /secret-providers","title":"List secret provider connections","href":"/vault-api/list-secret-providers"},{"openapi":"vault-api/vault-api.yaml get /secret-providers/{id}/items","title":"List secret provider items","href":"/vault-api/list-secret-provider-items"}]},{"group":"Custom Secret Provider API","pages":[{"openapi":"custom-secret-provider-api/custom-secret-provider-api.yaml post /v1/capabilities","title":"Report supported optional endpoints","href":"/custom-secret-provider-api/get-capabilities"},{"openapi":"custom-secret-provider-api/custom-secret-provider-api.yaml post /v1/items/resolve","title":"Return the secret values of one item","href":"/custom-secret-provider-api/resolve-item"},{"openapi":"custom-secret-provider-api/custom-secret-provider-api.yaml post /v1/items/describe","title":"Return an item's display metadata","href":"/custom-secret-provider-api/describe-item"},{"openapi":"custom-secret-provider-api/custom-secret-provider-api.yaml post /v1/items/list","title":"List items the connection may access","href":"/custom-secret-provider-api/list-items"}]},{"group":"Webhooks API","pages":[{"openapi":"webhooks-api/webhooks-api.yaml get /webhooks/sessions/{session_id}","title":"Get webhook events for a run","href":"/webhooks-api/get-webhook-events"},{"openapi":"webhooks-api/webhooks-api.yaml post /webhooks/{session_id}/replay","title":"Replay webhooks","href":"/webhooks-api/replay-webhooks"}]}]},{"group":"SDK","public":true,"pages":[{"group":"JS/TS","pages":[{"title":"Overview","href":"/sdk/js/overview"},{"title":"Workflows","href":"/sdk/js/workflows"},{"title":"Vault","href":"/sdk/js/vault"}]},{"group":"Python","pages":[{"title":"Python Overview","href":"/sdk/python/overview"},{"title":"Workflows","href":"/sdk/python/workflows"},{"title":"Vault","href":"/sdk/python/vault"}]},{"group":"CLI","pages":[{"title":"Overview","href":"/sdk/cli/overview"}]},{"group":"MCP","pages":[{"title":"Overview","href":"/sdk/mcp/overview"},{"title":"Tools","href":"/sdk/mcp/tools"}]}]},{"group":"Integrations","public":true,"pages":[{"title":"Slack","href":"/integrations/slack"},{"title":"Sentry","href":"/integrations/sentry"},{"title":"1Password","href":"/integrations/1password"},{"title":"Custom Secret Provider","href":"/integrations/custom-provider"}]}]},"basePath":"","title":"Update workflow - CloudCruise","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}