Find segments
Find start and end times for all non-noise events in a sample
Authorizations
Path parameters
projectIdintegerRequired
Project ID
sampleIdintegerRequired
Sample ID
Body
shiftSegmentsbooleanRequired
If set, the segments are automatically shifted randomly, to make the dataset distribution more uniform.
segmentLengthMsintegerRequired
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/raw-data/{sampleId}/find-segments HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"shiftSegments": true,
"segmentLengthMs": 1
}
200
OK
{
"success": true,
"error": "text",
"segments": [
{
"startMs": 1,
"endMs": 1
}
]
}
Last updated
Was this helpful?