OrganizationBlocks

Update transformation block

Updates a transformation block. Only values in the body will be updated.

post/api/organizations/{organizationId}/transformation/{transformationId}

Request

Path parameters

organizationIdinteger required

Organization ID

transformationIdinteger required

Transformation block ID.

Request body

namestring
dockerContainerstring
indMetadataboolean

Whether to pass the --metadata parameter to the container.

descriptionstring
cliArgumentsstring
requestsCpunumber
requestsMemoryinteger
limitsCpunumber
limitsMemoryinteger
operatesOn'file' | 'directory' | 'standalone'
allowExtraCliArgumentsboolean
parametersobject[]
maxRunningTimeStrstring

15m for 15 minutes, 2h for 2 hours, 1d for 1 day. If not set, the default is 8 hours.

isPublicboolean
publicProjectTierAvailability'enterprise-only' | 'all-projects' | 'all-projects-including-whitelabels'

For public blocks, this indicates the project tiers for which this block is available.

repositoryUrlstring

URL to the source code of this custom learn block.

showInDataSourcesboolean

Whether to show this block in 'Data sources'. Only applies for standalone blocks.

showInCreateTransformationJobboolean

Whether to show this block in 'Create transformation job'. Only applies for standalone blocks.

showInSyntheticDataboolean

Whether to show this block in 'Synthetic data'. Only applies for standalone blocks.

showInAIActionsboolean

Whether to show this block in 'AI Labeling'. Only applies for standalone blocks.

aiActionsOperatesOnAIActionsOperatesOn[]

For AI labeling blocks, this lists the data types that the block supports. If this field is empty then there's no information about supported data types.

sourceCodeDownloadStaffOnlyboolean

Whether the source code is only available for staff users.

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Changes

No recorded changes to this operation across all 1 revision of this API.