Get Transforms

GET /pipelines/get-transforms

Get pipeline transforms

Request

Headers

An API Key is required to access this endpoint.

NameValue

x-api-key

your_api_key

Params

NameTypeDescription

id

string

Unique ID for the pipeline.

Response

The API returns the response in JSON format.

Each response includes a success boolean and pipelineId.

Example

{
  "transforms": [
    {
      "id": "5cc8993c-5e5a-4cf9-9816-46eb16228b4e",
      "modelConfig": {
        "columnType": "enum",
        "conditions": [],
        "defaultValue": null,
        "sentimentType": "enum"
      },
      "modelType": "SENTIMENT",
      "name": "review_sentiment",
      "parentFieldIds": ["daa2c04d-0fa5-4d0e-be21-e18c1e940592"]
    },
    {
      "id": "5cc8993c-5e5a-4cf9-9816-46eb16228b4e",
      "modelConfig": {
        "conditions": [],
        "translateFrom": "en",
        "translateTo": "es"
      },
      "modelType": "TRANSLATE",
      "name": "translated_sentiment",
      "parentFieldIds": ["5cc8993c-5e5a-4cf9-9816-46eb16228b4e"]
    }
  ]
}

Last updated