Skip to main content
New to Corsair? See API access, authentication, and error handling.

Libraries

create

libraries.create Create a reusable library whose importName transformations import it by Risk: write
Input Output

delete

libraries.delete Delete a library by ID Risk: destructive
Input Output: empty object

get

libraries.get Read one published library by ID Risk: read
Input Output

getVersion

libraries.getVersion Read one revision of a library Risk: read
Input Output

list

libraries.list List the published libraries in the workspace Risk: read
Input: empty object Output

listVersions

libraries.listVersions List the revisions of a library, newest or oldest first Risk: read
Input Output

publish

libraries.publish Publish chosen transformation and library revisions after RudderStack runs their code, so a failing test publishes nothing Risk: write
Input
Output

update

libraries.update Update a library, writing a new revision and publishing it only when publish is true; the name and language cannot change Risk: write
Input Output

Transformations

connect

transformations.connect Connect a published transformation to a destination, replacing any transformation already connected to it Risk: write
Input Output

create

transformations.create Create a transformation; unpublished unless publish is true, and only a published one can be connected to a destination Risk: write
Input Output

delete

transformations.delete Delete a published transformation; its revisions are never deleted Risk: destructive
Input Output: empty object

disconnect

transformations.disconnect Disconnect a transformation from a destination Risk: write
Input Output

get

transformations.get Read one published transformation by ID Risk: read
Input Output

getVersion

transformations.getVersion Read one revision of a transformation Risk: read
Input Output

list

transformations.list List the published transformations in the workspace with their code, language and connected destinations Risk: read
Input: empty object Output

listVersions

transformations.listVersions List the revisions of a transformation, newest or oldest first Risk: read
Input Output

update

transformations.update Update a transformation, which always writes a new revision and makes it live only when publish is true Risk: write
Input Output