cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/impulse/{impulseId}/set-thresholds \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "thresholds": [ { "blockId": 123, "key": "<string>", "value": 123 } ], "allowCreatingRegenerateModelTestingJobs": true, "forceRunRegenerateModelTestingInJob": true }'
{ "success": true, "error": "<string>", "hadModelTestingResults": true, "regenerateModelTestingStatus": "not_regenerated", "regenerateModelTestingResultsJobId": 123 }
Set thresholds (e.g. min. confidence rating, or min. anomaly score) for an impulse.
Project ID
Impulse ID
OK
The response is of type object.
object