curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-explorer/predictions \
--header 'x-api-key: <api-key>'{
"success": true,
"predictions": [
{
"sampleId": 123,
"startMs": 123,
"endMs": 123,
"prediction": "<string>",
"label": "<string>",
"predictionCorrect": true,
"f1Score": 123,
"anomalyScores": [
[
123
]
],
"boundingBoxes": [
{
"label": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123,
"score": 123
}
]
}
],
"labels": [
"<string>"
],
"classificationType": "classification",
"error": "<string>"
}Predictions for every data explorer point (only available when using current impulse to populate data explorer)
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/data-explorer/predictions \
--header 'x-api-key: <api-key>'{
"success": true,
"predictions": [
{
"sampleId": 123,
"startMs": 123,
"endMs": 123,
"prediction": "<string>",
"label": "<string>",
"predictionCorrect": true,
"f1Score": 123,
"anomalyScores": [
[
123
]
],
"boundingBoxes": [
{
"label": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123,
"score": 123
}
]
}
],
"labels": [
"<string>"
],
"classificationType": "classification",
"error": "<string>"
}Project ID
OK
Whether the operation succeeded
Show child attributes
Only set for object detection projects
Only set for visual anomaly projects. 2D array of shape (n, n) with raw anomaly scores, where n varies based on the image input size and the specific visual anomaly algorithm used. The scores corresponds to each grid cell in the image's spatial matrix.
Only set for object detection projects. Coordinates are scaled 0..1, not absolute values.
classification, regression Optional error description (set if 'success' was false)
Was this page helpful?