> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamkap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk Clone Transforms

> Clone multiple transforms with new names in parallel.
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

Returns partial success results - continues processing even if individual clones fail.



## OpenAPI

````yaml /openapi/openapi.json post /transforms/bulk/clone
openapi: 3.1.0
info:
  title: Streamkap REST API
  description: >-
    The Streamkap REST API allows you to programmatically manage your CDC
    pipelines, sources, destinations, transforms, and more.


    Authenticate using a bearer token obtained from the [Access
    Token](/api-reference/auth/access-token) endpoint with your API client
    credentials.
  contact:
    name: Streamkap Support
    url: https://streamkap.com/
    email: support@streamkap.com
  license:
    name: Proprietary
  version: 2.0.0
servers:
  - url: https://api.streamkap.com
    description: Production
security: []
tags:
  - name: Alerts
    description: Manage alert subscribers, preferences, and notification credentials.
  - name: Authentication
    description: Obtain and refresh access tokens, manage client credentials and roles.
  - name: Billing
    description: Retrieve usage metrics, summaries, and export billing data.
  - name: Consumer Groups
    description: List, inspect, and reset Kafka consumer group offsets.
  - name: Dashboard
    description: Retrieve organisation-level statistics and overview data.
  - name: Destinations
    description: Create, configure, and manage data destinations and their lifecycle.
  - name: Kafka Access
    description: Manage Kafka users and their access permissions.
  - name: Logs
    description: Query and summarise system logs.
  - name: Pipelines
    description: Create, configure, and manage CDC pipelines and their lifecycle.
  - name: Project Keys
    description: Manage project keys that bundle API credentials and optional Kafka access.
  - name: Schema Registry
    description: Browse schema subjects, versions, and retrieve schema definitions.
  - name: Services
    description: View and switch service metadata.
  - name: Sources
    description: >-
      Create, configure, and manage data sources, snapshots, and their
      lifecycle.
  - name: Tags
    description: Create, update, and manage resource tags for organisation.
  - name: Topics
    description: Browse topic details, statistics, configurations, metrics, and messages.
  - name: Transforms
    description: >-
      Create, deploy, and manage data transforms, unit tests, and implementation
      details.
paths:
  /transforms/bulk/clone:
    post:
      tags:
        - Transforms
      summary: Bulk Clone Transforms
      description: >-
        Clone multiple transforms with new names in parallel.

        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


        Returns partial success results - continues processing even if
        individual clones fail.
      operationId: bulkCloneTransforms
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkCloneReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkOperationRes'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - FronteggHTTPAuthentication: []
components:
  schemas:
    BulkCloneReq:
      properties:
        items:
          anyOf:
            - items:
                $ref: '#/components/schemas/BulkCloneItem'
              type: array
            - type: 'null'
          title: Items
          description: >-
            List of entities to clone with their new names. Omit if using
            select_all=true.
        select_all:
          type: boolean
          title: Select All
          description: If true, select all entities matching the filters
          default: false
        filters:
          anyOf:
            - $ref: '#/components/schemas/BulkSelectionFilter'
            - type: 'null'
          description: Optional filters when select_all=true
        name_suffix:
          anyOf:
            - type: string
            - type: 'null'
          title: Name Suffix
          description: >-
            Suffix to append to original names when using select_all. Default: '
            (Copy)'
          default: ' (Copy)'
      additionalProperties: true
      type: object
      title: BulkCloneReq
      description: |-
        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
    BulkOperationRes:
      properties:
        results:
          items:
            $ref: '#/components/schemas/BulkOperationResult'
          type: array
          title: Results
          description: Detailed results for each entity
        summary:
          $ref: '#/components/schemas/BulkOperationSummary'
          description: Summary statistics
      additionalProperties: true
      type: object
      required:
        - results
        - summary
      title: BulkOperationRes
      description: Response model for bulk operations.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BulkCloneItem:
      properties:
        id:
          type: string
          title: Id
          description: ID of the entity to clone
        name:
          type: string
          title: Name
          description: Name for the cloned entity
      additionalProperties: true
      type: object
      required:
        - id
        - name
      title: BulkCloneItem
      description: Single item for bulk clone operation.
    BulkSelectionFilter:
      properties:
        source_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Id
          description: Filter by source ID (for pipelines/destinations)
        destination_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Destination Id
          description: Filter by destination ID (for pipelines/destinations)
      additionalProperties: true
      type: object
      title: BulkSelectionFilter
      description: >-
        Optional filters for bulk operations when using 'select_all'.


        Supports filtering by source_id and destination_id for pipeline-related
        operations.
    BulkOperationResult:
      properties:
        id:
          type: string
          title: Id
          description: Entity ID
        success:
          type: boolean
          title: Success
          description: Whether the operation succeeded
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: Success message or error details
        data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Data
          description: Optional data returned by the operation
      additionalProperties: true
      type: object
      required:
        - id
        - success
      title: BulkOperationResult
      description: Result for a single entity in a bulk operation.
    BulkOperationSummary:
      properties:
        total:
          type: integer
          title: Total
          description: Total number of entities processed
        succeeded:
          type: integer
          title: Succeeded
          description: Number of successful operations
        failed:
          type: integer
          title: Failed
          description: Number of failed operations
      additionalProperties: true
      type: object
      required:
        - total
        - succeeded
        - failed
      title: BulkOperationSummary
      description: Summary statistics for a bulk operation.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    FronteggHTTPAuthentication:
      type: http
      scheme: bearer

````