BREAGEN Logo
Data Pipeline Management

Pipeline Management

Pipeline Operations - Create a Pipeline POST /pipelines

Resource URL/api/v1/pipelines
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
(Request Body)Pipeline object to be createdYesObjectN/A

Request Body

The request body is an object with the following required properties:

PropertyDescriptionRequiredTypeExample Value
nameName of the PipelineYesString"My Pipeline"
nodesArray of nodes in the PipelineYesArraySee example below
connectionsConnections between nodesYesObjectSee example below
settingsPipeline settingsYesObjectSee example below

Example Request

curl -X 'POST' \
'https://braegen.ai/api/v1/pipelines' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
    "name": "My Pipeline",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        },
        {
            "id": "51eb5852-ce0b-4806-b4ff-e41322a4041a",
            "name": "Send Email",
            "type": "nodes-base.emailSend",
            "typeVersion": 1,
            "position": [300, 200],
            "parameters": {
                "to": "[email protected]",
                "subject": "Test Email",
                "text": "This is a test email."
            }
        }
    ],
    "connections": {
        "Start": {
            "main": [
                {
                    "node": "Send Email",
                    "type": "main",
                    "index": 0
                }
            ]
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 3600,
        "timezone": "America/New_York"
    }
}'

Example Response

{
    "id": "2tUt1wbLX592XDdX",
    "name": "My Pipeline",
    "active": false,
    "createdAt": "2025-04-08T10:00:00.000Z",
    "updatedAt": "2025-04-08T10:00:00.000Z",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        },
        {
            "id": "51eb5852-ce0b-4806-b4ff-e41322a4041a",
            "name": "Send Email",
            "type": "nodes-base.emailSend",
            "typeVersion": 1,
            "position": [300, 200],
            "parameters": {
                "to": "[email protected]",
                "subject": "Test Email",
                "text": "This is a test email."
            }
        }
    ],
    "connections": {
        "Start": {
            "main": [
                {
                    "node": "Send Email",
                    "type": "main",
                    "index": 0
                }
            ]
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 3600,
        "timezone": "America/New_York"
    },
    "tags": []
}

HTTP Responses

HTTP CodeMessage
200Successful Response
400Bad Request
401Unauthorized

Pipeline Operations - Retrieve All pipelines GET /pipelines

Resource URL/api/v1/pipelines
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
activeFilter by active statusNoBooleanN/A
tagsFilter by comma-separated tag namesNoStringN/A
nameFilter by Pipeline nameNoStringN/A
projectIdFilter by project IDNoStringN/A
excludePinnedDataExclude pinned data from responseNoBooleanN/A
limitMaximum number of items to returnNoNumber100
cursorPagination cursorNoStringN/A

Example Request

curl -X 'GET' \
'https://braegen.ai/api/v1/pipelines?active=true&tags=test,production&limit=50&projectId=VmwOO9HeTEj20kxM' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here'

Example Response

{
    "data": [
        {
            "id": "2tUt1wbLX592XDdX",
            "name": "My Pipeline",
            "active": true,
            "createdAt": "2025-04-08T10:00:00.000Z",
            "updatedAt": "2025-04-08T10:00:00.000Z",
            "nodes": [
                {
                    "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
                    "name": "Start",
                    "type": "nodes-base.start",
                    "typeVersion": 1,
                    "position": [100, 200]
                }
            ],
            "connections": {
                "Start": {
                    "main": []
                }
            },
            "settings": {
                "saveExecutionProgress": true,
                "saveManualExecutions": true,
                "saveDataErrorExecution": "all",
                "saveDataSuccessExecution": "all",
                "executionTimeout": 3600,
                "timezone": "America/New_York"
            },
            "tags": [
                {
                    "id": "tag1",
                    "name": "test"
                },
                {
                    "id": "tag2",
                    "name": "production"
                }
            ]
        }
    ],
    "nextCursor": "MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA"
}

HTTP Responses

HTTP CodeMessage
200Successful Response
401Unauthorized

Pipeline Operations - Retrieve a Pipeline GET /pipelines/{id}

Resource URL/api/v1/pipelines/{id}
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the PipelineYesStringN/A
excludePinnedDataExclude pinned data from responseNoBooleanN/A

Example Request

curl -X 'GET' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX?excludePinnedData=true' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here'

Example Response

{
    "id": "2tUt1wbLX592XDdX",
    "name": "My Pipeline",
    "active": true,
    "createdAt": "2025-04-08T10:00:00.000Z",
    "updatedAt": "2025-04-08T10:00:00.000Z",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        },
        {
            "id": "51eb5852-ce0b-4806-b4ff-e41322a4041a",
            "name": "Send Email",
            "type": "nodes-base.emailSend",
            "typeVersion": 1,
            "position": [300, 200],
            "parameters": {
                "to": "[email protected]",
                "subject": "Test Email",
                "text": "This is a test email."
            }
        }
    ],
    "connections": {
        "Start": {
            "main": [
                {
                    "node": "Send Email",
                    "type": "main",
                    "index": 0
                }
            ]
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 3600,
        "timezone": "America/New_York"
    },
    "tags": [
        {
            "id": "tag1",
            "name": "test"
        }
    ]
}

HTTP Responses

HTTP CodeMessage
200Successful Response
401Unauthorized
404Not Found

Pipeline Operations - Delete a Pipeline DELETE /api/v1/pipelines/{id}

Resource URL/api/v1/pipelines/{id}
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the Pipeline to deleteYesStringN/A

Example Request

curl -X 'DELETE' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here'

Example Response

{
    "id": "2tUt1wbLX592XDdX",
    "name": "My Pipeline",
    "active": true,
    "createdAt": "2025-04-08T10:00:00.000Z",
    "updatedAt": "2025-04-08T10:00:00.000Z",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        }
    ],
    "connections": {
        "Start": {
            "main": []
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 3600,
        "timezone": "America/New_York"
    },
    "tags": [
        {
            "id": "tag1",
            "name": "test"
        }
    ]
}

HTTP Responses

HTTP CodeMessage
200Successful Response
401Unauthorized
404Not Found

Pipeline Operations - Update a Pipeline PUT /api/v1/pipelines/{id}

Resource URL/api/v1/pipelines/{id}
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the Pipeline to updateYesStringN/A
(Request Body)Updated Pipeline objectYesObjectN/A

Request Body

The request body is an object with the following required properties:

PropertyDescriptionRequiredTypeExample Value
nameName of the PipelineYesString"Updated Pipeline"
nodesArray of nodes in the PipelineYesArraySee example below
connectionsConnections between nodesYesObjectSee example below
settingsPipeline settingsYesObjectSee example below

Example Request

curl -X 'PUT' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
    "name": "Updated Pipeline",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        },
        {
            "id": "51eb5852-ce0b-4806-b4ff-e41322a4041a",
            "name": "Send Updated Email",
            "type": "nodes-base.emailSend",
            "typeVersion": 1,
            "position": [300, 200],
            "parameters": {
                "to": "[email protected]",
                "subject": "Updated Test Email",
                "text": "This is an updated test email."
            }
        }
    ],
    "connections": {
        "Start": {
            "main": [
                {
                    "node": "Send Updated Email",
                    "type": "main",
                    "index": 0
                }
            ]
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 7200,
        "timezone": "America/New_York"
    }
}'

Example Response

{
    "id": "2tUt1wbLX592XDdX",
    "name": "Updated Pipeline",
    "active": false,
    "createdAt": "2025-04-08T10:00:00.000Z",
    "updatedAt": "2025-04-08T12:00:00.000Z",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        },
        {
            "id": "51eb5852-ce0b-4806-b4ff-e41322a4041a",
            "name": "Send Updated Email",
            "type": "nodes-base.emailSend",
            "typeVersion": 1,
            "position": [300, 200],
            "parameters": {
                "to": "[email protected]",
                "subject": "Updated Test Email",
                "text": "This is an updated test email."
            }
        }
    ],
    "connections": {
        "Start": {
            "main": [
                {
                    "node": "Send Updated Email",
                    "type": "main",
                    "index": 0
                }
            ]
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 7200,
        "timezone": "America/New_York"
    },
    "tags": []
}

HTTP Responses

HTTP CodeMessage
200Successful Response
400Bad Request
401Unauthorized
404Not found

Pipeline Operations - Activate a Pipeline POST /api/v1/pipelines/{id}/activate

Resource URL/api/v1/pipelines/{id}/activate
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the Pipeline to activateYesStringN/A

Example Request

curl -X 'POST' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX/activate' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here'

Example Response

{
    "id": "2tUt1wbLX592XDdX",
    "name": "My Pipeline",
    "active": true,
    "createdAt": "2025-04-08T10:00:00.000Z",
    "updatedAt": "2025-04-08T12:00:00.000Z",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        }
    ],
    "connections": {
        "Start": {
            "main": []
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 3600,
        "timezone": "America/New_York"
    },
    "tags": []
}

HTTP Responses

HTTP CodeMessage
200Successful Response
401Unauthorized
404Not Found

Pipeline Operations - Deactivate a Pipeline POST /api/v1/pipelines/{id}/deactivate

Resource URL/api/v1/pipelines/{id}/deactivate
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the Pipeline to deactivateYesStringN/A

Example Request

curl -X 'POST' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX/deactivate' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here'

Example Response

{
    "id": "2tUt1wbLX592XDdX",
    "name": "My Pipeline",
    "active": false,
    "createdAt": "2025-04-08T10:00:00.000Z",
    "updatedAt": "2025-04-08T12:00:00.000Z",
    "nodes": [
        {
            "id": "0f5532f9-36ba-4bef-86c7-30d607400b15",
            "name": "Start",
            "type": "nodes-base.start",
            "typeVersion": 1,
            "position": [100, 200]
        }
    ],
    "connections": {
        "Start": {
            "main": []
        }
    },
    "settings": {
        "saveExecutionProgress": true,
        "saveManualExecutions": true,
        "saveDataErrorExecution": "all",
        "saveDataSuccessExecution": "all",
        "executionTimeout": 3600,
        "timezone": "America/New_York"
    },
    "tags": []
}

HTTP Responses

HTTP CodeMessage
200Successful Response
401Unauthorized
404Not Found

Pipeline Operations - Transfer a Pipeline to Another Project PUT /api/v1/pipelines/{id}/transfer

Resource URL/api/v1/pipelines/{id}/transfer
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the Pipeline to transferYesStringN/A
(Request Body)Destination project informationYesObjectN/A

Request Body

The request body is an object with the following required property:

PropertyDescriptionRequiredTypeExample Value
destinationProjectIdThe ID of the project to transfer the Pipeline toYesString"VmwOO9HeTEj20kxM"

Example Request

curl -X 'PUT' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX/transfer' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
    "destinationProjectId": "VmwOO9HeTEj20kxM"
}'

Example Response

This endpoint returns no content on success (HTTP 200):

<No content>

HTTP Responses

HTTP CodeMessage
200Successful Response
400Bad Request
401Unauthorized
404Not Found

Pipeline Operations - Transfer a Credential to Another Project PUT /api/v1/credentials/{id}/transfer

Resource URL/api/v1/credentials/{id}/transfer
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the credential to transferYesStringN/A
(Request Body)Destination project informationYesObjectN/A

Request Body

The request body is an object with the following required property:

PropertyDescriptionRequiredTypeExample Value
destinationProjectIdThe ID of the project to transfer the credential toYesString"VmwOO9HeTEj20kxM"

Example Request

curl -X 'PUT' \
'https://braegen.ai/api/v1/credentials/R2DjclaysHbqn778/transfer' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
    "destinationProjectId": "VmwOO9HeTEj20kxM"
}'

Example Response

This endpoint returns no content on success (HTTP 200):

<No content>

HTTP Responses

HTTP CodeMessage
200Successful Response
400Bad Request
401Unauthorized
404Not Found

Pipeline Operations - Get Pipeline Tags GET /api/v1/pipelines/{id}/tags

Resource URL/api/v1/pipelines/{id}/tags
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the PipelineYesStringN/A

Example Request

curl -X 'GET' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX/tags' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here'

Example Response

[
    {
        "id": "tag1",
        "name": "test",
        "createdAt": "2025-04-08T09:00:00.000Z",
        "updatedAt": "2025-04-08T09:00:00.000Z"
    },
    {
        "id": "tag2",
        "name": "production",
        "createdAt": "2025-04-08T09:05:00.000Z",
        "updatedAt": "2025-04-08T09:05:00.000Z"
    }
]

HTTP Responses

HTTP CodeMessage
200Successful Response
400Bad Request
401Unauthorized
404Not Found

Pipeline Operations - Update Tags of a Pipeline PUT /api/v1/pipelines/{id}/tags

Resource URL/api/v1/pipelines/{id}/tags
Response FormatJSON
Requires AuthenticationYes (API Key via X-API-KEY header)
Rate LimitedNot specified
HTTPSAssumed Yes

Parameters

ParameterDescriptionRequiredTypeDefault Value
idThe ID of the PipelineYesStringN/A
(Request Body)List of tag IDs to assignYesArrayN/A

Request Body

The request body is an array of objects, each with the following required property:

PropertyDescriptionRequiredTypeExample Value
idThe ID of a tag to assign to the PipelineYesString"tag1"

Example Request

curl -X 'PUT' \
'https://braegen.ai/api/v1/pipelines/2tUt1wbLX592XDdX/tags' \
-H 'accept: application/json' \
-H 'X-API-KEY: your_api_key_here' \
-H 'Content-Type: application/json' \
-d '[
    {"id": "tag1"},
    {"id": "tag2"}
]'

Example Request

[
    {
        "id": "tag1",
        "name": "test",
        "createdAt": "2025-04-08T09:00:00.000Z",
        "updatedAt": "2025-04-08T09:00:00.000Z"
    },
    {
        "id": "tag2",
        "name": "production",
        "createdAt": "2025-04-08T09:05:00.000Z",
        "updatedAt": "2025-04-08T09:05:00.000Z"
    }
]

HTTP Responses

HTTP CodeMessage
200Successful Response
400Bad Request
401Unauthorized
404Not Found

On this page