Transformations
Create a batch of Transformations
Creates a batch of new transformations, each with a content and input type, and queues them up in bem's servers. Bem supports both application/json
and multipart/form-data
requests, where the latter is useful for large files.
x-api-key<token>
Authenticate using API Key in request header
In: header
pipelineIDstring
ID of the desired pipeline to transform the input content. Generated by bem.
transformationsarray<Transformation>
An array of objects containing all the transformations you want to create.
Response Body
curl -X POST "https://api.bem.ai/v1-beta/transformations" \
-H "Content-Type: application/json" \
-d '{
"pipelineID": "pl_2c9AXIj48cUYJtCuv1gsQtHGDzK",
"transformations": [
{
"referenceID": "string",
"inputType": "email",
"inputContent": "string"
}
]
}'
{
"transformations": [
{
"referenceID": "string",
"taskID": "string",
"task_create_status": "string"
}
]
}