Raw data
Get WAV file
Get a sample as a WAV file. This only applies to samples with an audio axis.
get/api/{projectId}/raw-data/{sampleId}/wav
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project ID
sampleIdinteger required
Sample ID
Query parameters
axisIxinteger required
Axis index
sliceStartinteger
Begin index of the slice. If not given, the whole sample is used.
sliceEndinteger
End index of the slice. If not given, the whole sample is used.
cacheKeystring
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).
datasetVersionIdinteger
Dataset version ID. If not set, the current mutable dataset is used
Response
Wav file
Changes
No recorded changes to this operation across all 1 revision of this API.