Anomaly metadata
Last updated
Was this helpful?
Last updated
Was this helpful?
Get metadata about a trained anomaly block. Use the impulse blocks to find the learnId.
Project ID
Learn Block ID, use the impulse functions to retrieve the ID
curl -L \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/training/anomaly/{learnId}/metadata' \
--header 'x-api-key: YOUR_API_KEY'
{
"success": true,
"error": "text",
"created": "2025-03-26T12:59:19.523Z",
"scale": [
1
],
"mean": [
1
],
"clusters": [
{
"center": [
1
],
"maxError": 1
}
],
"axes": "`[ 0, 11, 22 ]`",
"defaultMinimumConfidenceRating": 1,
"availableModelTypes": [
"int8"
],
"recommendedModelType": "int8",
"modelValidationMetrics": [
{
"type": "int8",
"loss": 1,
"accuracy": 1,
"confusionMatrix": [
[
31,
1,
0
],
[
2,
27,
3
],
[
1,
0,
39
]
],
"report": {},
"onDevicePerformance": [
{
"mcu": "text",
"name": "text",
"isDefault": true,
"latency": 1,
"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
},
"customMetrics": [
{
"name": "text",
"value": "text"
}
],
"hasPerformance": true,
"profilingError": "text"
}
],
"predictions": [
{
"sampleId": 1,
"startMs": 1,
"endMs": 1,
"label": "text",
"prediction": "text",
"predictionCorrect": true,
"f1Score": 1,
"anomalyScores": [
[
1
]
]
}
],
"visualization": "featureExplorer",
"isSupportedOnMcu": true,
"mcuSupportError": "text",
"profilingJobId": 1,
"profilingJobFailed": true,
"additionalMetrics": [
{
"name": "text",
"value": "text",
"fullPrecisionValue": 1,
"tooltipText": "text",
"link": "text"
}
]
}
],
"hasTrainedModel": true
}
OK