Run pipeline

Run pipeline

post

Run an organizational pipeline

Authorizations
Path parameters
organizationIdintegerrequired

Organization ID

pipelineIdintegerrequired

Pipeline ID

Query parameters
ignoreLastSuccessfulRunbooleanoptional

If set then EI_LAST_SUCCESSFUL_RUN is not set. You can use this to re-run a pipeline from scratch.

Responses
curl -L \
  --request POST \
  --url 'https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/pipelines/{pipelineId}/run' \
  --header 'x-api-key: YOUR_API_KEY'
{
  "success": true,
  "error": "text",
  "pipelineRun": {
    "id": 1,
    "steps": [
      {
        "name": "text",
        "transformationJob": {
          "id": 1,
          "organizationId": 1,
          "name": "text",
          "uploadType": "dataset",
          "status": "waiting",
          "transformJobStatus": "waiting",
          "uploadJobId": 1,
          "uploadJobStatus": "waiting",
          "uploadJobFilesUploaded": 1,
          "projectOwner": "text",
          "projectId": 1,
          "projectName": "text",
          "transformationBlockId": 1,
          "builtinTransformationBlock": {},
          "transformationBlockName": "text",
          "category": "training",
          "created": "2025-03-27T00:10:22.567Z",
          "outputDatasetName": "text",
          "outputDatasetBucketId": 1,
          "outputDatasetBucketPath": "text",
          "totalDownloadFileCount": 1,
          "totalDownloadFileSize": 1,
          "totalDownloadFileSizeString": "text",
          "totalUploadFileCount": 1,
          "transformationParallel": 1,
          "transformationSummary": {
            "startedCount": 1,
            "succeededCount": 1,
            "finishedCount": 1,
            "totalFileCount": 1,
            "totalTimeSpentSeconds": 1
          },
          "inProgress": true,
          "label": "text",
          "filterQuery": "text",
          "emailRecipientUids": [
            1
          ],
          "pipelineId": 1,
          "pipelineName": "text",
          "pipelineRunId": 1,
          "pipelineStep": 1,
          "operatesOn": "file",
          "totalTimeSpentSeconds": 1,
          "totalTimeSpentString": "text",
          "createdByUser": {
            "id": 1,
            "name": "text",
            "username": "text",
            "photo": "text"
          }
        },
        "filter": "text",
        "uploadType": "project",
        "projectId": 1,
        "newProjectName": "text",
        "projectApiKey": "text",
        "projectHmacKey": "text",
        "transformationBlockId": 1,
        "builtinTransformationBlock": {},
        "category": "training",
        "outputDatasetName": "text",
        "outputDatasetBucketId": 1,
        "outputDatasetBucketPath": "text",
        "label": "text",
        "extraCliArguments": "text",
        "parameters": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        }
      }
    ],
    "created": "2025-03-27T00:10:22.567Z",
    "finished": "2025-03-27T00:10:22.567Z",
    "itemCountBefore": {
      "itemCount": 1,
      "itemCountChecklistOK": 1,
      "itemCountChecklistFailed": 1
    },
    "itemCountAfter": {
      "itemCount": 1,
      "itemCountChecklistOK": 1,
      "itemCountChecklistFailed": 1
    },
    "itemCountImportIntoProjectFailed": 1
  }
}

Last updated

Was this helpful?