GET
/
api
/
{projectId}
/
impulses-detailed
Get all impulses (incl. metrics)
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/impulses-detailed \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "error": "<string>",
  "impulses": [
    {
      "impulse": {
        "id": 123,
        "name": "<string>",
        "inputBlocks": [
          {
            "id": 2,
            "type": "time-series",
            "name": "Time series",
            "title": "Time series",
            "windowSizeMs": 2004,
            "windowIncreaseMs": 123,
            "frequencyHz": 60,
            "classificationWindowIncreaseMs": 123,
            "padZeros": true,
            "imageWidth": 28,
            "imageHeight": 28,
            "resizeMode": "squash",
            "resizeMethod": "squash",
            "cropAnchor": "middle-center",
            "createdBy": "createImpulse",
            "createdAt": "2023-11-07T05:31:56Z",
            "datasetSubset": {
              "includePercentage": 123,
              "seed": 123
            }
          }
        ],
        "dspBlocks": [
          {
            "id": 2,
            "type": "spectral-analysis",
            "name": "Spectral features",
            "axes": [
              "accX"
            ],
            "title": "Spectral Analysis",
            "valuesPerAxis": 11,
            "input": 1,
            "createdBy": "createImpulse",
            "createdAt": "2023-11-07T05:31:56Z",
            "implementationVersion": 123,
            "organization": {
              "id": 123,
              "dspId": 123
            },
            "customUrl": "<string>",
            "namedAxes": [
              {
                "name": "<string>",
                "description": "<string>",
                "required": true,
                "selectedAxis": "<string>"
              }
            ]
          }
        ],
        "learnBlocks": [
          {
            "id": 2,
            "type": "anomaly",
            "name": "NN Classifier",
            "dsp": [
              27
            ],
            "title": "Classification (Keras)",
            "createdBy": "createImpulse",
            "createdAt": "2023-11-07T05:31:56Z"
          }
        ],
        "postProcessingBlocks": [
          {
            "id": 2,
            "type": "object-tracking",
            "name": "Object tracking",
            "title": "Object tracking",
            "createdBy": "createImpulse",
            "createdAt": "2023-11-07T05:31:56Z",
            "implementationVersion": 123
          }
        ]
      },
      "metrics": [
        {
          "name": "<string>",
          "type": "core",
          "filteringType": {
            "type": "numeric",
            "options": [
              "<string>"
            ]
          },
          "category": "impulseMetrics",
          "description": "<string>",
          "value": "<string>",
          "title": "<string>",
          "valueForSorting": 123,
          "valueHint": "<string>"
        }
      ],
      "dspBlockConfigs": [
        {
          "blockId": 123,
          "config": {
            "dsp": {
              "id": 1,
              "name": "Spectral features",
              "windowLength": 3000,
              "type": "spectral-analysis",
              "classes": [
                "<string>"
              ],
              "features": {
                "generated": true,
                "count": 123,
                "labels": [
                  "<string>"
                ],
                "classes": [
                  "<string>"
                ]
              },
              "expectedWindowCount": 123,
              "inputAxes": [
                "<string>"
              ],
              "performance": {
                "latency": 123,
                "ram": 123,
                "customDspString": "<string>"
              },
              "canCalculateFeatureImportance": true,
              "calculateFeatureImportance": true,
              "hasAutoTune": true,
              "minimumVersionForAutotune": 123,
              "hasAutotunerResults": true,
              "usesState": true
            },
            "config": [
              {
                "group": "Scaling",
                "items": [
                  {
                    "name": "Scale axes",
                    "value": "<string>",
                    "defaultValue": "<string>",
                    "type": "text",
                    "help": "Divide axes by this number",
                    "param": "scale-axes",
                    "selectOptions": [
                      {
                        "value": "<string>",
                        "selected": true,
                        "optionLabel": "<string>",
                        "priority": 123,
                        "romEstimate": 123,
                        "needsOps": [
                          "<string>"
                        ],
                        "needsFeatures": [
                          "<string>"
                        ]
                      }
                    ],
                    "readonly": true,
                    "shouldShow": true,
                    "showIf": {
                      "parameter": "<string>",
                      "operator": "eq",
                      "value": "<string>"
                    },
                    "invalidText": "<string>",
                    "section": "advanced",
                    "multiline": true,
                    "required": true,
                    "hint": "<string>",
                    "placeholder": "<string>",
                    "showClickToSet": true
                  }
                ]
              }
            ],
            "configError": "<string>"
          },
          "metadata": {
            "created": "2023-11-07T05:31:56Z",
            "generated": true,
            "dspConfig": {},
            "labels": [
              "<string>"
            ],
            "featureLabels": [
              "<string>"
            ],
            "windowCount": 123,
            "featureCount": 123,
            "includedSamples": [
              {
                "id": 123,
                "windowCount": 123
              }
            ],
            "windowSizeMs": 123,
            "windowIncreaseMs": 123,
            "padZeros": true,
            "frequency": 123,
            "outputConfig": {
              "type": "image",
              "shape": {
                "width": 123,
                "height": 123,
                "channels": 123,
                "frames": 123
              }
            },
            "fftUsed": [
              123
            ],
            "resamplingAlgorithmVersion": 123,
            "featureExplorerJobId": 123,
            "featureExplorerJobFailed": true,
            "featureImportanceJobId": 123,
            "featureImportanceJobFailed": true
          }
        }
      ],
      "learnBlockKerasConfigs": [
        {
          "blockId": 123,
          "config": {
            "dependencies": {
              "classes": [
                "<string>"
              ],
              "blockNames": [
                "<string>"
              ],
              "featureCount": 123,
              "sampleCount": 123
            },
            "trained": true,
            "name": "<string>",
            "type": "anomaly",
            "script": "<string>",
            "minimumConfidenceRating": 123,
            "selectedModelType": "int8",
            "mode": "visual",
            "visualLayers": [
              {
                "type": "dense",
                "neurons": 123,
                "kernelSize": 123,
                "dropoutRate": 123,
                "columns": 123,
                "stack": 123,
                "enabled": true,
                "organizationModelId": 123
              }
            ],
            "trainingCycles": 123,
            "learningRate": 123,
            "batchSize": 123,
            "defaultBatchSize": 123,
            "shape": "<string>",
            "trainTestSplit": 123,
            "autoClassWeights": true,
            "useLearnedOptimizer": true,
            "augmentationPolicyImage": "none",
            "augmentationPolicySpectrogram": {
              "enabled": true,
              "warping": true,
              "freqMasking": "none",
              "timeMasking": "none",
              "gaussianNoise": "none"
            },
            "transferLearningModels": [
              {
                "name": "<string>",
                "shortName": "<string>",
                "abbreviatedName": "<string>",
                "description": "<string>",
                "hasNeurons": true,
                "hasDropout": true,
                "defaultNeurons": 123,
                "defaultDropout": 123,
                "defaultLearningRate": 123,
                "defaultTrainingCycles": 123,
                "hasImageAugmentation": true,
                "type": "dense",
                "learnBlockType": "anomaly",
                "organizationModelId": 123,
                "implementationVersion": 123,
                "repositoryUrl": "<string>",
                "author": "<string>",
                "blockType": "official",
                "customParameters": [
                  {
                    "name": "Scale axes",
                    "value": "<string>",
                    "defaultValue": "<string>",
                    "type": "text",
                    "help": "Divide axes by this number",
                    "param": "scale-axes",
                    "selectOptions": [
                      {
                        "value": "<string>",
                        "selected": true,
                        "optionLabel": "<string>",
                        "priority": 123,
                        "romEstimate": 123,
                        "needsOps": [
                          "<string>"
                        ],
                        "needsFeatures": [
                          "<string>"
                        ]
                      }
                    ],
                    "readonly": true,
                    "shouldShow": true,
                    "showIf": {
                      "parameter": "<string>",
                      "operator": "eq",
                      "value": "<string>"
                    },
                    "invalidText": "<string>",
                    "section": "advanced",
                    "multiline": true,
                    "required": true,
                    "hint": "<string>",
                    "placeholder": "<string>",
                    "showClickToSet": true
                  }
                ],
                "displayCategory": "classical",
                "blockNoLongerAvailable": {
                  "reasonMarkdown": "<string>",
                  "reasonHtml": "<string>"
                }
              }
            ],
            "profileInt8": true,
            "skipEmbeddingsAndMemory": true,
            "akidaEdgeLearningConfig": {
              "enabled": true,
              "additionalClasses": 123,
              "neuronsPerClass": 123
            },
            "customValidationMetadataKey": "<string>",
            "showAdvancedTrainingSettings": true,
            "showAugmentationTrainingSettings": true,
            "customParameters": {},
            "anomalyCapacity": "low",
            "lastShownModelVariant": "int8",
            "blockParameters": {
              "backbone": "<string>",
              "numLayers": 123,
              "poolSize": 123,
              "samplingRatio": 123,
              "numNearestNeighbors": 123
            },
            "thresholds": [
              {
                "key": "min_score",
                "description": "Score threshold",
                "helpText": "Threshold score for bounding boxes. If the score for a bounding box is below this the box will be discarded.",
                "suggestedValue": 123,
                "suggestedValueText": "<string>",
                "value": 0.5
              }
            ]
          },
          "metadata": {
            "created": "2023-11-07T05:31:56Z",
            "layers": [
              {
                "input": {
                  "shape": 33,
                  "name": "x_input:0",
                  "type": "<dtype: 'float32'>"
                },
                "output": {
                  "shape": 20,
                  "name": "dense_1/Relu:0",
                  "type": "<dtype: 'float32'>"
                }
              }
            ],
            "classNames": [
              "<string>"
            ],
            "labels": [
              "<string>"
            ],
            "availableModelTypes": [
              "int8"
            ],
            "recommendedModelType": "int8",
            "modelValidationMetrics": [
              {
                "type": "int8",
                "loss": 123,
                "accuracy": 123,
                "confusionMatrix": [
                  [
                    31,
                    1,
                    0
                  ],
                  [
                    2,
                    27,
                    3
                  ],
                  [
                    1,
                    0,
                    39
                  ]
                ],
                "report": {},
                "onDevicePerformance": [
                  {
                    "mcu": "<string>",
                    "name": "<string>",
                    "isDefault": true,
                    "latency": 123,
                    "tflite": {
                      "ramRequired": 123,
                      "romRequired": 123,
                      "arenaSize": 123,
                      "modelSize": 123
                    },
                    "eon": {
                      "ramRequired": 123,
                      "romRequired": 123,
                      "arenaSize": 123,
                      "modelSize": 123
                    },
                    "eon_ram_optimized": {
                      "ramRequired": 123,
                      "romRequired": 123,
                      "arenaSize": 123,
                      "modelSize": 123
                    },
                    "customMetrics": [
                      {
                        "name": "<string>",
                        "value": "<string>"
                      }
                    ],
                    "hasPerformance": true,
                    "profilingError": "<string>"
                  }
                ],
                "predictions": [
                  {
                    "sampleId": 123,
                    "startMs": 123,
                    "endMs": 123,
                    "label": "<string>",
                    "prediction": "<string>",
                    "predictionCorrect": true,
                    "f1Score": 123,
                    "anomalyScores": [
                      [
                        123
                      ]
                    ]
                  }
                ],
                "visualization": "featureExplorer",
                "isSupportedOnMcu": true,
                "mcuSupportError": "<string>",
                "profilingJobId": 123,
                "profilingJobFailed": true,
                "additionalMetrics": [
                  {
                    "name": "<string>",
                    "value": "<string>",
                    "fullPrecisionValue": 123,
                    "tooltipText": "<string>",
                    "link": "<string>"
                  }
                ]
              }
            ],
            "hasTrainedModel": true,
            "mode": "classification",
            "objectDetectionLastLayer": "mobilenet-ssd",
            "imageInputScaling": "0..1",
            "thresholds": [
              {
                "key": "min_score",
                "description": "Score threshold",
                "helpText": "Threshold score for bounding boxes. If the score for a bounding box is below this the box will be discarded.",
                "suggestedValue": 123,
                "suggestedValueText": "<string>",
                "value": 0.5
              }
            ],
            "tensorboardGraphs": [
              {
                "title": "<string>",
                "xLabel": "<string>",
                "yLabel": "<string>",
                "description": "<string>",
                "hideInUI": true,
                "data": [
                  {
                    "title": "<string>",
                    "values": [
                      123
                    ]
                  }
                ]
              }
            ]
          }
        }
      ],
      "learnBlockAnomalyConfigs": [
        {
          "blockId": 123,
          "config": {
            "dependencies": {
              "classes": [
                "<string>"
              ],
              "blockNames": [
                "<string>"
              ],
              "featureCount": 123,
              "sampleCount": 123
            },
            "name": "<string>",
            "axes": [
              {
                "ix": 123,
                "label": "<string>",
                "selected": true,
                "favourite": true
              }
            ],
            "trained": true,
            "clusterCount": 123,
            "selectedAxes": [
              123
            ],
            "minimumConfidenceRating": 123,
            "thresholds": [
              {
                "key": "min_score",
                "description": "Score threshold",
                "helpText": "Threshold score for bounding boxes. If the score for a bounding box is below this the box will be discarded.",
                "suggestedValue": 123,
                "suggestedValueText": "<string>",
                "value": 0.5
              }
            ]
          },
          "metadata": {
            "created": "2023-11-07T05:31:56Z",
            "scale": [
              123
            ],
            "mean": [
              123
            ],
            "clusters": [
              {
                "center": [
                  123
                ],
                "maxError": 123
              }
            ],
            "axes": "`[ 0, 11, 22 ]`",
            "defaultMinimumConfidenceRating": 123,
            "availableModelTypes": [
              "int8"
            ],
            "recommendedModelType": "int8",
            "modelValidationMetrics": [
              {
                "type": "int8",
                "loss": 123,
                "accuracy": 123,
                "confusionMatrix": [
                  [
                    31,
                    1,
                    0
                  ],
                  [
                    2,
                    27,
                    3
                  ],
                  [
                    1,
                    0,
                    39
                  ]
                ],
                "report": {},
                "onDevicePerformance": [
                  {
                    "mcu": "<string>",
                    "name": "<string>",
                    "isDefault": true,
                    "latency": 123,
                    "tflite": {
                      "ramRequired": 123,
                      "romRequired": 123,
                      "arenaSize": 123,
                      "modelSize": 123
                    },
                    "eon": {
                      "ramRequired": 123,
                      "romRequired": 123,
                      "arenaSize": 123,
                      "modelSize": 123
                    },
                    "eon_ram_optimized": {
                      "ramRequired": 123,
                      "romRequired": 123,
                      "arenaSize": 123,
                      "modelSize": 123
                    },
                    "customMetrics": [
                      {
                        "name": "<string>",
                        "value": "<string>"
                      }
                    ],
                    "hasPerformance": true,
                    "profilingError": "<string>"
                  }
                ],
                "predictions": [
                  {
                    "sampleId": 123,
                    "startMs": 123,
                    "endMs": 123,
                    "label": "<string>",
                    "prediction": "<string>",
                    "predictionCorrect": true,
                    "f1Score": 123,
                    "anomalyScores": [
                      [
                        123
                      ]
                    ]
                  }
                ],
                "visualization": "featureExplorer",
                "isSupportedOnMcu": true,
                "mcuSupportError": "<string>",
                "profilingJobId": 123,
                "profilingJobFailed": true,
                "additionalMetrics": [
                  {
                    "name": "<string>",
                    "value": "<string>",
                    "fullPrecisionValue": 123,
                    "tooltipText": "<string>",
                    "link": "<string>"
                  }
                ]
              }
            ],
            "hasTrainedModel": true,
            "thresholds": [
              {
                "key": "min_score",
                "description": "Score threshold",
                "helpText": "Threshold score for bounding boxes. If the score for a bounding box is below this the box will be discarded.",
                "suggestedValue": 123,
                "suggestedValueText": "<string>",
                "value": 0.5
              }
            ]
          },
          "gmmMetadata": {
            "means": [
              [
                123
              ]
            ],
            "covariances": [
              [
                [
                  123
                ]
              ]
            ],
            "weights": [
              123
            ]
          }
        }
      ],
      "postProcessingBlockConfigs": [
        {
          "blockId": 123,
          "config": {
            "enabled": true,
            "parameters": [
              {
                "name": "Scale axes",
                "value": "<string>",
                "defaultValue": "<string>",
                "type": "text",
                "help": "Divide axes by this number",
                "param": "scale-axes",
                "selectOptions": [
                  {
                    "value": "<string>",
                    "selected": true,
                    "optionLabel": "<string>",
                    "priority": 123,
                    "romEstimate": 123,
                    "needsOps": [
                      "<string>"
                    ],
                    "needsFeatures": [
                      "<string>"
                    ]
                  }
                ],
                "readonly": true,
                "shouldShow": true,
                "showIf": {
                  "parameter": "<string>",
                  "operator": "eq",
                  "value": "<string>"
                },
                "invalidText": "<string>",
                "section": "advanced",
                "multiline": true,
                "required": true,
                "hint": "<string>",
                "placeholder": "<string>",
                "showClickToSet": true
              }
            ]
          }
        }
      ],
      "pretrainedModelInfo": {
        "fileName": "<string>"
      },
      "isStale": true,
      "configured": true,
      "complete": true,
      "tags": [
        "<string>"
      ],
      "createdFromTunerTrialId": 123,
      "createdByUser": {
        "id": 123,
        "name": "<string>",
        "username": "<string>",
        "photo": "<string>"
      }
    }
  ],
  "metricKeysByCategory": [
    {
      "category": "impulseMetrics",
      "metricKeys": [
        {
          "name": "<string>",
          "description": "<string>",
          "type": "core",
          "filteringType": {
            "type": "numeric",
            "options": [
              "<string>"
            ]
          },
          "showInTable": true
        }
      ]
    }
  ],
  "extraTableColumns": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Response

200 - application/json

OK

The response is of type object.