Workflows
Create Mapping
Create a new mapping
POST
/
mapping
This is a workflow endpoint, which is an abstraction over multiple base endpoints. This endpoint allows an end to end mapping generation workflow to be executed from scratch. This endpoint does the following in one call:
- Create Pipeline: creates a pipeline given a name, description, and target schema.
- Create Job: creates a job given source data.
- Run job: executes job run.
- Get Result: returns the output result object.
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
data
object[]
requiredThe data to be processed
name
string
requiredThe name of the pipeline. Must be unique within the organization.
description
string | null
The description of the pipeline
target_schema
required
The target schema to associate with the pipeline
from_sheet
boolean
default: falseThe name of the sheet to read from in the source file
sheet_id
string | null
The name of the sheet to read from in the source file
Response
200 - application/json
id
string
requiredstatus
string
requiredcreated_at
string
requiredupdated_at
string | null
job_id
string
requiredThe job ID
pipeline_id
string
requiredThe pipeline ID
mapped_data
object[] | null
The mapped data
link
string | null
The link to the mapped data