---
title: "Initialize a pipeline with provided components. All sources, transforms, and sinks are linked."
method: POST
path: "/pipeline/with-components"
tags: ["Pipeline Management"]
---

# Initialize a pipeline with provided components. All sources, transforms, and sinks are linked.

`POST /pipeline/with-components`

Populates and publishes a new pipeline as specified.

## Request body

- object
  - `origin` 'ui' | 'system'
  - `pipeline` object, nullable
    - `id` string, uuid
    - `title` string, nullable
  - `sources` object[], required
    - `title` string, nullable
    - `description` string, nullable
    - `type` 'http' | 'splunk-hec' | 's3' | 'sqs' | 'demo-logs' | 'kinesis-firehose' | 'fluent' | 'log-analysis' | 'log-analysis-ingestion' | 'logstash' | 'mezmo-agent' | 'mezmo-datadog-source' | 'pipeline-data-restoration' | 'webhook' | 'kafka' | 'azure-event-hub' | 'prometheus-remote-write' | 'open-telemetry-metrics' | 'open-telemetry-logs' | 'open-telemetry-traces'
    - `user_config` object, required
  - `transforms` object[], required
    - `title` string, nullable
    - `description` string, nullable
    - `type` 'filter' | 'sample' | 'drop-fields' | 'parse' | 'parse-sequentially' | 'route' | 'stringify' | 'compact-fields' | 'flatten-fields' | 'dedupe' | 'encrypt-fields' | 'decrypt-fields' | 'js-script' | 'unroll' | 'vrl' | 'reduce' | 'map-fields' | 'metrics-tag-cardinality-limit' | 'aggregate' | 'event-to-metric' | 'clustering' | 'redact' | 'throttle' | 'set-timestamp' | 'data-profiler' | 'replace' | 'trace-sampling'
    - `user_config` object, required
  - `sinks` object[], required
    - `title` string, nullable
    - `description` string, nullable
    - `type` 'mezmo' | 'mezmo-archive' | 'http' | 'cloudwatch-logs' | 'cloudwatch-metrics' | 'sqs' | 'notification-channel' | 'azure-blob-storage' | 'kinesis-firehose' | 'kinesis-streams' | 'elasticsearch' | 'gcp-cloud-monitoring' | 'gcp-cloud-storage' | 'gcp-cloud-operations' | 'gcp-cloud-pubsub' | 'honeycomb-logs' | 'indexed-search' | 'kafka' | 'loki' | 'new-relic' | 'prometheus-remote-write' | 'pulsar' | 'redis' | 'splunk-hec-logs' | 'sumo-logic-logs' | 'sumo-logic-metrics' | 'vector' | 's3' | 'blackhole' | 'datadog-logs' | 'datadog-metrics' | 'clickhouse' | 'opentelemetry'
    - `user_config` object, required

## Response `200`

Default Response

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/versions/fb2535545d90/schema)
