Update a workflow

Update a workflow

Path parameters

workflow_idstringRequired

The ID of the workflow to update. Workflow ID starts with wpid_.

Headers

x-api-keystring or nullOptional
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

Request

This endpoint expects an object.
json_definitionobject or nullOptional
Workflow definition in JSON format
yaml_definitionstring or nullOptional
Workflow definition in YAML format

Response

Successfully updated workflow
workflow_idstring
organization_idstring
titlestring
workflow_permanent_idstring
versioninteger
is_saved_taskboolean
workflow_definitionobject
created_atstringformat: "date-time"
modified_atstringformat: "date-time"
descriptionstring or null
proxy_locationenum or object or map from strings to any or null
webhook_callback_urlstring or null
totp_verification_urlstring or null
totp_identifierstring or null
persist_browser_sessionboolean or nullDefaults to false
modelmap from strings to any or null
statusenum or null
Allowed values:
max_screenshot_scrollsinteger or null
extra_http_headersmap from strings to strings or null
run_withstring or null
ai_fallbackboolean or nullDefaults to false
cache_keystring or null
run_sequentiallyboolean or null
sequential_keystring or null
folder_idstring or null
import_errorstring or null
deleted_atstring or nullformat: "date-time"

Errors