Get WAV file
Get a sample as a WAV file. This only applies to samples with an audio axis.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
sampleIdintegerRequired
Sample ID
Query parameters
axisIxintegerRequired
Axis index
sliceStartintegerOptional
Begin index of the slice. If not given, the whole sample is used.
sliceEndintegerOptional
End index of the slice. If not given, the whole sample is used.
cacheKeystringOptional
If set, then a long cache header is sent. If this is omitted then a no-cache header is sent. You can use this if you f.e. know the last modified date of a sample. Stick the last modified date in the cache key, so the sample can be stored in browser cache (and will automatically be invalidated if the modified date changes).
Responses
200
Wav file
audio/wav
Responsestring · binary
get
GET /v1/api/{projectId}/raw-data/{sampleId}/wav HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200
Wav file
binary
Last updated
Was this helpful?