Start Sampling
Start sampling on a device. This function returns immediately. Updates are streamed through the websocket API.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/device/{deviceId}/start-sampling \
--header 'content-type: application/json' \
--header 'x-jwt-token: REPLACE_KEY_VALUE' \
--data '{"label":"string","lengthMs":0,"category":"training","intervalMs":0,"sensor":"string"}'
Last updated
Was this helpful?