Create a Pipeline
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Creates a new pipeline to transform data, given an output schema. It returns the created pipeline's details. Pipelines are long-lived, so we recommend you create them outside of your application loop and reuse them.
Authorization
API Key Authenticate using API Key in request header
In: header
Request Body
application/json
Name of pipeline
Desired output structure defined in standard JSON Schema convention. Note - We DO NOT support non-alphanumeric characters in names of fields.
Name of output schema object.
DEPRECATED - use subscriptions for webhook events. Whether webhook functionality is enabled.
DEPRECATED - use subscriptions for webhook events. URL bem will send webhook requests to with successful transformation outputs if webhooks are enabled for the pipeline.
Whether tabular chunking is enabled on the pipeline. This processes tables in CSV/Excel in row batches, rather than all rows at once.
Whether independent transformations is enabled. For PDFs sent through the pipeline, this enables independent transformations for each individual page. For CSVs, this enables transforming chunks of rows in the CSV.
Response Body
application/json
curl -X POST "https://api.bem.ai/v1-beta/pipelines" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "outputSchema": {} }'{
"pipelineID": "string",
"name": "string",
"outputSchema": {},
"outputSchemaName": "string",
"emailAddress": "string",
"webhookEnabled": true,
"webhookURL": "string",
"tabularChunkingEnabled": true,
"independentDocumentProcessingEnabled": true
}