---
title: "Add source"
method: POST
path: "/pipeline/{pipeline_id}/source"
tags: ["Pipeline Nodes"]
---

# Add source

`POST /pipeline/{pipeline_id}/source`

Adds a source to a pipeline

## Path parameters

- `pipeline_id` string, uuid, required

## Request body

- object
  - `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', required
  - `deploy_type` 'saas' | 'local'
  - `title` string, nullable
  - `description` string, nullable
  - `user_config` object, required
  - `gateway_route_id` string, uuid

## 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/revisions/fb2535545d90/schema)
