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
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>"
}
OK
The response is of type object
.