Loading...
Move a sample to another category (e.g. from test to training).
Project ID
Sample ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/move', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "newCategory": "training" }), }); const data = await response.json();
{ "success": false, "error": "text" }