cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/{jobId}/create-trial \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "id": "<string>", "experiment": "<string>", "original_trial_id": "<string>", "optimizationRound": 123, "inputBlocks": [ {} ], "dspBlocks": [ {} ], "learnBlocks": [ {} ] }'
{ "success": true, "error": "<string>" }
Create trial
Project ID
Job ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?