Upload a recording for analysis
Uploads a Base64-encoded audio file. Analysis processing is triggered on a successful
upload and may take up to five minutes to complete. Requires an active
subscription with available credits; requests are rejected once the balance is
exhausted or the subscription is suspended.
Minimum audio requirements:
- Format: WAV, MP3, MP4, or OGG
- Sample rate: 16,000 Hz
- Bit rate: 32,000 bps
- Channels: 1 (mono)
- Duration: 30 seconds of speech
- Maximum file size: 50 MB
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
account_id
The ID of the account submitting the recording.
recorded_at
ISO 8601 timestamp of when the recording began.
analysis
Analysis types to run. Must contain at least one type.
audio
Base64-encoded audio file.
Response
Recording uploaded
recording_id
The recording ID used for fetching analysis results.
account_id
The ID of the account that submitted the recording.
recorded_at
ISO 8601 timestamp of when the recording began.
uploaded_at
ISO 8601 timestamp of when the recording was uploaded.
audio_file_format
Detected audio file format.
audio_size_bytes
Audio file size in bytes.
audio_sample_rate_hz
Audio sample rate in Hz.
audio_bit_rate_bps
Audio bit rate in bits per second.
audio_duration_seconds
Total audio duration in seconds.
speech_duration_seconds
Detected speech duration in seconds.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
413
Content Too Large Error
500
Internal Server Error
