Pipelines
A pipeline defines a set of runnable actions composed from datacomponents to complete a set of tasks - for example, ELT. Pipelines are run as jobs, either manually or on a predetermined schedule. Only a single pipeline can be run at any given time.
Objects
Pipeline
| Path | JSON Type | Format | Description |
|---|---|---|---|
id | string | Version 4 UUID | The pipeline ID |
status | string | Pipeline Status | |
name | string | The pipeline name | |
schedule | string | Cron | The interval at which to launch a new job e.g. 0 0 9-17 * * MON-FRI launches a job on the hour nine-to-five weekdays |
timeout | number | Unsigned integer | The number of seconds after which the job will terminate - if set to 0, an implicit default value of 300 seconds is used |
maxRetries | number | Unsigned integer | The maximum number of retries to attempt for a job ending with ERROR |
script | string | Bash script | Custom script to execute during a job |
created | string | ISO 8601 timestamp | When the pipeline was created |
lastModified | string | ISO 8601 timestamp | When the pipeline was last modified |
properties | object | Properties | The pipeline properties, defined by the dataplugin settings of each datacomponentProperties are key-value pairs, where keys reference setting names qualified by datacomponent names |
dataComponents | string[] | Array of datacomponent names | The pipeline datacomponent names or create / update with dataplugin fullyQualifiedName |
actions | string[] | Array of datacomponent names or commands | The pipeline actions to run during a job |
triggeredBy | string[] | Array of pipeline names or workspace task identifiers | Pipelines or workspace tasks that will trigger the pipeline on successful completion Supported values for workspace tasks (case-insensitive):
|
Example response body
Properties
For each setting in the datacomponents' dataplugin settings for each
| Path | JSON Type | Format | Description |
|---|---|---|---|
{datacomponent_name}.{setting_name} | Refer to setting kind | Refer to setting kind | Refer to setting description |
- Any required settings not satisfied by a datacomponent property must be provided as a pipeline property
- Any settings that are already satisfied by a datacomponent property can be overridden by a pipeline property
See create or update a pipeline in a workspace request for a working example.
Reserved Properties for Extractor Datacomponents
| Path | JSON Type | Format | Description |
|---|---|---|---|
{datacomponent_name}._select | string | JSON array | Meltano stream and property selection rules |
{datacomponent_name}._metadata | string | JSON object | Meltano stream and property metadata rules |
{
"name" : "github",
"dataComponents" : [ "tap-github", "Warehouse" ],
"properties" : {
"tap-github.repositories" : "[\"Matatika/matatika-ce\"]",
"tap-github.auth_token" : "ghp_***",
"tap-github._select" : "[\"commits.sha\"]",
"tap-github._metadata" : "{\"commits\":{\"replication-method\":\"FULL_TABLE\",\"replication-key\":\"commit_timestamp\"}}"
}
}
Formats
Pipeline Status
| Value | Description |
|---|---|
READY | The pipeline completed processing resource changes |
PROVISIONING | The pipeline is processing resource changes |
FAILED | The pipeline failed to process resource changes |
Requests
View all pipelines in a workspace
GET /api/workspaces/{workspace-id}/pipelines
Returns all configured pipelines in the workspace {workspace-id}.
Prerequisites
- Workspace
{workspace-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines' -i -X GET
import requests
url = "https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Pipeline collection with HAL links.
Example response body
View a pipeline
GET /api/pipelines/{pipeline-id}
Returns the pipeline {pipeline-id}.
Prerequisites
- Pipeline
{pipeline-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80' -i -X GET
import requests
url = "https://app.meltano.com:443/api/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Pipeline with HAL links.
Example response body
Initialise a pipeline in a workspace
POST /api/workspaces/{workspace-id}/pipelines
Initialises a new pipeline in the workspace {workspace-id}.
Prerequisites
- Workspace
{workspace-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Pipeline with HAL links.
Example response body
Create or update a pipeline in a workspace
PUT /api/workspaces/{workspace-id}/pipelines/{pipeline-id}
Creates or updates the pipeline {pipeline-id} in the workspace {workspace-id}.
Prerequisites
- Workspace
{workspace-id}must exist
Body
Pipeline resource.
{
"label" : "SIT-generated pipeline [2026-12-04T06:49:15.834354405]",
"dataComponents" : [ "extractors/tap-google-analytics", "Warehouse", "dbt" ],
"schedule" : "0 0 0 25 12 ?",
"properties" : {
"tap-google-analytics.start_date" : "2026-11-04T06:49:15.836692705Z",
"tap-google-analytics.property_id" : "1234567890"
}
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines/aea4afec-387a-40d7-96ea-3c1cc5b5f094' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"label" : "SIT-generated pipeline [2026-12-04T06:49:15.834354405]",
"dataComponents" : [ "extractors/tap-google-analytics", "Warehouse", "dbt" ],
"schedule" : "0 0 0 25 12 ?",
"properties" : {
"tap-google-analytics.start_date" : "2026-11-04T06:49:15.836692705Z",
"tap-google-analytics.property_id" : "1234567890"
}
}'
import requests
url = "https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines/aea4afec-387a-40d7-96ea-3c1cc5b5f094"
data = {
"label" : "SIT-generated pipeline [2026-12-04T06:49:15.834354405]",
"dataComponents" : [ "extractors/tap-google-analytics", "Warehouse", "dbt" ],
"schedule" : "0 0 0 25 12 ?",
"properties" : {
"tap-google-analytics.start_date" : "2026-11-04T06:49:15.836692705Z",
"tap-google-analytics.property_id" : "1234567890"
}
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
200 OK / 201 Created
Pipeline with HAL links.
Example response body
Create or update a pipeline as a draft
PUT /api/workspaces/{workspace-id}/pipelines/{pipeline-id}/draft
Creates or updates the pipeline {pipeline-id} in the workspace {workspace-id} as a draft.
Prerequisites
- Workspace
{workspace-id}must exist
Body
Pipeline resource.
{
"label" : "SIT-generated pipeline [2026-12-04T06:49:16.553948016]",
"dataComponents" : [ "tap-google-analytics", "Warehouse", "dbt" ]
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80/draft' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"label" : "SIT-generated pipeline [2026-12-04T06:49:16.553948016]",
"dataComponents" : [ "tap-google-analytics", "Warehouse", "dbt" ]
}'
import requests
url = "https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80/draft"
data = {
"label" : "SIT-generated pipeline [2026-12-04T06:49:16.553948016]",
"dataComponents" : [ "tap-google-analytics", "Warehouse", "dbt" ]
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
200 OK / 201 Created
Pipeline with HAL links.
Example response body
Validate a pipeline configuration in a workspace
POST /api/workspaces/{workspace-id}/pipelines/validation
Validates a pipeline configuration in the workspace {workspace-id}.
Prerequisites
- Workspace
{workspace-id}must exist
Body
Pipeline resource.
{
"label" : "SIT-generated pipeline [2026-12-04T06:49:16.553948016] (updated)",
"dataComponents" : [ "tap-google-analytics", "Warehouse", "dbt" ]
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines/validation' -i -X POST \
-H 'Content-Type: application/json' \
-d '{
"label" : "SIT-generated pipeline [2026-12-04T06:49:16.553948016] (updated)",
"dataComponents" : [ "tap-google-analytics", "Warehouse", "dbt" ]
}'
import requests
url = "https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines/validation"
data = {
"label" : "SIT-generated pipeline [2026-12-04T06:49:16.553948016] (updated)",
"dataComponents" : [ "tap-google-analytics", "Warehouse", "dbt" ]
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
200 OK
No response body provided.
400 Bad Request
Pipeline property validation errors.
Example response body
Verify a pipeline
POST /api/pipelines/{pipeline-id}/verification
Verifies the configuration of the pipeline {pipeline-id}.
Prerequisites
- Pipeline
{pipeline-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/979bb6d4-af93-4137-a35d-947a635b7919/verification' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.meltano.com:443/api/pipelines/979bb6d4-af93-4137-a35d-947a635b7919/verification"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
Job with HAL links.
Delete a pipeline
DELETE /api/pipelines/{pipeline-id}
Deletes the pipeline {pipeline-id}.
Prerequisites
- Pipeline
{pipeline-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80' -i -X DELETE
import requests
url = "https://app.meltano.com:443/api/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.
View pipeline metrics
GET /api/pipelines/{pipeline-id}/metrics
Returns the pipeline metrics for each job of {pipeline-id}.
Prerequisites
- Pipeline
{pipeline-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/979bb6d4-af93-4137-a35d-947a635b7919/metrics' -i -X GET
import requests
url = "https://app.meltano.com:443/api/pipelines/979bb6d4-af93-4137-a35d-947a635b7919/metrics"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200: The dataset data (defaults to JSON format).
Example response body
204: No response body, metrics not enabled.