Changes to the Rasen Developer API, newest first.
Follow a call’s transcript live
New operation: GET /calls/{call_id}/transcript/live (streamLiveCallTranscript). It requires
calls.read and returns Server-Sent Events of a call’s transcript lines while the call runs. It
works for every call: dialled, inbound, agent sessions and test calls. Open it any time after the
call is created; it waits for the call to connect.
- Each
transcript.messageevent carriescall_id,segment_id,speaker(agentorcustomer),text,final,start_msandend_ms. - Every payload of one line has the same
segment_id. Show the newest payload of each line, but never replace afinal: trueline with a laterfinal: falseone. - Once the call is over,
transcript.endarrives with the call’sstate, and the stream closes. - Save the last
id:value and send it asLast-Event-IDto resume. Comment frames are heartbeats. One connection lasts at most 55 minutes, and it shares the open-stream limits ofstreamCallTranscript. - Live lines show the call as it runs and are not its record: the last words of a call can be missing. After the call, read the verified transcript.
What to do: Nothing for existing integrations. To show a call as it runs, see Follow a call’s transcript live.
Resource key conflicts take precedence over name conflicts
A create that repeats both the name and the resource_key of an existing agent, MCP server,
Knowledge source or secret now answers 409 resource_key_conflict with details.existing_id.
It previously answered with a name conflict, so a client that lost a create response and retried
with a new Idempotency-Key could not find the resource it had made. When the key is free and only
the name is taken, the name conflict is unchanged. See Resource keys.
What to do: On 409 resource_key_conflict, read the resource with details.existing_id
instead of creating it again.
Transcript stream limit answers 429
When a key or workspace already had the most transcript streams open, streamCallTranscript
answered with a server error. It now answers 429 rate_limited with Retry-After, the same as
streamLiveCallTranscript.
What to do: On 429 rate_limited, wait the seconds in Retry-After, then reconnect with
Last-Event-ID.