POST
/
transformer
/
preview
Preview the output of a transformer.
curl --request POST \
  --url https://platform.versori.com/api/switchboard/v1alpha1/transformer/preview \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "input": "<string>",
  "transform": "<string>",
  "overrides": [
    {
      "actorid": "<string>",
      "input": "<string>"
    }
  ]
}'
{
  "output": {}
}

Authorizations

Authorization
string
header
required

Body

application/json

Payload to pass configuration and preview input data to the transformer.

input
string
required

The input data to the transformer.

transform
string
required

The configuration of the transformer.

overrides
object[]

Response

The transformed data from the transformer.

output
object
required

The output data from the transformer.