Anomaly metadata

Anomaly metadata

get

Get metadata about a trained anomaly block. Use the impulse blocks to find the learnId.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

learnIdintegerRequired

Learn Block ID, use the impulse functions to retrieve the ID

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

OK

{
  "success": true,
  "error": "text",
  "created": "2025-07-02T01:47:03.420Z",
  "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,
  "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": 1,
      "suggestedValueText": "text",
      "value": 0.5
    }
  ]
}

Last updated

Was this helpful?