curl --request PUT \
--url https://api.skyvern.com/v1/workflows/{workflow_permanent_id}/folder \
--header 'Content-Type: application/json' \
--data '
{
"folder_id": "<string>"
}
'{
"workflow_id": "<string>",
"organization_id": "<string>",
"title": "<string>",
"workflow_permanent_id": "<string>",
"version": 123,
"is_saved_task": true,
"workflow_definition": {
"parameters": [
{
"key": "<string>",
"workflow_parameter_id": "<string>",
"workflow_parameter_type": "string",
"workflow_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"parameter_type": "workflow",
"description": "<string>",
"default_value": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"blocks": [
{
"label": "<string>",
"output_parameter": {
"key": "<string>",
"output_parameter_id": "<string>",
"workflow_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"parameter_type": "output",
"description": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
},
"next_block_label": "<string>",
"block_type": "conditional",
"continue_on_failure": false,
"model": {},
"disable_cache": false,
"next_loop_on_failure": false,
"branch_conditions": [
{
"id": "<string>",
"criteria": {
"expression": "<string>",
"criteria_type": "jinja2_template",
"description": "<string>"
},
"next_block_label": "<string>",
"description": "<string>",
"is_default": false
}
]
}
],
"version": 1,
"finally_block_label": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"is_template": false,
"description": "<string>",
"proxy_location": "RESIDENTIAL",
"webhook_callback_url": "<string>",
"totp_verification_url": "<string>",
"totp_identifier": "<string>",
"persist_browser_session": false,
"model": {},
"status": "published",
"max_screenshot_scrolls": 123,
"extra_http_headers": {},
"run_with": "agent",
"ai_fallback": true,
"cache_key": "<string>",
"adaptive_caching": false,
"code_version": 123,
"generate_script_on_terminal": false,
"run_sequentially": true,
"sequential_key": "<string>",
"folder_id": "<string>",
"import_error": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
}Update a workflow’s folder assignment for the latest version
curl --request PUT \
--url https://api.skyvern.com/v1/workflows/{workflow_permanent_id}/folder \
--header 'Content-Type: application/json' \
--data '
{
"folder_id": "<string>"
}
'{
"workflow_id": "<string>",
"organization_id": "<string>",
"title": "<string>",
"workflow_permanent_id": "<string>",
"version": 123,
"is_saved_task": true,
"workflow_definition": {
"parameters": [
{
"key": "<string>",
"workflow_parameter_id": "<string>",
"workflow_parameter_type": "string",
"workflow_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"parameter_type": "workflow",
"description": "<string>",
"default_value": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"blocks": [
{
"label": "<string>",
"output_parameter": {
"key": "<string>",
"output_parameter_id": "<string>",
"workflow_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"parameter_type": "output",
"description": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
},
"next_block_label": "<string>",
"block_type": "conditional",
"continue_on_failure": false,
"model": {},
"disable_cache": false,
"next_loop_on_failure": false,
"branch_conditions": [
{
"id": "<string>",
"criteria": {
"expression": "<string>",
"criteria_type": "jinja2_template",
"description": "<string>"
},
"next_block_label": "<string>",
"description": "<string>",
"is_default": false
}
]
}
],
"version": 1,
"finally_block_label": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"is_template": false,
"description": "<string>",
"proxy_location": "RESIDENTIAL",
"webhook_callback_url": "<string>",
"totp_verification_url": "<string>",
"totp_identifier": "<string>",
"persist_browser_session": false,
"model": {},
"status": "published",
"max_screenshot_scrolls": 123,
"extra_http_headers": {},
"run_with": "agent",
"ai_fallback": true,
"cache_key": "<string>",
"adaptive_caching": false,
"code_version": 123,
"generate_script_on_terminal": false,
"run_sequentially": true,
"sequential_key": "<string>",
"folder_id": "<string>",
"import_error": "<string>",
"deleted_at": "2023-11-07T05:31:56Z"
}Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Workflow permanent ID
"wpid_123"
Request model for updating a workflow's folder assignment
Folder ID to assign workflow to. Set to null to remove from folder.
Successfully updated workflow folder
Show child attributes
RESIDENTIAL, US-CA, US-NY, US-TX, US-FL, US-WA, RESIDENTIAL_ES, RESIDENTIAL_IE, RESIDENTIAL_GB, RESIDENTIAL_IN, RESIDENTIAL_JP, RESIDENTIAL_FR, RESIDENTIAL_DE, RESIDENTIAL_NZ, RESIDENTIAL_ZA, RESIDENTIAL_AR, RESIDENTIAL_AU, RESIDENTIAL_BR, RESIDENTIAL_TR, RESIDENTIAL_CA, RESIDENTIAL_MX, RESIDENTIAL_IT, RESIDENTIAL_NL, RESIDENTIAL_PH, RESIDENTIAL_KR, RESIDENTIAL_ISP, NONE published, draft, auto_generated, importing, import_failed Show child attributes