Mapping and project settings
Turn each row into the parameters of one call, and set a project's pace, cost cap and output formats.
A project runs one endpoint over one input. Its mapping says, for each parameter of the endpoint, where the value comes from: a column of the input, or a fixed value shared by every row.
{
"name": "Enrich companies",
"endpoint_id": "ENDPOINT_ID",
"input": { "type": "file", "input_id": "INPUT_ID" },
"mapping": {
"domain": { "column": "website" },
"fields": { "value": "name,industry" }
}
}Here every row calls the endpoint with domain set to the row's website, and fields set to name,industry.
To start from a ready-made endpoint and mapping, see Templates.