Get new AI Actions config

Get new AI Actions config

get

Get the AI Actions config for a new action

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Responses
200
OK
application/json
Responseall of
get
GET /v1/api/{projectId}/ai-actions/new HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "action": {
    "id": 1,
    "name": "text",
    "displayName": "text",
    "config": {
      "dataCategory": "allData",
      "dataMetadataKey": "text",
      "dataMetadataValue": "text",
      "steps": [
        {
          "transformationBlockId": 1,
          "parameters": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          }
        }
      ]
    },
    "previewConfig": {
      "dataCategory": "allData",
      "dataMetadataKey": "text",
      "dataMetadataValue": "text",
      "steps": [
        {
          "transformationBlockId": 1,
          "parameters": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          }
        }
      ]
    },
    "maxDataPreviewCount": 1,
    "gridColumnCount": 1,
    "lastPreviewState": {
      "samples": [
        {
          "id": 2,
          "filename": "idle01.d8Ae",
          "signatureValidate": true,
          "signatureMethod": "HS256",
          "signatureKey": "text",
          "created": "2025-07-12T00:07:55.557Z",
          "lastModified": "2025-07-12T00:07:55.557Z",
          "category": "training",
          "coldstorageFilename": "text",
          "label": "healthy-machine",
          "intervalMs": 16,
          "frequency": 62.5,
          "originalIntervalMs": 16,
          "originalFrequency": 62.5,
          "deviceName": "text",
          "deviceType": "text",
          "sensors": [
            {
              "name": "accX",
              "units": "text"
            }
          ],
          "valuesCount": 1,
          "totalLengthMs": 1,
          "added": "2025-07-12T00:07:55.557Z",
          "boundingBoxes": [
            {
              "label": "text",
              "x": 1,
              "y": 1,
              "width": 1,
              "height": 1
            }
          ],
          "boundingBoxesType": "object_detection",
          "chartType": "chart",
          "thumbnailVideo": "text",
          "thumbnailVideoFull": "text",
          "isDisabled": true,
          "isProcessing": true,
          "processingJobId": 1,
          "processingError": true,
          "processingErrorString": "text",
          "isCropped": true,
          "metadata": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "projectId": 1,
          "projectOwnerName": "text",
          "projectName": "text",
          "projectLabelingMethod": "single_label",
          "sha256Hash": "text",
          "structuredLabels": [
            {
              "startIndex": 1,
              "endIndex": 1,
              "label": "text"
            }
          ],
          "structuredLabelsList": [
            "text"
          ],
          "createdBySyntheticDataJobId": 1,
          "imageDimensions": {
            "width": 1,
            "height": 1
          },
          "videoUrl": "text",
          "videoUrlFull": "text"
        }
      ],
      "proposedChanges": [
        {
          "sampleId": 1,
          "step": 1,
          "proposedChanges": {
            "label": "text",
            "isDisabled": true,
            "boundingBoxes": [
              {
                "label": "text",
                "x": 1,
                "y": 1,
                "width": 1,
                "height": 1
              }
            ],
            "metadata": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "structuredLabels": [
              {
                "startIndex": 1,
                "endIndex": 1,
                "label": "text"
              }
            ]
          }
        }
      ]
    },
    "setMetadataAfterRunning": [
      {
        "key": "text",
        "value": "text"
      }
    ],
    "cacheUnchangedSteps": true
  }
}

Last updated

Was this helpful?