Retrieves EON tuner state for a run.

Retrieves EON tuner state for a run.

get

Retrieves the EON tuner state for a specific run.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

tunerCoordinatorJobIdintegerRequired

Tuner coordinator job ID

Responses
200
OK
application/json
Responseall of
get
GET /v1/api/{projectId}/optimize/{tunerCoordinatorJobId}/state HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "config": {
    "name": "text",
    "targetLatency": 0,
    "targetDevice": {
      "name": "cortex-m4f-80mhz",
      "ram": 1024,
      "rom": 1024
    },
    "compiler": [
      "text"
    ],
    "precision": [
      "text"
    ],
    "trainingCycles": 5,
    "tuningMaxTrials": 2,
    "tuningWorkers": 1,
    "initialTrials": 5,
    "optimizationRounds": 3,
    "trialsPerOptimizationRound": 3,
    "minMACCS": 1,
    "maxMACCS": 1,
    "tuningAlgorithm": "random",
    "notificationOnCompletion": true,
    "importProjectMetrics": true,
    "importResourceMetrics": true,
    "numImportProjectMetrics": 1,
    "numImportResourceMetrics": 1,
    "enableSEM": true,
    "accuracySEM": 1,
    "latencySEM": 1,
    "optimizationObjectives": [
      {
        "objective": "text",
        "label": "text",
        "weight": 1
      }
    ],
    "rawObjectives": "text",
    "optimizationPrecision": "float32",
    "earlyStopping": true,
    "earlyStoppingWindowSize": 1,
    "earlyStoppingImprovementBar": 1,
    "MOMF": true,
    "verboseLogging": true,
    "disableConstraints": true,
    "disableDeduplicate": true,
    "maxTotalTrainingTime": 1,
    "tunerSpaceOptions": {
      "ANY_ADDITIONAL_PROPERTY": [
        "text"
      ]
    },
    "space": [
      {
        "parameters": {},
        "inputBlocks": [
          {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "dspBlocks": [
          {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "learnBlocks": [
          [
            {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            }
          ]
        ]
      }
    ],
    "searchSpaceTemplate": {
      "identifier": "speech_keyword",
      "classification": true,
      "anomaly": true,
      "regression": true
    },
    "searchSpaceSource": {
      "type": "template",
      "templateTitle": "text",
      "runTitle": "text",
      "impulseTitle": "text"
    }
  },
  "status": {
    "numPendingTrials": 1,
    "numRunningTrials": 1,
    "numCompletedTrials": 1,
    "numFailedTrials": 1,
    "numReadyWorkers": 1,
    "numBusyWorkers": 1,
    "numPendingWorkers": 1,
    "status": "creating"
  },
  "tunerJobId": 1,
  "tunerCoordinatorJobId": 1,
  "continuationJobId": 1,
  "tuningAlgorithm": "random",
  "tunerJobIsRunning": true,
  "trials": [
    {
      "id": "text",
      "name": "text",
      "status": "pending",
      "lastCompletedEpoch": "2025-06-21T08:42:14.996Z",
      "lastCompletedTraining": "2025-06-21T08:42:14.996Z",
      "retries": 1,
      "currentEpoch": 1,
      "workerId": "text",
      "blocks": [
        {
          "id": 1,
          "lastActive": "2025-06-21T08:42:14.996Z",
          "retries": 1,
          "status": "pending",
          "type": "input",
          "modelBlockIndex": 1
        }
      ],
      "impulse": {
        "inputBlocks": [
          {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "dspBlocks": [
          {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "learnBlocks": [
          {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ]
      },
      "experiment": "text",
      "original_trial_id": "text",
      "model": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "dspJobId": {
        "training": 1,
        "testing": 1
      },
      "learnJobId": 1,
      "devicePerformance": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "optimizationRound": 1,
      "progress": {
        "epoch": 1,
        "loss": 1,
        "val_loss": 1,
        "accuracy": 1,
        "val_accuracy": 1
      },
      "metrics": {
        "test": {
          "float32": {
            "type": "int8",
            "loss": 1,
            "accuracy": 1,
            "confusionMatrix": [
              [
                31,
                1,
                0
              ],
              [
                2,
                27,
                3
              ],
              [
                1,
                0,
                39
              ]
            ],
            "report": {},
            "onDevicePerformance": [
              {
                "mcu": "text",
                "name": "text",
                "isDefault": true,
                "latency": 1,
                "tflite": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon_ram_optimized": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "customMetrics": [
                  {
                    "name": "text",
                    "value": "text"
                  }
                ],
                "hasPerformance": true,
                "profilingError": "text"
              }
            ],
            "predictions": [
              {
                "sampleId": 1,
                "startMs": 1,
                "endMs": 1,
                "label": "text",
                "prediction": "text",
                "predictionCorrect": true,
                "f1Score": 1,
                "anomalyScores": [
                  [
                    1
                  ]
                ]
              }
            ],
            "visualization": "featureExplorer",
            "isSupportedOnMcu": true,
            "mcuSupportError": "text",
            "profilingJobId": 1,
            "profilingJobFailed": true,
            "additionalMetrics": [
              {
                "name": "text",
                "value": "text",
                "fullPrecisionValue": 1,
                "tooltipText": "text",
                "link": "text"
              }
            ]
          },
          "int8": {
            "type": "int8",
            "loss": 1,
            "accuracy": 1,
            "confusionMatrix": [
              [
                31,
                1,
                0
              ],
              [
                2,
                27,
                3
              ],
              [
                1,
                0,
                39
              ]
            ],
            "report": {},
            "onDevicePerformance": [
              {
                "mcu": "text",
                "name": "text",
                "isDefault": true,
                "latency": 1,
                "tflite": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon_ram_optimized": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "customMetrics": [
                  {
                    "name": "text",
                    "value": "text"
                  }
                ],
                "hasPerformance": true,
                "profilingError": "text"
              }
            ],
            "predictions": [
              {
                "sampleId": 1,
                "startMs": 1,
                "endMs": 1,
                "label": "text",
                "prediction": "text",
                "predictionCorrect": true,
                "f1Score": 1,
                "anomalyScores": [
                  [
                    1
                  ]
                ]
              }
            ],
            "visualization": "featureExplorer",
            "isSupportedOnMcu": true,
            "mcuSupportError": "text",
            "profilingJobId": 1,
            "profilingJobFailed": true,
            "additionalMetrics": [
              {
                "name": "text",
                "value": "text",
                "fullPrecisionValue": 1,
                "tooltipText": "text",
                "link": "text"
              }
            ]
          }
        },
        "train": {
          "float32": {
            "type": "int8",
            "loss": 1,
            "accuracy": 1,
            "confusionMatrix": [
              [
                31,
                1,
                0
              ],
              [
                2,
                27,
                3
              ],
              [
                1,
                0,
                39
              ]
            ],
            "report": {},
            "onDevicePerformance": [
              {
                "mcu": "text",
                "name": "text",
                "isDefault": true,
                "latency": 1,
                "tflite": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon_ram_optimized": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "customMetrics": [
                  {
                    "name": "text",
                    "value": "text"
                  }
                ],
                "hasPerformance": true,
                "profilingError": "text"
              }
            ],
            "predictions": [
              {
                "sampleId": 1,
                "startMs": 1,
                "endMs": 1,
                "label": "text",
                "prediction": "text",
                "predictionCorrect": true,
                "f1Score": 1,
                "anomalyScores": [
                  [
                    1
                  ]
                ]
              }
            ],
            "visualization": "featureExplorer",
            "isSupportedOnMcu": true,
            "mcuSupportError": "text",
            "profilingJobId": 1,
            "profilingJobFailed": true,
            "additionalMetrics": [
              {
                "name": "text",
                "value": "text",
                "fullPrecisionValue": 1,
                "tooltipText": "text",
                "link": "text"
              }
            ]
          },
          "int8": {
            "type": "int8",
            "loss": 1,
            "accuracy": 1,
            "confusionMatrix": [
              [
                31,
                1,
                0
              ],
              [
                2,
                27,
                3
              ],
              [
                1,
                0,
                39
              ]
            ],
            "report": {},
            "onDevicePerformance": [
              {
                "mcu": "text",
                "name": "text",
                "isDefault": true,
                "latency": 1,
                "tflite": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon_ram_optimized": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "customMetrics": [
                  {
                    "name": "text",
                    "value": "text"
                  }
                ],
                "hasPerformance": true,
                "profilingError": "text"
              }
            ],
            "predictions": [
              {
                "sampleId": 1,
                "startMs": 1,
                "endMs": 1,
                "label": "text",
                "prediction": "text",
                "predictionCorrect": true,
                "f1Score": 1,
                "anomalyScores": [
                  [
                    1
                  ]
                ]
              }
            ],
            "visualization": "featureExplorer",
            "isSupportedOnMcu": true,
            "mcuSupportError": "text",
            "profilingJobId": 1,
            "profilingJobFailed": true,
            "additionalMetrics": [
              {
                "name": "text",
                "value": "text",
                "fullPrecisionValue": 1,
                "tooltipText": "text",
                "link": "text"
              }
            ]
          }
        },
        "validation": {
          "float32": {
            "type": "int8",
            "loss": 1,
            "accuracy": 1,
            "confusionMatrix": [
              [
                31,
                1,
                0
              ],
              [
                2,
                27,
                3
              ],
              [
                1,
                0,
                39
              ]
            ],
            "report": {},
            "onDevicePerformance": [
              {
                "mcu": "text",
                "name": "text",
                "isDefault": true,
                "latency": 1,
                "tflite": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon_ram_optimized": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "customMetrics": [
                  {
                    "name": "text",
                    "value": "text"
                  }
                ],
                "hasPerformance": true,
                "profilingError": "text"
              }
            ],
            "predictions": [
              {
                "sampleId": 1,
                "startMs": 1,
                "endMs": 1,
                "label": "text",
                "prediction": "text",
                "predictionCorrect": true,
                "f1Score": 1,
                "anomalyScores": [
                  [
                    1
                  ]
                ]
              }
            ],
            "visualization": "featureExplorer",
            "isSupportedOnMcu": true,
            "mcuSupportError": "text",
            "profilingJobId": 1,
            "profilingJobFailed": true,
            "additionalMetrics": [
              {
                "name": "text",
                "value": "text",
                "fullPrecisionValue": 1,
                "tooltipText": "text",
                "link": "text"
              }
            ]
          },
          "int8": {
            "type": "int8",
            "loss": 1,
            "accuracy": 1,
            "confusionMatrix": [
              [
                31,
                1,
                0
              ],
              [
                2,
                27,
                3
              ],
              [
                1,
                0,
                39
              ]
            ],
            "report": {},
            "onDevicePerformance": [
              {
                "mcu": "text",
                "name": "text",
                "isDefault": true,
                "latency": 1,
                "tflite": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "eon_ram_optimized": {
                  "ramRequired": 1,
                  "romRequired": 1,
                  "arenaSize": 1,
                  "modelSize": 1
                },
                "customMetrics": [
                  {
                    "name": "text",
                    "value": "text"
                  }
                ],
                "hasPerformance": true,
                "profilingError": "text"
              }
            ],
            "predictions": [
              {
                "sampleId": 1,
                "startMs": 1,
                "endMs": 1,
                "label": "text",
                "prediction": "text",
                "predictionCorrect": true,
                "f1Score": 1,
                "anomalyScores": [
                  [
                    1
                  ]
                ]
              }
            ],
            "visualization": "featureExplorer",
            "isSupportedOnMcu": true,
            "mcuSupportError": "text",
            "profilingJobId": 1,
            "profilingJobFailed": true,
            "additionalMetrics": [
              {
                "name": "text",
                "value": "text",
                "fullPrecisionValue": 1,
                "tooltipText": "text",
                "link": "text"
              }
            ]
          }
        }
      },
      "impulseAddedToProject": {
        "impulseId": 1,
        "link": "text"
      },
      "createdInPostProcessing": true
    }
  ],
  "projectDataType": "audio",
  "jobError": "text",
  "workers": [
    {
      "workerId": "text",
      "status": "pending"
    }
  ],
  "nextRunIndex": 1,
  "canExtendSearch": true,
  "isWhitelabel": true,
  "totalTrainingTimeExceeded": true
}

Last updated

Was this helpful?