Sending recordings
File upload, fetching from an https address, stereo and mono, the agent channel, supported formats, processing steps and errors.
On this page
- How recordings are sent
- Stereo and mono, the agent channel
- Supported formats and limits
- Rate limit and monthly quota
- Processing steps and statuses
- Errors and what to do
How recordings arrive
In this version a recording is sent in one of two ways:
| Way | How | Who uses it |
|---|---|---|
| File upload | The audio file is sent straight to the API. | Integrations (API) |
| Fetch from an https address | The API is given the recording's https address; Evisona fetches the file from there. | Integrations (API), MCP assistants |
Uploading from the panel is not available in this version. Calls appear on the Calls screen as recordings arrive through the API or an integration.
Technical details and examples: API integration.
Rules for fetching from an https address
- The address must start with https. http is not accepted.
- The address's domain must be on the allowed domain list defined for your tenant. Talk to your administrator to add a domain.
- A pre-signed address with a limited lifetime is recommended.
- Redirects are not followed. The address must point to the file itself.
- Addresses that lead to private, local or cloud metadata addresses (for example a server on an internal network) are rejected.
- Size and duration limits are the same as for file upload.
- An address that breaks these rules is rejected straight away (HTTP 422,
audio_url_not_allowed). If the address is allowed but the file cannot be downloaded, the call becomes Failed (error codeingest.fetch_failed).
Stereo and mono
| Stereo | Mono | |
|---|---|---|
| Channels | Two channels: one agent, one customer | One channel, everyone on it |
| Speakers | Separated by channel | Separated automatically from the audio; roles (agent, customer) are assigned automatically |
| Interruptions and overlapping speech | Measured directly | Shown with a Low confidence label |
Send stereo recordings when you can. In mono recordings overlapping speech can be missed and the interruption count can come out too low. See Conversation measurements.
With every recording you state the channel layout (stereo or mono).
Agent channel (stereo)
For a stereo recording Evisona needs to know which channel the agent is on. Channels are numbered 0 and 1.
- Tenant default: your administrator sets the default agent channel (0 or 1) in the tenant settings. If your phone system always records the same way, this is enough.
- Override per request: if a recording has a different layout, give the
agent_channelfield when you send it. The value in the request takes precedence over the tenant default. - If neither is set, the stereo recording is rejected (HTTP 422,
agent_channel_required).
If the channel is wrong, the agent and the customer are swapped. Rescoring does not fix the channel; the transcript and measurements are not produced again. You need to send the recording again with the correct channel. See FAQ and troubleshooting.
The agent channel is not given for mono recordings.
Supported formats and limits
| Value | |
|---|---|
| Formats | WAV, MP3, OGG/Opus, FLAC, M4A |
| Largest file | 200 MiB (209,715,200 bytes) |
| Longest recording | 3 hours |
| Lowest sample rate | 8 kHz |
| Highest sample rate | 192 kHz |
| Number of channels | 1 (mono) or 2 (stereo) |
These limits apply to the whole platform; they do not vary by tenant.
- A file over the limit is rejected with 413:
file_too_large(over 200 MiB) orduration_too_long(over 3 hours). - An unsupported file is rejected with 415:
unsupported_format(format not supported or the file cannot be decoded),sample_rate_too_low(below 8 kHz),sample_rate_too_high(above 192 kHz) orunsupported_channels(not 1 or 2 channels). - The 200 MiB limit applies only to the audio file in a file upload. Requests with a JSON body (for example fetching from an https address) have a general body limit of 1 MiB (1,048,576 bytes); above it, 413
payload_too_largeis returned. JSON bodies are accepted only as UTF-8. See API integration.
Information you can send with a recording
| Field | Required | What it is for |
|---|---|---|
channel_layout |
Yes | stereo or mono |
agent_channel |
For stereo, if there is no tenant default | The agent's channel: 0 or 1 |
external_ref |
No | The call number in the source system. Shown in the panel as Call no. Do not put personal data here: it must not be a phone number, name, e-mail address or ID number. It is cleared when the content retention period ends. |
agent_id or agent_external_ref |
No | The agent. agent_external_ref is the agent's ID in the source system; if your tenant has no agent with this ID, one is created automatically. |
team_id |
No | The team |
language_hint |
No | The call's language, for example tr or en. If empty, the language is detected automatically. |
direction |
No | inbound or outbound |
started_at |
No | When the call actually started |
scorecard_id |
No | The scorecard to use for this recording. If empty, your tenant's card is used. See Scorecards. |
If the scorecard_id, agent_id or team_id you give does not exist in your tenant, the request is rejected (HTTP 422, unknown_reference). The field in the response shows which field was not found (for example metadata.agent_id). An ID belonging to another tenant gets the same response.
The tenant ID and the region are not sent in the request; they are read from your credentials. If tenant_id appears in the request, it is rejected (HTTP 400, tenant_id_not_allowed).
Avoiding duplicate submissions
Send an Idempotency-Key header with the request. A second request with the same key does not start a new job; the first response is returned. The key is valid for 24 hours.
If you send different content with the same key, the request is rejected with 409.
Rate limit and monthly quota
- Rate limit: your tenant has a per-minute request limit (
limit). The sustained rate islimitrequests per minute; on top of that a burst of up tolimitrequests is allowed. When the limit is exceeded, 429rate_limitedis returned. - Monthly quota: your tenant has a number of audio minutes it can process per month. The period is the UTC calendar month. When the quota is used up, sending a recording is rejected with 429
monthly_quota_exceeded. - In both cases the response carries a
Retry-Afterheader; wait that many seconds. For the quota, this lasts until the start of the next UTC month.
Details: API integration, "Rate limit and monthly quota".
Processing steps
After a recording is received it goes through these steps in order:
| Step (in the panel) | What happens |
|---|---|
| Intake | The file is received and checked. |
| Transcription | The recording is turned into a transcript; speakers are separated. |
| Conversation measurements | The measurements are computed. |
| Scoring | The scorecard is applied. |
| Report | The report is created. |
The call's overall status is Queued, Processing, Completed or Failed.
While the report is not ready, the call detail shows Processing status instead of the report. For each step you see the status (Waiting, Running, Done, Error, Skipped), the attempt number ("Attempt 2") and the time of the last update.

When the report is ready:
- Your integration is notified by a webhook (
call.report.ready). See API integration. - The report opens in the call detail.
Errors
When sending
| Code | Meaning | What to do |
|---|---|---|
400 invalid_request |
The request does not match the schema (unknown field, format error, JSON body not in UTF-8) | Check the fields. |
400 tenant_id_not_allowed |
The request contains tenant_id |
Do not send tenant_id. |
| 401 | Credentials missing, invalid, expired or revoked | Check your API key. |
403 insufficient_scope |
Insufficient permission | The key needs the calls:write scope. |
403 tenant_inactive |
Your tenant is suspended | Contact your service provider. |
| 409 | Same Idempotency-Key with different content |
Use a new key. |
413 file_too_large, duration_too_long |
File over 200 MiB or 3 hours | Split or compress the recording. |
413 payload_too_large |
JSON body over 1 MiB | Make the body smaller. |
| 415 | Format, sample rate or number of channels not supported | Send WAV, MP3, OGG/Opus, FLAC or M4A; 8–192 kHz; 1 or 2 channels. |
421 wrong_region |
The request went to the wrong region | Use the address of the region in the response. |
422 agent_channel_required |
Stereo recording without an agent channel | Give agent_channel or ask your administrator to set the tenant default. |
422 audio_url_not_allowed |
The address breaks the rules (not https, domain not allowed, private network address) | Check the address and the allowed domain list. |
422 unknown_reference |
scorecard_id, agent_id or team_id does not exist in your tenant |
Check the ID named by the field in the response. |
422 channel_layout_mismatch |
The channel layout you declared does not match the file | Check the channel_layout value. |
429 rate_limited |
Rate limit exceeded | Wait for the time in the Retry-After header. |
429 monthly_quota_exceeded |
Monthly quota used up | Retry-After points to the start of the next UTC month. Contact your service provider to raise the quota. |
500 internal_error |
Unexpected error | The instance field in the response holds the error ID (urn:qm:error:<id>); give this ID in your support request. |
503 auth_unavailable |
Credentials cannot be verified right now | Try again a little later. |
During processing
The system retries failed steps automatically. If the processing system crashes or is restarted, the calls being processed at that moment complete on their own within 10 minutes of the crash. During this time a call may briefly return to Queued; you do not need to do anything. If a processing component is temporarily unavailable, processing can take longer than this before the call continues on its own. Rescoring and scorecard trials are not restarted after a crash: the job is closed with the code score.worker_lost, uses no quota, and you can request it again. If a step still fails:
- The report could not be created: you see which step failed, a short explanation and the Error code. You can copy the code and share it with support.
- If you have the rescore capability, Try again restarts the failed step. Processing continues only from the failed step; earlier steps do not run again. If the recording has already been counted against the quota (the transcription service responded), Try again does not use quota again and works even when the quota is used up. If it has not been counted, Try again reserves analysis quota again; if the quota is used up it is rejected (429
monthly_quota_exceeded). If the error is permanent (for example, the file could not be decoded or the transcription service did not accept the recording), Try again does not work (409not_retryable); send the recording again. Each step is tried at most 10 times, automatic and manual attempts together; once that limit is reached, Try again is rejected (409retry_limit_exceeded). - Once the transcription service has responded for a recording, its duration counts against the monthly quota and is not given back, even if a later step fails. A recording that fails before the service responds does not use quota.
- The duration of a recording fetched from an https address is known only after it is downloaded. If that duration exceeds the monthly quota, the call becomes Failed (error code
ingest.quota_exceeded). - Scoring failed: if the transcript and measurements are ready, the report opens with the measurements. The Scorecard panel says "Scoring failed". Use Rescore to start scoring again.

What the error codes mean: FAQ and troubleshooting.