Migrate deployment to template version (Cloud-only)

Migrates a deployment to a specific template version

Path parameters

projectstringRequired
The project slug
template_namestringRequired

The template name (without version)

deployment_idstringRequired
The deployment ID to migrate

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

Body
versionstringRequired
The target template version to migrate to
preserve_tool_variablesbooleanOptional
Whether to preserve existing tool variables during migration
preserve_core_memoriesbooleanOptional
Whether to preserve existing core memories during migration
memory_variablesmap from strings to stringsOptional
Additional memory variables to apply during migration

Response

200
successboolean
messagestring or null

Errors