Last updated 10 months ago
Was this helpful?
Move a sample to another category (e.g. from test to training).
/api/{projectId}/raw-data/{sampleId}/move
Project ID
Sample ID
training
testing
anomaly
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/move' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"newCategory":"training"}'
{ "success": true, "error": "text" }