Get all impulses (incl. metrics)
Last updated
Was this helpful?
Last updated
Was this helpful?
Retrieve all impulse for a project, including accuracy and performance metrics.
/api/{projectId}/impulses-detailed
Project ID
curl -L \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/impulses-detailed' \
--header 'x-api-key: YOUR_API_KEY'
{
"success": true,
"error": "text",
"impulses": [
{
"impulse": {
"id": 1,
"name": "text",
"inputBlocks": [
{
"id": 1,
"name": "Time series",
"title": "Time series",
"windowSizeMs": 2004,
"windowIncreaseMs": 1,
"frequencyHz": 60,
"classificationWindowIncreaseMs": 1,
"padZeros": true,
"imageWidth": 28,
"imageHeight": 28,
"description": "Reduced learning rate and more layers",
"createdBy": "createImpulse",
"createdAt": "2025-02-21T18:21:53.755Z",
"type": "time-series",
"resizeMode": "squash",
"resizeMethod": "squash",
"cropAnchor": "middle-center",
"datasetSubset": {
"subsetModulo": 1,
"subsetSeed": 1
}
}
],
"dspBlocks": [
{
"id": 1,
"type": "spectral-analysis",
"name": "Spectral features",
"title": "Spectral Analysis",
"valuesPerAxis": 11,
"input": 1,
"description": "Reduced learning rate and more layers",
"createdBy": "createImpulse",
"createdAt": "2025-02-21T18:21:53.755Z",
"implementationVersion": 1,
"customUrl": "text",
"axes": [
"accX"
],
"organization": {
"id": 1,
"dspId": 1
},
"namedAxes": [
{
"name": "text",
"description": "text",
"required": true,
"selectedAxis": "text"
}
]
}
],
"learnBlocks": [
{
"id": 1,
"type": "anomaly",
"name": "NN Classifier",
"title": "Classification (Keras)",
"description": "Reduced learning rate and more layers",
"createdBy": "createImpulse",
"createdAt": "2025-02-21T18:21:53.755Z",
"dsp": [
27
]
}
]
},
"isStale": true,
"configured": true,
"complete": true,
"createdFromTunerTrialId": 1,
"createdByUser": {
"id": 1,
"name": "text",
"username": "text",
"photo": "text"
},
"metrics": [
{
"name": "text",
"filteringType": {
"type": "numeric",
"options": [
"text"
]
},
"category": "impulseMetrics",
"description": "text",
"title": "text",
"valueForSorting": 1,
"valueHint": "text",
"type": "core",
"value": "text"
}
],
"tags": [
"text"
],
"pretrainedModelInfo": {
"fileName": "text"
},
"dspBlockConfigs": [
{
"blockId": 1,
"config": {
"dsp": {
"id": 1,
"name": "Spectral features",
"windowLength": 3000,
"type": "spectral-analysis",
"expectedWindowCount": 1,
"performance": {
"latency": 1,
"ram": 1,
"customDspString": "text"
},
"canCalculateFeatureImportance": true,
"calculateFeatureImportance": true,
"hasAutoTune": true,
"minimumVersionForAutotune": 1,
"hasAutotunerResults": true,
"usesState": true,
"classes": [
"text"
],
"inputAxes": [
"text"
],
"features": {
"generated": true,
"count": 1,
"labels": [
"text"
],
"classes": [
"text"
]
}
},
"configError": "text",
"config": [
{
"group": "Scaling",
"items": [
{
"name": "Scale axes",
"value": "text",
"defaultValue": "text",
"type": "text",
"help": "Divide axes by this number",
"param": "scale-axes",
"readonly": true,
"shouldShow": true,
"invalidText": "text",
"multiline": true,
"required": true,
"hint": "text",
"placeholder": "text",
"section": "advanced",
"showIf": {
"parameter": "text",
"value": "text",
"operator": "eq"
},
"selectOptions": [
{
"value": "text",
"selected": true,
"optionLabel": "text"
}
]
}
]
}
]
},
"metadata": {
"created": "2025-02-21T18:21:53.755Z",
"windowCount": 1,
"featureCount": 1,
"windowSizeMs": 1,
"windowIncreaseMs": 1,
"padZeros": true,
"frequency": 1,
"resamplingAlgorithmVersion": 1,
"dspConfig": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"labels": [
"text"
],
"featureLabels": [
"text"
],
"fftUsed": [
1
],
"includedSamples": [
{
"id": 1,
"windowCount": 1
}
],
"outputConfig": {
"type": "image",
"shape": {
"width": 1,
"height": 1,
"channels": 1,
"frames": 1
}
}
}
}
],
"learnBlockKerasConfigs": [
{
"blockId": 1,
"config": {
"dependencies": {
"featureCount": 1,
"sampleCount": 1,
"classes": [
"text"
],
"blockNames": [
"text"
]
},
"trained": true,
"name": "text",
"type": "anomaly",
"script": "text",
"minimumConfidenceRating": 1,
"selectedModelType": "int8",
"trainingCycles": 1,
"learningRate": 1,
"batchSize": 1,
"defaultBatchSize": 1,
"shape": "text",
"trainTestSplit": 1,
"autoClassWeights": true,
"useLearnedOptimizer": true,
"augmentationPolicyImage": "none",
"augmentationPolicySpectrogram": {
"enabled": true,
"warping": true,
"freqMasking": "none",
"timeMasking": "none",
"gaussianNoise": "none"
},
"profileInt8": true,
"skipEmbeddingsAndMemory": true,
"akidaEdgeLearningConfig": {
"enabled": true,
"additionalClasses": 1,
"neuronsPerClass": 1
},
"customValidationMetadataKey": "text",
"showAdvancedTrainingSettings": true,
"showAugmentationTrainingSettings": true,
"anomalyCapacity": "low",
"lastShownModelVariant": "int8",
"lastShownModelEngine": "tflite-eon",
"blockParameters": {
"backbone": "text",
"numLayers": 1,
"poolSize": 1,
"samplingRatio": 1,
"numNearestNeighbors": 1
},
"mode": "visual",
"visualLayers": [
{
"type": "dense",
"neurons": 1,
"kernelSize": 1,
"dropoutRate": 1,
"columns": 1,
"stack": 1,
"enabled": true,
"organizationModelId": 1
}
],
"transferLearningModels": [
{
"name": "text",
"shortName": "text",
"abbreviatedName": "text",
"description": "text",
"hasNeurons": true,
"hasDropout": true,
"defaultNeurons": 1,
"defaultDropout": 1,
"defaultLearningRate": 1,
"defaultTrainingCycles": 1,
"hasImageAugmentation": true,
"type": "dense",
"learnBlockType": "anomaly",
"organizationModelId": 1,
"implementationVersion": 1,
"repositoryUrl": "text",
"author": "text",
"blockType": "official",
"displayCategory": "classical",
"customParameters": [
{
"name": "Scale axes",
"value": "text",
"defaultValue": "text",
"type": "text",
"help": "Divide axes by this number",
"param": "scale-axes",
"readonly": true,
"shouldShow": true,
"invalidText": "text",
"multiline": true,
"required": true,
"hint": "text",
"placeholder": "text",
"section": "advanced",
"showIf": {
"parameter": "text",
"value": "text",
"operator": "eq"
},
"selectOptions": [
{
"value": "text",
"selected": true,
"optionLabel": "text"
}
]
}
]
}
],
"customParameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"metadata": {
"created": "2025-02-21T18:21:53.755Z",
"recommendedModelType": "int8",
"hasTrainedModel": true,
"objectDetectionLastLayer": "mobilenet-ssd",
"imageInputScaling": "0..1",
"mode": "classification",
"layers": [
{
"input": {
"shape": 33,
"name": "x_input:0",
"type": "<dtype: 'float32'>"
},
"output": {
"shape": 20,
"name": "dense_1/Relu:0",
"type": "<dtype: 'float32'>"
}
}
],
"classNames": [
"text"
],
"labels": [
"text"
],
"availableModelTypes": [
"int8"
],
"modelValidationMetrics": [
{
"type": "int8",
"loss": 1,
"accuracy": 1,
"report": {},
"isSupportedOnMcu": true,
"mcuSupportError": "text",
"profilingJobId": 1,
"profilingJobFailed": true,
"visualization": "featureExplorer",
"predictions": [
{
"sampleId": 1,
"startMs": 1,
"endMs": 1,
"label": "text",
"prediction": "text",
"predictionCorrect": true,
"f1Score": 1,
"anomalyScores": [
[
1
]
]
}
],
"additionalMetrics": [
{
"name": "text",
"value": "text",
"fullPrecisionValue": 1,
"tooltipText": "text",
"link": "text"
}
],
"confusionMatrix": [
[
31,
1,
0
],
[
2,
27,
3
],
[
1,
0,
39
]
],
"onDevicePerformance": [
{
"mcu": "text",
"name": "text",
"isDefault": true,
"latency": 1,
"customMetrics": [
{
"name": "text",
"value": "text"
}
],
"tflite": {
"ramRequired": 1,
"romRequired": 1,
"arenaSize": 1,
"modelSize": 1
},
"eon": {
"ramRequired": 1,
"romRequired": 1,
"arenaSize": 1,
"modelSize": 1
},
"eon_ram_optimized": {
"ramRequired": 1,
"romRequired": 1,
"arenaSize": 1,
"modelSize": 1
}
}
]
}
]
}
}
],
"learnBlockAnomalyConfigs": [
{
"blockId": 1,
"config": {
"dependencies": {
"featureCount": 1,
"sampleCount": 1,
"classes": [
"text"
],
"blockNames": [
"text"
]
},
"name": "text",
"trained": true,
"clusterCount": 1,
"minimumConfidenceRating": 1,
"selectedAxes": [
1
],
"axes": [
{
"label": "text",
"selected": true,
"favourite": true
}
]
},
"metadata": {
"created": "2025-02-21T18:21:53.755Z",
"defaultMinimumConfidenceRating": 1,
"recommendedModelType": "int8",
"hasTrainedModel": true,
"scale": [
1
],
"mean": [
1
],
"axes": "`[ 0, 11, 22 ]`",
"availableModelTypes": [
"int8"
],
"modelValidationMetrics": [
{
"type": "int8",
"loss": 1,
"accuracy": 1,
"report": {},
"isSupportedOnMcu": true,
"mcuSupportError": "text",
"profilingJobId": 1,
"profilingJobFailed": true,
"visualization": "featureExplorer",
"predictions": [
{
"sampleId": 1,
"startMs": 1,
"endMs": 1,
"label": "text",
"prediction": "text",
"predictionCorrect": true,
"f1Score": 1,
"anomalyScores": [
[
1
]
]
}
],
"additionalMetrics": [
{
"name": "text",
"value": "text",
"fullPrecisionValue": 1,
"tooltipText": "text",
"link": "text"
}
],
"confusionMatrix": [
[
31,
1,
0
],
[
2,
27,
3
],
[
1,
0,
39
]
],
"onDevicePerformance": [
{
"mcu": "text",
"name": "text",
"isDefault": true,
"latency": 1,
"customMetrics": [
{
"name": "text",
"value": "text"
}
],
"tflite": {
"ramRequired": 1,
"romRequired": 1,
"arenaSize": 1,
"modelSize": 1
},
"eon": {
"ramRequired": 1,
"romRequired": 1,
"arenaSize": 1,
"modelSize": 1
},
"eon_ram_optimized": {
"ramRequired": 1,
"romRequired": 1,
"arenaSize": 1,
"modelSize": 1
}
}
]
}
],
"clusters": [
{
"maxError": 1,
"center": [
1
]
}
]
},
"gmmMetadata": {
"weights": [
1
],
"means": [
[
1
]
],
"covariances": [
[
[
1
]
]
]
}
}
]
}
],
"extraTableColumns": [
"text"
],
"metricKeysByCategory": [
{
"category": "impulseMetrics",
"metricKeys": [
{
"name": "text",
"description": "text",
"filteringType": {
"type": "numeric",
"options": [
"text"
]
},
"showInTable": true,
"type": "core"
}
]
}
]
}
OK