Last updated 11 months ago
Was this helpful?
Slice a sample into multiple segments. The original file will be marked as deleted, but you can crop any created segment to retrieve the original file.
Project ID
Sample ID
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/segment' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "segments": [ { "startMs": 1, "endMs": 1 } ] }'
{ "success": true, "error": "text" }