Built by Metorial, the integration platform for agentic AI.

Learn More

Rudderstack Transformation

Tools

Get Library

Retrieve a specific reusable code library by its ID. Returns the library's code, importName, version, and metadata.

Create Library

Create a new reusable code library in RudderStack. Libraries are modular JavaScript or Python functions that can be imported into transformations via their auto-generated **importName** (camelCase of the library name).

List Library Versions

List all version revisions of a specific library. Each update to a library creates a new revision. Use this to view version history and find a specific version ID for rollback via the **Publish** tool.

Publish

Publish specific versions of transformations and/or libraries in a single operation. This makes the selected versions live for incoming event traffic. Use **List Transformation Versions** or **List Library Versions** to find the version IDs you want to publish. This is also the mechanism for rolling back to a previous version.

Update Transformation

Update an existing RudderStack transformation. You can modify the name, code, description, and optionally publish the updated version. Each update creates a new revision, preserving the full version history. Set **publish** to true to make the updated code live for incoming event traffic.

List Libraries

List all reusable code libraries in the workspace. Returns each library's metadata including name, importName, language, and timestamps. Does not include the full code — use **Get Library** to retrieve the code for a specific library.

Delete Library

Delete a reusable code library by its ID. The library will be removed, but all its version revisions are permanently preserved.

Update Library

Update an existing reusable code library. You can modify the code, description, and optionally publish the updated version. Each update creates a new revision. Set **publish** to true to make the updated code live.

Delete Transformation

Delete a RudderStack transformation by its ID. The transformation will be removed, but all its version revisions are permanently preserved and not deleted.

List Transformation Versions

List all version revisions of a specific transformation. Each update to a transformation creates a new revision. Use this to view version history and find a specific version ID for rollback via the **Publish** tool.

List Transformations

List all transformations in the workspace. Returns each transformation's metadata including name, language, version, and timestamps. Does not include the full code — use **Get Transformation** to retrieve the code for a specific transformation.

Get Transformation

Retrieve a specific RudderStack transformation by its ID. Returns the transformation's current code, version, language, description, and metadata.

Create Transformation

Create a new RudderStack transformation function. Transformations are custom JavaScript or Python functions that convert event data into destination-specific formats in real-time. When **publish** is false (default), the transformation is created as a draft and cannot be connected to destinations. Set **publish** to true to make it live for incoming event traffic and optionally connect destinations.