cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/move \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "newCategory": "training" }'
{ "success": true, "error": "<string>" }
Move a sample to another category (e.g. from test to training).
Project ID
Sample ID
training
testing
post-processing
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?