Retrain

Retrain

Retrains the current impulse with the last known parameters. Updates are streamed over the websocket API.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/jobs/retrain
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

id*integer

Job identifier. Status updates will include this identifier.

Example: 12873488112
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/retrain', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "id": 12873488112
}

Last updated