Changelog
Kejue Voice releases and the capabilities each one delivered, including historical Sonus releases.
Every major release, newest first — a one-line summary and the concrete
capabilities it shipped. Dates are when each landed. The API contract is
versioned separately; the current version is 2026-11-09 at
https://api.kejue.co/v1.
Kejue Voice is built on four voice models of our own — an endpointing model that hears when a caller is done, a speech language model that responds to raw audio directly, and realtime speech-to-text and text-to-speech. Recent releases have made all four faster and more natural.
Short replies answered straight away on transcriber turn-taking
- Turn-taking — when the transcriber decides the turn, short quiet replies like "yes" or "okay" that its turn detection doesn't register are now picked up by the agent and answered as soon as the caller stops, with the right words. Before, they were answered about 2.5 seconds late, and sometimes without a transcript.
- Usage — usage from dashboard previews, knowledge-base embeddings and eval scenario generation is now always recorded. Some of those rows were missing before.
The transcriber can decide when the caller has finished
- Turn-taking — on transcribers that report
stt_capabilities.endpointing.auto, a cascaded agent withendpointing_mode: "auto"now lets the transcriber's own turn detection decide when the caller has finished, so the turn boundary and the transcript come from the same place. Yourendpointing_delay_msandturn_endpoint_delay_msstill apply. Interruptions are still detected on the agent. - New
endpointing_modevalueaudiokeeps the agent's own end-of-turn model for any transcriber.
Reliable resource edits and text eval creation
- Resource edits — strong ETags remain usable for conditional updates, fixing saves that failed with an invalid
If-Matchheader. Refresh a resource page before retrying an edit. - Running evals — new simulated and live-tool runs require
mode: "text". Audio creation returns422 validation_failed; historical audio runs remain readable and filterable.
Catalog identities for models and voices
Customer APIs identify services by their display names, capabilities, and platform UUIDs. Update integrations that read or send internal selections:
| Previous integration | Use instead |
|---|---|
Provider name, integration_type, wire_protocol, connector_kind, or preset; model model_id | Catalog id and display_name; use capability flags to decide which controls to offer. |
A voice’s internal voice_id | The voice catalog entry’s id (a platform UUID). Public Inference model aliases remain valid request handles. |
The former public /v1/stt-capabilities endpoint and integration-name lookups | The selected STT service’s stt_capabilities in GET /v1/providers. |
Usage-event model, upstream_provider, or instance_name | model_display_name, service_display_name, and opaque provider_instance_id for request correlation. Raw model and upstream_provider filters return 400; q searches request IDs and public display names. |
| Raw model and voice selections in new eval requests | runtime_profile.agent_model_ref, caller_model_ref, scorer_model_ref, and the paired caller_voice_ref / caller_tts_provider_ref catalog UUIDs. Judge checks use config.model_ref. |
| Fleet-specific availability reasons and raw diagnostic detail | availability_reason: temporarily_unavailable, classified failures, and request/call/run IDs. Raw upstream diagnostics aren't returned. |
Previously saved execution selections remain preserved, including selections that no longer resolve to a current catalog entry. Their internal names are omitted from customer responses; an unrelated edit does not clear them. The existing agent lifecycle remains available.
Kejue SDK and compatible integration names
- Browser SDK —
@kejue/voice-web@0.1.0exposesKejueWebCall,KejueTextCall, andstartCallfor voice and text calls. The legacy Sonus class names are also exported; existing@kejue/sonus-webclients remain supported. - OAuth and MCP — new examples use
Kejue-Org-Idand Kejue token names. Existing Sonus headers, credentials, and team UUIDs keep working. - Webhooks — deliveries carry both
X-Kejue-*andX-Sonus-*headers with the same delivery ID, body, timestamp, and signature. There is one HTTP delivery per attempt. - Current API reference — refreshed from the deployed Voice contract, including both annotation families and board-only updates on completed campaigns. The API contract version remains
2026-11-05.
Outbound and DNCR alerts, latency breakdown, bounded redials
Know when outbound calling goes wrong, and see where each reply's time went. Contract version 2026-11-05.
- Outbound and DNCR alerts — new signals for outbound call failures, carrier and route errors, unanswered calls, trunk registration, redial loops, automatic campaign pauses and DNCR checks, with ready-made rules in
GET /v1/alerts/schema(presets). Rules can be scoped tocampaign_ids, and call failure rules narrowed tofailure_codes. - Latency breakdown — each turn's reply time is split into parts that sum to
response_latency_ms(transcribe_wait_ms,model_first_token_ms,tool_wait_ms,first_chunk_ms,tts_first_audio_ms,handoff_ms,breakdown_version), drawn as a bar on the Latency tab. - Carrier-side SIP trace —
sip_messagescarryhop,src,dstandtransport; on trunks through our SIP edge,edgemessages are exactly what your carrier saw. - Bounded redials — carrier and route failures get a few free retries with growing waits, then consume attempts, so a refusing destination stops at
max_attempts. A job that fails after its campaign is paused is canceled, not retried. - Contract fixes —
sip_failuredocumentsq850_cause,q850_textandsource; auditend_reasonaddscaller_disconnected;paused_reasondocumentsdncr_configuration_invalid.
Real call outcomes and PBX realm fixes
Calls say what actually happened on the far end, and registered PBX trunks are easier to get right.
- Call outcomes — calls the callee's side didn't take show as Busy, No answer, Declined, Rejected, Invalid number or Blocked instead of "Failed". Real failures on the route or on our side still say "Failed".
statusandfailure_codeare unchanged. - The far end's own answer — when a carrier or PBX refuses a call,
sip_failureon the call carries its SIP status and, when sent, the Q.850 cause (q850_cause,q850_text). Refusals that used to read "No answer" now show as Rejected, e.g.SIP 500 · Q.850 cause 34 (No circuit/channel available). - PBX auth realm —
PATCH /v1/sip-trunks/{id}acceptsremote_register_realm(withauth_usernameandauth_password), and the trunk edit page has a realm field. Yeastar PBXs useYSAsterisk, and the dashboard suggests it. - Clearer trunk editing — trunks that register in either direction no longer show Sonus's internal registrar settings as editable configuration.
Groups: compare agents on live calls
Split live calls across agents you already have, and compare them without building a board.
- Groups — a set of agents with traffic weights. Phone numbers, outbound calls and campaigns take
group_idinstead ofagent_id, and each call goes to one agent by weight. The same caller or contact always reaches the same agent. - Results — call metrics, an Overall performance score and outcome, and your own group metrics per agent, each with a 95% range and a verdict.
GET /v1/groups/{id}/resultsreturns the same data. - Live weights — add, remove or re-weight agents at any time; weight 0 stops new calls and keeps history.
GET /v1/groups/{id}/changeslists every change. - Calls add
group_id,group_member_id,group_nameandgroup_member_label, andGET /v1/callsfilters bygroup_id. - Beta — off by default and enabled per team. Needs the new
groups:*permissions. Groups don't apply to web calls, test calls or Twilio Media Streams numbers.
Board date ranges, branded PDF reports, and rollover minutes
One time window for a whole board, a shareable PDF report, and more control over transfers, transcription and assistant access.
- Board-wide time range — a Range bar applies one window to every insight without changing saved insights or alerts.
GET /v1/analysis/insights/{id}/dataandGET /v1/analysis/boards/{id}/exportacceptfromandto, up to 400 days. - Branded PDF export — the PDF is now a visual report of every chart and key figure; CSV keeps the full data. New
range_labelandtzparameters label the window and set the printed time zone. - Briefing instructions — warm transfers take an optional
briefing_promptfor the call to the recipient, with briefing-only{{transfer.*}}and{{call.*}}variables. - Key terms on human-call ingest —
POST /v1/ingest/human-callsacceptskey_terms; ingests reportkey_termsand machine-readablewarningsand never fail because of key terms. - All teams for connected assistants — one connection can cover every team you belong to, including teams you join later.
GET /v1/connected-appsandGET /v1/auth/mereportall_teams. - Rollover minutes — top-ups can be granted as never expiring; calls use this period's minutes first, and the Usage page shows the rollover balance.
Clearer calls, stricter eval checks, and a sharper MCP connector
Fixes from the first week of assistants building on Sonus.
- Calls add
channel,directionandagent_version_is_draft;metadata.sourcetells phone, web, test and eval calls apart, and web calls nobody joins close asfailedafter about three minutes. - Handoffs leave a transfer record (
kind: agent,method: handoff), a tool invocation and a trace event. Fixed greetings are spoken verbatim in text chats and text evals, and greetinginstructionsaccept templates. - Eval checks validate every rule's arguments — unknown, missing or mistyped keys return
422with the field path.kind,slugandtemplate_keyare immutable, archived checks return409 eval_check_archived, andend_reasonmatches stable codes. - Audit log marks actions taken through a connected app with
via("Alex via Claude"), with newviaandoauth_grant_idfilters. - Contract fixes —
GET /v1/analysis/schemais version 2.0 with columns only undersources[];GET /v1/providersreportsavailable; agent estimates report the usablemax_model_lenplusmodel_context_limit; HTTP tool tests insert query, header and body parameters like live calls. - MCP connector adds
list_api_areas,author_eval_suite,get_eval_check_schema,create_and_test_toolandquery_analytics, validates writes before sending, and masks tokens in responses.
Use Sonus from Claude and other AI assistants
Connect Claude, or any MCP client, to Sonus with one URL and your normal sign-in.
- Sonus MCP server at
https://api.sonus.ws/mcp— build and edit agents, run evals, review calls and ship releases in plain language, across the teams you approve, with built-in guidance on prompting and evals. - Consent per team and per permission — the assistant acts as you, limited by your role and what you approve; deploys, calls, unmasked PII and admin actions are off unless you turn them on.
- Team control —
ai_connectorson/v1/orgs/currentturns assistant access on, read-only or off; teams with a signed BAA start off. - Connected apps —
GET /v1/connected-appsandDELETE /v1/connected-apps/{id}let team admins see and remove connections; members manage their own in Settings → Connected apps. - New errors —
team_not_connectedandai_connectors_disabled.
Call trace, SIP evidence, and PII masking per team
See exactly why a call went wrong, and decide per team whether calls are stored masked. Contract version 2026-10-17.
- Call trace — every event of a call on one timeline: audio, transcription, end-of-turn decisions, model and synthesis requests, tool runs, transfers and SIP signalling.
GET /v1/calls/{id}/timelinereturns it; errors carry their real cause (stage, HTTP status, request ID, provider). - SIP evidence — call detail adds
sip_failure, capturedsip_messages, linkedsip_rejections, and classified failure details. Calls refused before they existed are listed byGET /v1/sip-trunks/{id}/rejectionsandGET /v1/phone-numbers/{id}/rejections, and a trunk can send outbound calls through our SIP edge withvia_proxy. A number already live elsewhere on the platform returns409 number_in_use. - PII masking per team —
pii_maskingon/v1/orgs/currentturns storage masking on or off. New teams start with it off; existing teams keep their setting. - New public catalogs —
GET /v1/background-noiseslists built-in and operator-uploaded ambience, and the selected service’sstt_capabilitiesinGET /v1/providerssays whether it supports vocabulary, language hints and STT endpointing. - Newly documented fields — agent
stt_vocabulary,stt_language_hints,silence_timeout_seconds,max_call_duration_secondsandturn_taking.endpointing_mode; call filterscall_id_matchandcaller_match; live evalruntime_profile; theendpointingusage kind. - Webhook payloads —
call.completedalways carriescampaign: nulland aflowobject; transcript rows can carryfrom_agent/to_agentand diarization fields, and the fullkindvocabulary is documented.
Board drill-down filter fix
Board drill-downs retain every channel exclusion and their multi-agent scope when opening Calls. Channel exclusions no longer turn into a positive match against the last excluded channel.
GET /v1/calls now accepts repeated channel_not values (AND, up to six) and repeated agent_ids UUIDs (OR, up to 120). Both combine with other filters using AND. The OpenAPI YAML and JSON document the parameters, limits and null behavior. See Calls.
Wait for the caller
Agents can wait for the caller — "give me a few seconds, I'm logging in" — without an inactivity message cutting in.
system_tools.wait— the agent callswait(seconds)(orwait()with a fixed duration, 1–120 seconds). The waited seconds don't count toward the inactivity messages or the silence timeout, and the caller can speak at any time.- When the wait runs out — say nothing and start the inactivity countdown, speak a fixed line, or have the agent write one from your instruction.
- Dashboard — add Wait from Tools → Add tool. The OpenAPI YAML and JSON include the new schema.
Alerts and clearer call details
- Alerts — Team-scoped rules for tools, webhooks and extraction results, with incident history and firing/recovery email notifications.
- Call details — all turn timings and request usage are visible in compact tables, with catalog model labels and request pagination.
Outbound calls on staging
Outbound jobs can run an agent's staging version, so you can hear a change on a real call before deploying it.
agent_versiononPOST /v1/outbound-jobs—"production"(default) or"staging". The resolved version is stored on the job; a later promote or deploy doesn't change it. Fails409 no_staging_versionwhen nothing is staged; agent-only (not withflow_id).- Agent list items now include
staging_version_idandstaging_version_number. - Dashboard — Place call has an Agent version picker, and the agent editor has Place outbound call (staging).
Call metrics and analysis together
Analysis boards can combine call metrics with analysis output.
- Average call duration per topic — select a call metric and a separate analysis field under Group values by.
- Filters across both sources — filter duration by an analysis result, or filter an analysis metric by a call field. The API accepts
query.group_byand optionalfilter.source. - Numeric formulas — combine call and analysis aggregates in the same insight. The OpenAPI YAML and JSON include the grouping, filtering, and extraction-object requirements.
Keypad input, always on
Callers can press keypad digits at any moment of a call — no tool call, no collection prompt.
behavior.dtmf.collect_enabledturns on keypad collection for the whole call. Digits are sent to the agent as a caller turn ([Keypad] 1234) after a configurable pause between keys, or immediately on#.- Speech wins — if the caller talks while digits are pending, normal turn-taking decides the turn and the digits ride along with it.
- Type-ahead (
interrupt_on_digit) lets a keypress cut the agent off, or the agent finishes speaking first (the default). - The
collect_dtmftool anddtmf.collect_defaultsare retired; sendingcollect_defaultsnow returns422. Contract version2026-10-02.
Do Not Call Registry (UAE)
Dial UAE numbers under TDRA rules with the registry checked for you.
- DNCR connections — store encrypted e& credentials; we check every UAE destination immediately before dialing and never dial a registered number.
- Policy modes —
default_off,default_on, orenforcedon the outbound policy; campaigns and calls can carry their own intent unless enforced. - Honest outcomes — blocked numbers fail with
dncr_blocked; an unreachable registry fails closed and jobs retry without spending a dial attempt. - Test without dialing —
POST /v1/dncr-connections/{id}/testreturns the registry decision for one number.
Click a chart, get the calls
Every board insight is now a way into the call list it summarizes.
- Drill down from any slice — clicking a bar, point, donut slice, heatmap cell or table row opens the calls behind it. Charts grouped
by valueare drillable for the first time, so a "lead quality" donut takes you fromcold: 13to those calls. - The link carries the whole slice — the clicked value plus the insight's time range, its shared query filters, and its agent scope. A 30-day chart no longer opens an all-time list; each predicate arrives as a filter chip you can see and remove.
- New call filters —
GET /v1/callsgained the axes the drill needs:campaign_name,channel,failure_code,human_agent,platform_number, theguardrail_*family, and thetool_*family. Guardrail and tool parameters are existence tests, and those within one family must describe the same trigger or invocation.
Flows (beta)
Compose the agents you already have: a flow is a named graph of agents joined by handoffs, and one call moves through it without starting over.
- Flows — build a graph of existing agents, choose the start agent that answers, and save. A flow is a live object: no draft, no version, no deploy — the next call uses it.
- Handoff conditions — every edge carries a plain-language "hand off when…" condition, and the receiving agent inherits the conversation instead of greeting the caller again. One call, one transcript, an
agent_handoffrow where control passed. - Edges replace
transfer_agent— inside a flow, the graph is the whole truth about handoffs; nothing is written back, so a member agent dialed directly behaves exactly as before. - Point a number, an outbound call, or a test call at a flow — a phone number targets either an agent (optionally with SIP-header routing rules) or a flow, never both; campaigns still target a single agent.
- One after-call treatment — the flow's own summary, extraction, and webhook configuration replaces every member agent's, so the result never depends on which agent was holding the call when it ended.
- Flows are beta, enabled per workspace, with
flows:read/create/update/deletepermissions.
Redundant SIP edges, and a fuller call record
Telephony redundancy, plus contract fields that were always there and never written down.
- More than one SIP edge — we answer on several independent addresses, and production runs two.
GET /v1/sip-trunks/runtime-infonow returnspublic_sip_uris; point your carrier at every entry and allowlist every entry ofsip_egress_cidrs, so a restart on one address never costs you calls. internal_slotson HTTP tools — capture a value from a tool response, use it in a later request, and never show it to the model or put it in the transcript.- Richer transcript rows — tool rows carry
nameandis_error, keypad rows carrydtmf_maskedanddigit_count(the count, never the digits), and agent rows carryspeech_idandinterrupted. See calls and webhook events.
Promptable endpointing
Control turn-taking with words, not just timers.
wait_instruction— tell the agent, in plain language, when a caller isn't finished (dictating a number group by group, trailing off mid-sentence). It keeps listening instead of interrupting, and answers once they're done.- More patient defaults — updated turn-taking defaults: a longer fallback end-of-turn silence and adaptive interruption on by default.
A model for turn-taking
A dedicated endpointing model that judges when a caller has actually finished speaking, instead of waiting on silence alone — fewer interruptions and less dead air on live calls. It works alongside the turn-taking controls you already have.
Faster, more natural speech models
A wave of upgrades to the models behind every call:
- Realtime speech-to-text — new options with lower latency and broader language coverage for cascaded agents.
- Realtime text-to-speech — new, more expressive voices in the catalog.
- The speech language model behind the speech-native pipeline, for the most natural turn-taking and tone.
Choose them from the catalog by capability and voice attribute — never by brand.
Campaigns (beta)
Batch outbound calling as a first-class feature. Campaigns are in beta, enabled per workspace.
- Import a recipient list (CSV/XLSX) with a pre-import preview and an
errors.csvexport for rejected rows. - Launch, pause, resume, stop, or clone a run; a pause never cuts a live call.
- Voicemail handling, per-recipient status, live counters, and
campaign.*webhooks. - Dialing is paced by your outbound policy and capacity.
Pipelines and endpointing modes
Agents run in a Speech-model pipeline (the model hears raw audio) or a Cascaded pipeline (realtime STT → text model → TTS). The new endpointing_mode lets cascaded agents end turns from the transcription model's own signal.
Web and chat
Put the same agent — prompt, tools, and guardrails — straight into your web app, no telephony required.
POST /web-callsmints a short-lived browser token; media flows browser-to-Sonus over WebRTC and your backend never proxies it.- Browser voice is generally available; text chat is in beta.
- The browser SDK gives you typed call state, transcripts, and events.
Composable evals
Rebuilt evaluations so quality gates are reusable and can run on real traffic.
- Reusable checks — LLM judge, tool-trace, and flow assertions — attached to suites, with shipped starter templates.
- Grade real production calls, not just simulations.
- Per-check verdicts with evidence, and a run pass-rate you can gate a deploy on.
The public API
The reviewed, automation-first API: a single error envelope, machine-readable metadata on every operation, retry-safe creates (idempotency), optimistic concurrency (ETags), cursor pagination, and a hard boundary between the public contract and everything internal.
Evaluations
The first evaluation workflow: simulated-caller suites and scenarios, durable runs pinned to an agent version, and live-tool execution isolated behind its own permission so ordinary eval runs stay side-effect-free.
DTMF keypad
Agents can work the keypad: collect a caller's digits into a slot (with an optional type-ahead that cuts the prompt on the first keypress) and send digits to drive another system's menu. See call actions.
Analytics, extraction, and metering
Turn conversations into data.
- Analysis boards — saved insights computed live over your calls.
- Extraction objects — define structured post-call data once, reuse it across agents.
- Usage analytics and an event ledger for metering.
- A typed model and voice catalog, chosen by capability and voice attribute.
Guardrails and pronunciation
- Guardrails — reusable response-safety policy sets checked before every reply is spoken; enforcement is fail-closed, so the agent stays silent rather than say something unsafe.
- Pronunciation tables — deterministic spoken-form replacements applied just before speech.
Outbound and contacts
- Durable outbound calls that survive retries, with caller-ID pools, capacity controls, and an org outbound policy for calling hours and backoff.
- Contacts — a directory with tags, call history, and per-contact memory an agent can read and write.
- Cursor pagination replaced offset paging across every list (breaking).
Tools, MCP, and secrets
Agents can act on your systems.
- HTTP tools — typed request templates the agent calls mid-conversation, in-call or pre-call.
- MCP servers — remote tool catalogs with approved-snapshot drift control.
- Encrypted secrets for the credentials tools need, never returned by the API.
- Every API-key
POSTnow requires anIdempotency-Key(breaking).
Versioned agents
- Draft → immutable version → staging → production — a config change never touches a live call, and rollback is a pointer move.
- Strong ETags with
If-Matchon race-sensitive writes. - The prompt template grammar —
system,vars, andslotsscopes with a documented trust boundary for caller-controlled values.
Telephony
- SIP trunks — bring your own carrier or PBX, or let us provision Twilio automatically — and provider-agnostic number provisioning.
- Transfers to a human (warm consult or cold blind) or to another agent.
- The on-prem deployment model entered the contract.
Sonus launches
The first release: prompt agents, inbound phone numbers, call history with transcripts, signed webhooks, one canonical error envelope, and a published OpenAPI document.