GET
/
api
/
{projectId}
/
raw-data
/
{sampleId}
/
wav
Get WAV file
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/wav \
  --header 'x-api-key: <api-key>'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

sampleId
integer
required

Sample ID

Query Parameters

axisIx
integer
required

Axis index

sliceStart
integer

Begin index of the slice. If not given, the whole sample is used.

sliceEnd
integer

End index of the slice. If not given, the whole sample is used.

cacheKey
string

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).

Response

200 - audio/wav

Wav file

The response is of type file.