Get the schema of resource type
Returns the columns a transformation query must produce to write to the destination. Sequence rows destinations use Get the schema of a sequence, and data model destinations (nodes, edges and instances) use Get Instance schema.
nodes
edges
instances
const columns = await client.transformations.schema.retrieve( { type: 'assets' }, 'upsert'); Copy
const columns = await client.transformations.schema.retrieve( { type: 'assets' }, 'upsert');
Optional
Get the schema of resource type
Returns the columns a transformation query must produce to write to the destination. Sequence rows destinations use Get the schema of a sequence, and data model destinations (
nodes,edgesandinstances) use Get Instance schema.