---
search:
  tags:
    - Transforms
    - POST
seo:
  description: >-
    Create New Transform With Full Process. Reference for the POST
    /transforms/full-process endpoint in the Streamkap REST API.
sidebar:
  label: Create New Transform With Full Process
  badge: POST
title: Create New Transform With Full Process
type: openapi-operation
---
`POST /transforms/full-process`

**Request body** (`application/json`, required)

- `transform` (TransformsLibraryEnum, required)
- `config` (TransformConfig, required)
- `created_from` (EntityOriginEnum | null)
- `tags` (string[] | null) — List of tag IDs to assign to this transform
- `implementation` (TransformsMapFilterImplementation | TransformsEnrichImplementation | TransformsEnrichAsyncImplementation | TransformsJoinImplementation | TransformsRollupImplementation, required)

Request body example:

```json
{
  "transform": "fan_out",
  "config": {
    "transforms.name": "string",
    "transforms.language": "string",
    "transforms.input.topic.pattern": "string",
    "transforms.output.topic.pattern": "string",
    "transforms.input.serialization.format": "Any",
    "transforms.output.serialization.format": "Any",
    "transforms.input.job.parallelism": 5,
    "transforms.topic.ttl": "string",
    "kc.cluster.id": "string"
  },
  "created_from": "api",
  "tags": [
    "string"
  ],
  "implementation": {
    "language": "PYTHON",
    "value_transform": "string",
    "key_transform": "string",
    "topic_transform": "string",
    "common_transform": "string",
    "value_schema_transform": "string",
    "key_schema_transform": "string",
    "unit_test": {
      "test_name": "string",
      "input__json": [
        {
          "topic": "string",
          "value": {},
          "key": {},
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "output__json": [
        {
          "topic": "string",
          "value": {},
          "key": {},
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "result__json": [
        {
          "topic": "string",
          "value": {},
          "key": {},
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "is_success": true,
      "html_diff": "string",
      "text_diff": "string"
    }
  }
}
```

**Responses**

- `200` — Successful Response
- `422` — Validation Error

Response example, 200:

```json
{
  "id": "string",
  "name": "string",
  "sub_id": "string",
  "tenant_id": "string",
  "service_id": "string",
  "start_time": "string",
  "job_name": "string",
  "topic_ids": [
    "string"
  ],
  "transform_type": "fan_out",
  "config": {
    "transforms.name": "string",
    "transforms.language": "string",
    "transforms.input.topic.pattern": "string",
    "transforms.output.topic.pattern": "string",
    "transforms.input.serialization.format": "Any",
    "transforms.output.serialization.format": "Any",
    "transforms.input.job.parallelism": 5,
    "transforms.topic.ttl": "string",
    "kc.cluster.id": "string"
  },
  "implementation": {
    "language": "PYTHON",
    "value_transform": "string",
    "key_transform": "string",
    "topic_transform": "string",
    "common_transform": "string",
    "value_schema_transform": "string",
    "key_schema_transform": "string",
    "unit_test": {
      "test_name": "string",
      "input__json": [
        {
          "topic": "string",
          "value": {},
          "key": {},
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "output__json": [
        {
          "topic": "string",
          "value": {},
          "key": {},
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "result__json": [
        {
          "topic": "string",
          "value": {},
          "key": {},
          "timestamp": "2019-08-24T14:15:22Z"
        }
      ],
      "is_success": true,
      "html_diff": "string",
      "text_diff": "string"
    }
  },
  "metrics": {
    "tasks": 0,
    "latency": 0,
    "status": "string",
    "duration": 0,
    "start_time": 0,
    "end_time": "string",
    "checkpoints": {
      "job_id": "string",
      "counts": {},
      "summary": {},
      "latest": {
        "id": 0,
        "status": "string",
        "is_savepoint": true,
        "trigger_timestamp": 0,
        "latest_ack_timestamp": 0,
        "state_size": 0,
        "end_to_end_duration": 0,
        "alignment_buffered": 0,
        "num_subtasks": 0,
        "num_acknowledged_subtasks": 0
      },
      "history": [],
      "operator_breakdown": []
    }
  },
  "live_version": "string",
  "preview_version": "string",
  "version": 1,
  "updated_timestamp": "2019-08-24T14:15:22Z",
  "implementation_updated_timestamp": "2019-08-24T14:15:22Z",
  "description": "string",
  "tags": [
    "string"
  ],
  "history_created_timestamp": "2019-08-24T14:15:22Z",
  "history_updated_timestamp": "2019-08-24T14:15:22Z"
}
```
