Get all impulses (incl. metrics)
Last updated
Last updated
Retrieve all impulse for a project, including accuracy and performance metrics.
Project ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Which extra impulse information should be shown in the impulses table.
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/impulses-detailed', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"success": false,
"error": "text",
"impulses": [
{
"impulse": {
"id": 0,
"name": "text",
"inputBlocks": [
{
"id": 0,
"type": "time-series",
"name": "Time series",
"title": "Time series",
"windowSizeMs": 2004,
"windowIncreaseMs": 0,
"frequencyHz": 60,
"classificationWindowIncreaseMs": 0,
"padZeros": false,
"imageWidth": 28,
"imageHeight": 28,
"resizeMode": "squash",
"resizeMethod": "squash",
"cropAnchor": "middle-center",
"description": "Reduced learning rate and more layers",
"createdBy": "createImpulse",
"createdAt": "2024-12-21T12:11:58.716Z",
"datasetSubset": {
"subsetModulo": 0,
"subsetSeed": 0
}
}
],
"dspBlocks": [
{
"id": 0,
"type": "spectral-analysis",
"name": "Spectral features",
"axes": [
"accX"
],
"title": "Spectral Analysis",
"valuesPerAxis": 11,
"input": 1,
"description": "Reduced learning rate and more layers",
"createdBy": "createImpulse",
"createdAt": "2024-12-21T12:11:58.716Z",
"implementationVersion": 0,
"organization": {
"id": 0,
"dspId": 0
},
"customUrl": "text",
"namedAxes": [
{
"name": "text",
"description": "text",
"required": false,
"selectedAxis": "text"
}
]
}
],
"learnBlocks": [
{
"id": 0,
"type": "anomaly",
"name": "NN Classifier",
"dsp": [
27
],
"title": "Classification (Keras)",
"description": "Reduced learning rate and more layers",
"createdBy": "createImpulse",
"createdAt": "2024-12-21T12:11:58.716Z"
}
]
},
"metrics": [
{
"name": "text",
"type": "core",
"filteringType": {
"type": "numeric",
"options": [
"text"
]
},
"category": "impulseMetrics",
"description": "text",
"value": "text",
"title": "text",
"valueForSorting": 0,
"valueHint": "text"
}
],
"dspBlockConfigs": [
{
"blockId": 0,
"config": {
"dsp": {
"id": 1,
"name": "Spectral features",
"windowLength": 3000,
"type": "spectral-analysis",
"classes": [
"text"
],
"features": {
"generated": false,
"count": 0,
"labels": [
"text"
],
"classes": [
"text"
]
},
"expectedWindowCount": 0,
"inputAxes": [
"text"
],
"performance": {
"latency": 0,
"ram": 0,
"customDspString": "text"
},
"canCalculateFeatureImportance": false,
"calculateFeatureImportance": false,
"hasAutoTune": false,
"minimumVersionForAutotune": 0,
"hasAutotunerResults": false,
"usesState": false
},
"config": [
{
"group": "Scaling",
"items": [
{
"name": "Scale axes",
"value": "text",
"defaultValue": "text",
"type": "text",
"help": "Divide axes by this number",
"param": "scale-axes",
"selectOptions": [
{
"value": "text",
"selected": false,
"optionLabel": "text"
}
],
"readonly": false,
"shouldShow": false,
"showIf": {
"parameter": "text",
"operator": "eq",
"value": "text"
},
"invalidText": "text",
"section": "advanced",
"multiline": false,
"required": false,
"hint": "text",
"placeholder": "text"
}
]
}
],
"configError": "text"
},
"metadata": {
"created": "2024-12-21T12:11:58.716Z",
"labels": [
"text"
],
"featureLabels": [
"text"
],
"windowCount": 0,
"featureCount": 0,
"includedSamples": [
{
"id": 0,
"windowCount": 0
}
],
"windowSizeMs": 0,
"windowIncreaseMs": 0,
"padZeros": false,
"frequency": 0,
"outputConfig": {
"type": "image",
"shape": {
"width": 0,
"height": 0,
"channels": 0,
"frames": 0
}
},
"fftUsed": [
0
],
"resamplingAlgorithmVersion": 0
}
}
],
"pretrainedModelInfo": {
"fileName": "text"
},
"isStale": false,
"tags": [
"text"
],
"createdFromTunerTrialId": 0
}
],
"metricKeysByCategory": [
{
"category": "impulseMetrics",
"metricKeys": [
{
"name": "text",
"description": "text",
"type": "core",
"filteringType": {
"type": "numeric",
"options": [
"text"
]
},
"showInTable": false
}
]
}
],
"extraTableColumns": [
"text"
]
}