Skip to content

Skyvern: Update agent folder

Skyvern folders.updateWorkflowFolder: arguments, response, policy and SDK examples.

← Folders operations · Get started

Operation skyvern.update_workflow_folder_v1_workflows_workflow_permanent_id_folder_put

Provider route: PUT /v1/agents/{workflow_permanent_id}/folder. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/skyvern with npm, or alter-sdk-skyvern with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { SkyvernIntegration } from "@alter-ai/skyvern";
async function execute(input: Parameters<SkyvernIntegration["folders"]["updateWorkflowFolder"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new SkyvernIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.folders.updateWorkflowFolder(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_skyvern import SkyvernIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = SkyvernIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.folders.update_workflow_folder(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.workflow_permanent_idstringRequired within parentWorkflow permanent ID
bodyModelRequired within parentExpand Update agent folder — request body — body

Referenced models: Update agent folder — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Update an agent — response body

Referenced models: Update an agent — response body

55 more schemas are linked from the tables above, on the schema pages.

Update an agent — response body
FieldTypePresenceDescription and constraints
$objectRoot
adaptive_cachingbooleanOptionalDefault: false
agent_idstringRequired within parentAlias of `workflow_permanent_id` — the stable agent identifier (starts with `wpid_`).
Read only: true
ai_fallbackbooleanOptionalDefault: true
browser_profile_idJSONOptional
browser_profile_id (anyOf 1)stringAlternative
browser_profile_id (anyOf 2)nullAlternative
browser_profile_keyJSONOptional
browser_profile_key (anyOf 1)stringAlternative
browser_profile_key (anyOf 2)nullAlternative
browser_typeJSONOptional
browser_type (anyOf 1)stringAlternative
browser_type (anyOf 2)nullAlternative
build_sourceJSONOptionalWhich surface wrote this version: ui, copilot, mcp, cli, api, or internal. Null before tracking began.
build_source (anyOf 1)stringAlternativeWhich surface wrote a workflow version.

- ui: the Skyvern app
- copilot: the workflow copilot
- mcp: a first-party MCP client
- cli: the Skyvern CLI
- api: any other API or SDK caller
- internal: a workflow Skyvern creates for its own runs (task v2, login, credential tests)
Known values: ui, copilot, mcp, cli, api, internal
build_source (anyOf 2)nullAlternative
cache_keyJSONOptional
cache_key (anyOf 1)stringAlternative
cache_key (anyOf 2)nullAlternative
cdp_connect_headersJSONOptional
cdp_connect_headers (anyOf 1)objectAlternativeAdditional keys: see wildcard field
cdp_connect_headers (anyOf 1).*stringAdditional keys
cdp_connect_headers (anyOf 2)nullAlternative
code_versionJSONOptional
code_version (anyOf 1)JSONAlternative
code_version (anyOf 1) (anyOf 1)integerAlternative
code_version (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
code_version (anyOf 2)nullAlternative
copilot_authoredbooleanOptionalDefault: false
created_atstringRequired within parentFormat: date-time
created_byJSONOptional
created_by (anyOf 1)stringAlternative
created_by (anyOf 2)nullAlternative
deleted_atJSONOptional
deleted_at (anyOf 1)stringAlternativeFormat: date-time
deleted_at (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternative
description (anyOf 2)nullAlternative
edited_byJSONOptional
edited_by (anyOf 1)stringAlternative
edited_by (anyOf 2)nullAlternative
effective_default_engineJSONOptionalThe engine a task block with no `engine` set runs on in this agent, or null when engine routing decides it. Populated by the detail endpoint only.
effective_default_engine (anyOf 1)stringAlternativeKnown values: skyvern-1.0, skyvern-2.0, skyvern-3.0, openai-cua, anthropic-cua, ui-tars, yutori-navigator
effective_default_engine (anyOf 2)nullAlternative
enable_self_healingbooleanOptionalDefault: false
extra_http_headersJSONOptional
extra_http_headers (anyOf 1)objectAlternativeAdditional keys: see wildcard field
extra_http_headers (anyOf 1).*stringAdditional keys
extra_http_headers (anyOf 2)nullAlternative
folder_idJSONOptional
folder_id (anyOf 1)stringAlternative
folder_id (anyOf 2)nullAlternative
generate_script_on_terminalbooleanOptionalDefault: false
import_errorJSONOptional
import_error (anyOf 1)stringAlternative
import_error (anyOf 2)nullAlternative
is_saved_taskbooleanRequired within parent
is_templatebooleanOptionalDefault: false
mask_secretsbooleanOptionalDefault: false
max_elapsed_time_minutesJSONOptional
max_elapsed_time_minutes (anyOf 1)JSONAlternative
max_elapsed_time_minutes (anyOf 1) (anyOf 1)integerAlternative
max_elapsed_time_minutes (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
max_elapsed_time_minutes (anyOf 2)nullAlternative
max_screenshot_scrollsJSONOptional
max_screenshot_scrolls (anyOf 1)JSONAlternative
max_screenshot_scrolls (anyOf 1) (anyOf 1)integerAlternative
max_screenshot_scrolls (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
max_screenshot_scrolls (anyOf 2)nullAlternative
modelJSONOptional
model (anyOf 1)objectAlternativeAdditional keys: allowed
model (anyOf 2)nullAlternative
modified_atstringRequired within parentFormat: date-time
organization_idstringRequired within parent
original_created_atJSONOptionalWhen the agent's first version was created. Populated by the list endpoint only.
original_created_at (anyOf 1)stringAlternativeFormat: date-time
original_created_at (anyOf 2)nullAlternative
original_created_byJSONOptionalWho created the agent's first version. Populated by the list endpoint only.
original_created_by (anyOf 1)stringAlternative
original_created_by (anyOf 2)nullAlternative
persist_browser_sessionbooleanOptionalDefault: false
pin_saved_session_ipbooleanOptionalDefault: false
proxy_locationJSONOptional
proxy_location (anyOf 1)ModelAlternativeExpand Update an agent — response body — proxy location string
proxy_location (anyOf 2)ModelAlternativeExpand Update an agent — response body — proxy location city, country, is ISP, subdivision
proxy_location (anyOf 3)objectAlternativeAdditional keys: allowed
proxy_location (anyOf 4)nullAlternative
reuse_browser_sessionbooleanOptionalDefault: false
run_sequentiallyJSONOptional
run_sequentially (anyOf 1)booleanAlternative
run_sequentially (anyOf 2)nullAlternative
run_withstringOptionalDefault: agent
sequential_keyJSONOptional
sequential_key (anyOf 1)stringAlternative
sequential_key (anyOf 2)nullAlternative
statusstringOptionalKnown values: published, draft, auto_generated, importing, import_failed
Default: published
titlestringRequired within parent
totp_identifierJSONOptional
totp_identifier (anyOf 1)stringAlternative
totp_identifier (anyOf 2)nullAlternative
totp_verification_urlJSONOptional
totp_verification_url (anyOf 1)stringAlternative
totp_verification_url (anyOf 2)nullAlternative
versionJSONRequired within parent
version (anyOf 1)integerAlternative
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
webhook_callback_urlJSONOptional
webhook_callback_url (anyOf 1)stringAlternative
webhook_callback_url (anyOf 2)nullAlternative
workflow_definitionModelRequired within parentExpand Update an agent — response body — workflow definition
workflow_idstringRequired within parent
workflow_permanent_idstringRequired within parent

Referenced models: Update an agent — response body — proxy location city, country, is ISP, subdivision, Update an agent — response body — proxy location string, Update an agent — response body — workflow definition

Update agent folder — request body — body
FieldTypePresenceDescription and constraints
$objectRootRequest model for updating a workflow's folder assignment
folder_idJSONOptionalFolder ID to assign workflow to. Set to null to remove from folder.
folder_id (anyOf 1)stringAlternative
folder_id (anyOf 2)nullAlternative
Update an agent — response body — proxy location string
FieldTypePresenceDescription and constraints
$stringRootKnown values: 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_SA, RESIDENTIAL_ISP, NONE

SDK function policy ID: skyvern.update_workflow_folder_v1_workflows_workflow_permanent_id_folder_put. Catalog operation: update_workflow_folder_v1_workflows__workflow_permanent_id__folder_put. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.