POST
/
api
/
organizations
/
{organizationId}
/
pipelines
/
{pipelineId}
Update pipeline
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/pipelines/{pipelineId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "intervalStr": "<string>",
  "steps": [
    {
      "name": "<string>",
      "filter": "<string>",
      "pathFilters": [
        {
          "dataset": "<string>",
          "filter": "<string>"
        }
      ],
      "uploadType": "project",
      "projectId": 123,
      "newProjectName": "<string>",
      "projectApiKey": "<string>",
      "projectHmacKey": "<string>",
      "transformationBlockId": 123,
      "builtinTransformationBlock": {},
      "category": "training",
      "outputDatasetName": "<string>",
      "outputDatasetBucketId": 123,
      "outputDatasetBucketPath": "<string>",
      "outputPathInDataset": "<string>",
      "outputDatasetPathRule": "no-subfolders",
      "label": "<string>",
      "transformationParallel": 123,
      "extraCliArguments": "<string>",
      "parameters": {}
    }
  ],
  "dataset": "<string>",
  "projectId": 123,
  "emailRecipientUids": [
    123
  ],
  "notificationWebhook": "<string>",
  "whenToEmail": "always",
  "archived": true
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

pipelineId
integer
required

Pipeline ID

Body

application/json
name
string
required
description
string
required
steps
object[]
required
emailRecipientUids
integer[]
required
whenToEmail
enum<string>
required
Available options:
always,
on_new_data,
never
intervalStr
string

15m for every 15 minutes, 2h for every 2 hours, 1d for every 1 day

dataset
string
projectId
integer
notificationWebhook
string
archived
boolean

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

Optional error description (set if 'success' was false)