Create trial

Create trial

Create trial

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/optimize/{jobId}/create-trial
Path parameters
projectId*integer

Project ID

jobId*integer

Job ID

Body
idstring
experimentstring
original_trial_idstring
inputBlocksarray of TunerCreateTrialInputBlock (object)
dspBlocksarray of TunerCreateTrialDSPBlock (object)
learnBlocksarray of TunerCreateTrialLearnBlock (object)
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/{jobId}/create-trial', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated