Skip to main content
POST
/
transforms
/
bulk
/
clone
Bulk Clone Transforms
curl --request POST \
  --url https://api.streamkap.com/transforms/bulk/clone \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "select_all": false,
  "filters": {
    "source_id": "<string>",
    "destination_id": "<string>"
  },
  "name_suffix": " (Copy)"
}
'
{
  "results": [
    {
      "id": "<string>",
      "success": true,
      "message": "<string>",
      "data": {}
    }
  ],
  "summary": {
    "total": 123,
    "succeeded": 123,
    "failed": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for bulk clone operations.

Supports two modes:

  1. Explicit items: Provide list of items with id and name for each clone
  2. Select all: Set select_all=true with optional filters and name_suffix
items
BulkCloneItem · object[] | null

List of entities to clone with their new names. Omit if using select_all=true.

select_all
boolean
default:false

If true, select all entities matching the filters

filters
BulkSelectionFilter · object

Optional filters when select_all=true

name_suffix
string | null
default: (Copy)

Suffix to append to original names when using select_all. Default: ' (Copy)'

Response

Successful Response

Response model for bulk operations.

results
BulkOperationResult · object[]
required

Detailed results for each entity

summary
BulkOperationSummary · object
required

Summary statistics