cURL
curl --request GET \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/training/anomaly/{learnId}/features/get-graph/classification/{sampleId} \ --header 'x-api-key: <api-key>'
{ "success": true, "totalSampleCount": 123, "data": [ { "X": { "0": -2.17, "11": 1.21, "22": 0.79 }, "label": 123 } ], "error": "<string>" }
Get trained features for a single sample. This runs both the DSP prerequisites and the anomaly classifier.
Project ID
Learn Block ID, use the impulse functions to retrieve the ID
Sample ID
OK
Whether the operation succeeded
Total number of windows in the data set
Show child attributes
Optional error description (set if 'success' was false)
Was this page helpful?