Golden data sets
Create a Golden Data Set from Schema and Transformations
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Request Body
application/json
name*string
Name of the dataset
description?|
Description of the dataset
columns*array<>
List of columns to create in the dataset
transformationQuery*
Query to filter which transformations to use
fieldMapping*
Mapping of transformation fields to dataset columns
Response Body
application/json
curl -X POST "https://api.bem.ai/v2/datasets/from-transformations" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "columns": [ { "name": "string", "type": "file" } ], "transformationQuery": {}, "fieldMapping": {} }'{
"dataset": {
"id": "string",
"name": "string",
"description": "string",
"versionNum": 0,
"columns": {},
"rowCount": 0,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"audit": {
"datasetCreatedBy": {
"userActionID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"createdAt": "2019-08-24T14:15:22Z"
},
"datasetLastUpdatedBy": {
"userActionID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"createdAt": "2019-08-24T14:15:22Z"
},
"versionCreatedBy": {
"userActionID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
}
},
"error": "string"
}