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. 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.

POST
/v1-beta/transformations
x-api-key<token>

Authenticate using API Key in request header

In: header

pipelineID*string

ID of the desired pipeline to transform the input content. Generated by bem.

referenceID*string

The unique ID you use internally to refer to this data point. Upon successful transformation, we will return it to you with the transformed content, so you can associate inputs and outputs.

file*unknown

The binary content for the file you'd like to transform.

Response Body

application/json

curl -X POST "https://api.bem.ai/v1-beta/transformations" \  -H "Content-Type: application/json" \  -d '{    "pipelineID": "string",    "transformations": [      {        "referenceID": "string",        "inputType": "csv",        "inputContent": "string"      }    ]  }'
{
  "transformations": [
    {
      "referenceID": "string",
      "task_create_status": "string"
    }
  ]
}