Last updated 11 months ago
Was this helpful?
Score trial
Project ID
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/score-trial' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "id": "text", "experiment": "text", "original_trial_id": "text", "optimizationRound": 1, "inputBlocks": [ { "ANY_ADDITIONAL_PROPERTY": "anything" } ], "dspBlocks": [ { "ANY_ADDITIONAL_PROPERTY": "anything" } ], "learnBlocks": [ { "ANY_ADDITIONAL_PROPERTY": "anything" } ] }'
{ "success": true, "error": "text", "score": 1, "latency": { "dspMips": 1, "dspMs": 1, "learnMaccs": 1, "learnMs": 1 }, "ram": { "dsp": 1, "learn": 1 }, "rom": { "dsp": 1, "learn": 1 } }