Run the model on an existing recording
Authentication
Request
When the user fell asleep for their last main sleep before the recording was made (as an ISO 8601 datetime). This should not include timezone information but it is assumed to be in the local timezone of the user in the recording so the time of day can be inferred.
When the user woke from their last main sleep before the recording was made (as an ISO 8601 datetime). This should not include timezone information but it is assumed to be in the local timezone of the user in the recording so the time of day can be inferred.
Boolean flag indicating if user data is to be deleted after the completion of the model run. If True, the recordings, model inputs and model results will be deleted 12 hrs after the model run completes. Attempts to retrieve results after this time will receive a 404 error. If you wish to be more specific about which types of data are deleted, see the data_to_delete field below.
An array of data types to indicate which data inputs should be deleted after completion of the model run.
To be used in combination with the delete_data boolean flag. Note:
- If
delete_datais set totrueanddata_to_deletevalue is omitted, all data will be deleted. - If
delete_datais set totrueanddata_to_deletevalue is set to one or more data types, only the specified data will be deleted.
When the recording was made (as an ISO 8601 datetime). This should not include timezone information but it is assumed to be in the local timezone of the user in the recording so the time of day can be inferred.
Response
The url to upload recording contents to via a PUT request. Note:
- Recordings should contain at least 10 seconds of speech and be under 3 minutes long
- Supported formats are FLAC, MP3, MP4, Ogg, WebM, WAV
- The upload url is valid for 1 hour