POST
/
api
/
{projectId}
/
optimize
/
{jobId}
/
create-trial
Create trial
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>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

jobId
integer
required

Job ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.