Images

Move images to a different split

Moves images to a target split (train, val, or test). Filename and content conflicts require one basket-wide skip, keep-both, or replace policy. Maximum 1000 per batch.

patch/api/images/bulk

Request

  • Base URL
    https://platform.ultralytics.com
  • Auth
    HTTP bearer

Request body

imageIdsstring[] required
split'train' | 'val' | 'test' required

Dataset split type

conflictPolicy'skip' | 'keep_both' | 'replace'

How to handle filename or content conflicts

Example request

{
  "imageIds": [
    "507f1f77bcf86cd799439011"
  ]
}

Response

Images moved to target split

successtrue required
modifiedCountinteger required

Number of images moved

skippedCountinteger required

Number of conflicting source images left unchanged

targetSplit'train' | 'val' | 'test' required

Dataset split type

Changes

No recorded changes to this operation across all 43 revisions of this API.