Skip to main content

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​

PathJSON TypeFormatDescription
idstringVersion 4 UUIDThe pipeline ID
statusstringPipeline Status
namestringThe pipeline name
schedulestringCronThe 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
timeoutnumberUnsigned integerThe number of seconds after which the job will terminate - if set to 0, an implicit default value of 300 seconds is used
maxRetriesnumberUnsigned integerThe maximum number of retries to attempt for a job ending with ERROR
scriptstringBash scriptCustom script to execute during a job
createdstringISO 8601 timestampWhen the pipeline was created
lastModifiedstringISO 8601 timestampWhen the pipeline was last modified
propertiesobjectPropertiesThe pipeline properties, defined by the dataplugin settings of each datacomponent
Properties are key-value pairs, where keys reference setting names qualified by datacomponent names
dataComponentsstring[]Array of datacomponent namesThe pipeline datacomponent names or create / update with dataplugin fullyQualifiedName
actionsstring[]Array of datacomponent names or commandsThe pipeline actions to run during a job
triggeredBystring[]Array of pipeline names or workspace task identifiersPipelines 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

PathJSON TypeFormatDescription
{datacomponent_name}.{setting_name}Refer to setting kindRefer to setting kindRefer 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​

PathJSON TypeFormatDescription
{datacomponent_name}._selectstringJSON arrayMeltano stream and property selection rules
{datacomponent_name}._metadatastringJSON objectMeltano 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​

ValueDescription
READYThe pipeline completed processing resource changes
PROVISIONINGThe pipeline is processing resource changes
FAILEDThe 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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/04407e33-a1ad-42c8-9aaa-a8d1f226338a/pipelines' -i -X GET

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80' -i -X GET

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 -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'

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 -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"
}
}'

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 -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" ]
}'

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 -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" ]
}'

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 -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'

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/b372d42f-5f40-4604-8b36-1adb2f755c80' -i -X DELETE

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/pipelines/979bb6d4-af93-4137-a35d-947a635b7919/metrics' -i -X GET

Response​

  • 200: The dataset data (defaults to JSON format).
Example response body
  • 204: No response body, metrics not enabled.

See Also​