Links

Get Raw Sample

Get raw sample data, but with only the axes selected by the DSP block. E.g. if you have selected only accX and accY as inputs for the DSP block, but the raw sample also contains accZ, accZ is filtered
get
https://studio.edgeimpulse.com/v1
/api/{projectId}/dsp/{dspId}/raw-data/{sampleId}
Get raw sample

Get raw sample data, but with only the axes selected by the DSP block. E.g. if you have selected only accX and accY as inputs for the DSP block, but the raw sample also contains accZ, accZ is filtered out. If you pass dspId = 0 this will return a raw graph without any processing.

Parameters
Path
projectId*
integer
Project ID
dspId*
integer
DSP Block ID, use the impulse functions to retrieve the ID
sampleId*
integer
Sample ID
Query
limitPayloadValues
integer
Limit the number of payload values in the response
Responses
200: OK
OK
cURL
Python
Node.js
curl --request GET \
--url 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/raw-data/{sampleId}?limitPayloadValues=SOME_INTEGER_VALUE' \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("GET", "/v1/api/{projectId}/dsp/{dspId}/raw-data/{sampleId}?limitPayloadValues=SOME_INTEGER_VALUE", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}/raw-data/{sampleId}',
qs: {limitPayloadValues: 'SOME_INTEGER_VALUE'},
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});