Get data explorer predictions

Get data explorer predictions

Predictions for every data explorer point (only available when using current impulse to populate data explorer)

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-explorer/predictions
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

predictions*array of ModelPrediction (object)
labels*array of string
classificationType*enum
classificationregression
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-explorer/predictions', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "predictions": [
    {
      "startMs": 0,
      "endMs": 0,
      "label": "text",
      "prediction": "text",
      "predictionCorrect": false,
      "f1Score": 0,
      "anomalyScores": [
        [
          0
        ]
      ]
    }
  ],
  "labels": [
    "text"
  ],
  "classificationType": "classification"
}

Last updated