Skip to main content
POST
Migrate Tasks Between Versions
Migrate tasks between versions within the same branch. Supports two modes:
  • Bulk migration: Migrate all tasks from a source version (from_version_id)
  • Specific tasks: Migrate specific tasks (task_ids)
Target can be explicit (to_version_id) or the latest active version (to_latest).

Body

application/json

Request model for migrating tasks between versions.

from_version_id
string | null

Migrate ALL RUNNING tasks from this version

task_ids
string[] | null

OR migrate specific task IDs

to_latest
boolean
default:false

OR migrate to ACTIVE/DEPLOYING version on branch

to_version_id
string | null

Explicit target version ID

Response

Successful Response

Response model for task migration operation.

branch_id
string
required

Branch both versions belong to

tasks
TaskResponse · object[]
required

Migrated tasks

to_version
VersionResponse · object
required

Target version details

from_version_id
string | null

Source version (if bulk mode)