Segment Sample

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.

curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/segment \
  --header 'content-type: application/json' \
  --header 'x-jwt-token: REPLACE_KEY_VALUE' \
  --data '{"segments":[{"startMs":0,"endMs":0}]}'

Last updated

Was this helpful?