POST
/
api
/
{projectId}
/
raw-data
/
{sampleId}
/
find-segments
Find segments
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/find-segments \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "shiftSegments": true,
  "segmentLengthMs": 123
}'
{
  "success": true,
  "error": "<string>",
  "segments": [
    {
      "startMs": 123,
      "endMs": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

sampleId
integer
required

Sample ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.