Connections
Generate transformed data preview
Generate a preview of the data after the transformation. The preview is generated based on a sample data set from the data source. You can use get connector sample API to retrieve a sample dataset from the data source.
post/_api/transformations/preview
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"inputSchema": {
"attributes": [
{
"name": "Name",
"type": "string"
}
]
},
"outputSchema": {
"attributes": [
{
"name": "Name",
"type": "string"
}
]
}
}Response
Successfully generated the transformation preview.
Example response
{
"result": {
"schema": {
"attributes": [
{
"name": "Name",
"type": "string"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.