GET
/
api
/
v1
/
transformations
/
{id}
curl --request GET \
  --url https://api.nekt.ai/api/v1/transformations/{id}/ \
  --header 'x-api-key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "<string>",
  "pipeline_slug": "<string>",
  "pipeline_active": true,
  "pipeline_current_status": "<string>",
  "output_table_name": "<string>",
  "output_table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "output_layer": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "slug": "<string>"
  },
  "last_run": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "started_at": "2023-11-07T05:31:56Z",
    "ended_at": "2023-11-07T05:31:56Z",
    "status": "queued"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": {
    "id": 123,
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com",
    "picture": "<string>",
    "role": "<string>",
    "functional_area": "data_analytics",
    "other_functional_area": "<string>",
    "date_joined": "2023-11-07T05:31:56Z",
    "last_login": "2023-11-07T05:31:56Z",
    "is_active": false,
    "permission_groups": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "description": "<string>"
      }
    ]
  },
  "description": "<string>",
  "code": "<string>",
  "dependencies": [
    "<string>"
  ],
  "add_apache_sedona": true,
  "spark_driver_cores": 1073741824,
  "spark_driver_memory": 1073741825,
  "spark_executor_cores": 1073741824,
  "spark_executor_memory": 1073741825,
  "spark_executor_instances": 1073741824,
  "spark_executor_disk": 1073741833,
  "spark_execution_timeout_minutes": 1073741831,
  "pipeline_number_of_retries": 1073741823,
  "pipeline_retry_delay_seconds": 1073741823,
  "pipeline_max_consecutive_failures": 1073741824,
  "delta_log_retention_duration": -1,
  "draft_only": true,
  "current_draft": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "needs_validation",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_by": {
      "id": 123,
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "jsmith@example.com",
      "picture": "<string>",
      "role": "<string>",
      "functional_area": "data_analytics",
      "other_functional_area": "<string>",
      "date_joined": "2023-11-07T05:31:56Z",
      "last_login": "2023-11-07T05:31:56Z",
      "is_active": true,
      "permission_groups": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "description": "<string>"
        }
      ]
    }
  },
  "triggers": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "type": "manual",
      "cron_expression": "<string>",
      "cron_timezone": "Africa/Abidjan",
      "events": [
        "<string>"
      ],
      "event_rule": "any"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key authentication. Format: 'x-api-key: {api_token}'

Path Parameters

id
string
required

A UUID string identifying this Transformation.

Response

200 - application/json
id
string
required
type
string
required
pipeline_slug
string
required
pipeline_active
boolean
required
pipeline_current_status
string
required
output_table_name
string | null
required
output_table_id
string | null
required
output_layer
object
required
last_run
object
required
created_at
string
required
updated_at
string
required
created_by
object
required
description
string
required
draft_only
boolean
required
current_draft
object
required
triggers
object[]
required
code
string
dependencies
string[]
add_apache_sedona
boolean
spark_driver_cores
integer
Required range: 1 <= x <= 2147483647
spark_driver_memory
integer
Required range: 4 <= x <= 2147483647
spark_executor_cores
integer
Required range: 1 <= x <= 2147483647
spark_executor_memory
integer
Required range: 4 <= x <= 2147483647
spark_executor_instances
integer
Required range: 1 <= x <= 2147483647
spark_executor_disk
integer
Required range: 20 <= x <= 2147483647
spark_execution_timeout_minutes
integer
Required range: 15 <= x <= 2147483647
pipeline_number_of_retries
integer

The number of times to retry a task in the pipeline if it fails

Required range: 0 <= x <= 2147483647
pipeline_retry_delay_seconds
integer

The number of seconds to retry a task in the pipeline if it fails

Required range: 0 <= x <= 2147483647
pipeline_max_consecutive_failures
integer | null

The maximum number of consecutive failures allowed before the pipeline is paused

Required range: 1 <= x <= 2147483647
delta_log_retention_duration
integer | null
Required range: -2147483648 <= x <= 2147483647