Developer Tools · Data & Analytics

RudderStack Transformation

RudderStack Transformation API allows you to manage transformations and libraries for customer data pipelines. Use it to create, update, and delete transformations programmatically.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Create Library

    Create a RudderStack transformation library containing reusable JavaScript or Python code. The library is unpublished by default; publishing makes it available for import by transformations.

  • Create Transformation

    Tool to create a RudderStack transformation. When publish=false (default), creates an unpublished transformation not available to event traffic. When publish=true, publishes the transformation making it live for incoming events and connectable to destinations.

  • Delete Transformation

    Delete a published transformation by ID. Note that RudderStack never deletes a transformation revision. Use this when you need to remove a transformation from the system.

  • Get library by ID

    Retrieves a single published library by its unique identifier. Use when you need to fetch details of a specific library.

  • Get Library Version

    Tool to retrieve a single library version by library ID and version ID. Use when you need to fetch details of a specific library revision in RudderStack transformations.

  • Get Transformation

    Tool to retrieve a published transformation by its ID from RudderStack. Use when you need to fetch details about a specific transformation including its code, version, and associated destinations.

  • Get Transformation Version

    Retrieve a single transformation revision by transformation ID and version ID. Use when you need to get details about a specific version of a RudderStack transformation.

  • List All Libraries

    Tool to retrieve all published libraries for a workspace. Use when you need to list available libraries for transformations.

  • List Library Versions

    List revisions of a RudderStack transformation library by library ID. Optionally specify a count and ascending or descending creation-time order; by default, the first five revisions are returned in ascending order.

  • List All Transformations

    Tool to retrieve all published transformations for a workspace. Use when you need to list available transformations or find a specific transformation by name.

  • List Transformation Versions

    List transformation versions for a given transformation ID, with optional count and ordering. By default, the API returns the first five versions in ascending creation order.

  • Update Transformation

    Tool to update and optionally publish a RudderStack transformation. Use when you need to modify a transformation's name, description, or code. Updating creates a new revision and sets it as published if the publish flag is true.