curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/pipelines/{pipelineId}/run \
--header 'x-api-key: <api-key>'{
"success": true,
"pipelineRun": {
"id": 123,
"steps": [
{
"name": "<string>",
"transformationJob": {
"id": 123,
"organizationId": 123,
"name": "<string>",
"uploadType": "dataset",
"status": "waiting",
"transformJobStatus": "waiting",
"uploadJobStatus": "waiting",
"category": "training",
"created": "2023-11-07T05:31:56Z",
"totalDownloadFileCount": 123,
"totalDownloadFileSize": 123,
"totalDownloadFileSizeString": "<string>",
"totalUploadFileCount": 123,
"transformationParallel": 123,
"transformationSummary": {
"startedCount": 123,
"succeededCount": 123,
"finishedCount": 123,
"totalFileCount": 123,
"totalTimeSpentSeconds": 123
},
"inProgress": true,
"operatesOn": "file",
"totalTimeSpentSeconds": 123,
"totalTimeSpentString": "<string>",
"uploadJobId": 123,
"uploadJobFilesUploaded": 123,
"projectOwner": "<string>",
"projectId": 123,
"projectName": "<string>",
"transformationBlockId": 123,
"builtinTransformationBlock": {},
"transformationBlockName": "<string>",
"outputDatasetName": "<string>",
"outputDatasetBucketId": 123,
"outputDatasetBucketPath": "<string>",
"label": "<string>",
"filterQuery": "<string>",
"emailRecipientUids": [
123
],
"pipelineId": 123,
"pipelineName": "<string>",
"pipelineRunId": 123,
"pipelineStep": 123,
"createdByUser": {
"id": 123,
"name": "<string>",
"username": "<string>",
"photo": "<string>"
}
},
"filter": "<string>",
"uploadType": "project",
"projectId": 123,
"newProjectName": "<string>",
"projectApiKey": "<string>",
"projectHmacKey": "<string>",
"transformationBlockId": 123,
"builtinTransformationBlock": {},
"category": "training",
"outputDatasetName": "<string>",
"outputDatasetBucketId": 123,
"outputDatasetBucketPath": "<string>",
"label": "<string>",
"extraCliArguments": "<string>",
"parameters": {}
}
],
"created": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"itemCountBefore": {
"itemCount": 123,
"itemCountChecklistOK": 123,
"itemCountChecklistFailed": 123
},
"itemCountAfter": {
"itemCount": 123,
"itemCountChecklistOK": 123,
"itemCountChecklistFailed": 123
},
"itemCountImportIntoProjectFailed": 123
},
"error": "<string>"
}Run an organizational pipeline
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/pipelines/{pipelineId}/run \
--header 'x-api-key: <api-key>'{
"success": true,
"pipelineRun": {
"id": 123,
"steps": [
{
"name": "<string>",
"transformationJob": {
"id": 123,
"organizationId": 123,
"name": "<string>",
"uploadType": "dataset",
"status": "waiting",
"transformJobStatus": "waiting",
"uploadJobStatus": "waiting",
"category": "training",
"created": "2023-11-07T05:31:56Z",
"totalDownloadFileCount": 123,
"totalDownloadFileSize": 123,
"totalDownloadFileSizeString": "<string>",
"totalUploadFileCount": 123,
"transformationParallel": 123,
"transformationSummary": {
"startedCount": 123,
"succeededCount": 123,
"finishedCount": 123,
"totalFileCount": 123,
"totalTimeSpentSeconds": 123
},
"inProgress": true,
"operatesOn": "file",
"totalTimeSpentSeconds": 123,
"totalTimeSpentString": "<string>",
"uploadJobId": 123,
"uploadJobFilesUploaded": 123,
"projectOwner": "<string>",
"projectId": 123,
"projectName": "<string>",
"transformationBlockId": 123,
"builtinTransformationBlock": {},
"transformationBlockName": "<string>",
"outputDatasetName": "<string>",
"outputDatasetBucketId": 123,
"outputDatasetBucketPath": "<string>",
"label": "<string>",
"filterQuery": "<string>",
"emailRecipientUids": [
123
],
"pipelineId": 123,
"pipelineName": "<string>",
"pipelineRunId": 123,
"pipelineStep": 123,
"createdByUser": {
"id": 123,
"name": "<string>",
"username": "<string>",
"photo": "<string>"
}
},
"filter": "<string>",
"uploadType": "project",
"projectId": 123,
"newProjectName": "<string>",
"projectApiKey": "<string>",
"projectHmacKey": "<string>",
"transformationBlockId": 123,
"builtinTransformationBlock": {},
"category": "training",
"outputDatasetName": "<string>",
"outputDatasetBucketId": 123,
"outputDatasetBucketPath": "<string>",
"label": "<string>",
"extraCliArguments": "<string>",
"parameters": {}
}
],
"created": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"itemCountBefore": {
"itemCount": 123,
"itemCountChecklistOK": 123,
"itemCountChecklistFailed": 123
},
"itemCountAfter": {
"itemCount": 123,
"itemCountChecklistOK": 123,
"itemCountChecklistFailed": 123
},
"itemCountImportIntoProjectFailed": 123
},
"error": "<string>"
}If set then EI_LAST_SUCCESSFUL_RUN is not set. You can use this to re-run a pipeline from scratch.
OK
Whether the operation succeeded
Show child attributes
Show child attributes
Show child attributes
dataset, project waiting, created, started, finished, failed waiting, created, started, finished, failed waiting, created, started, finished, failed training, testing, split Number of transformation jobs that can be ran in parallel
Show child attributes
Total amount of compute used for this job (in seconds)
file, directory, standalone Total amount of compute used for this job (in seconds)
Total amount of compute used (friendly string)
project, dataset training, testing, split Number of data items that failed to import into a project (through the s3-to-project, portal-to-project or dataset-to-project) transform blocks
Optional error description (set if 'success' was false)
Was this page helpful?