Unified LiveKitAPI exposes all server endpoints
livekit-server-sdk@2.17.0
Minor Changes
-
Add
LiveKitAPI, a unified entry point that exposes every server API through a property (api.room,api.egress,api.ingress,api.sip,api.agentDispatch,api.connector). It can be constructed with an API key and secret, or with a pre-signed token (no secret required, so it can run client-side), and falls back to theLIVEKIT_URL,LIVEKIT_API_KEY,LIVEKIT_API_SECRET, andLIVEKIT_TOKENenvironment variables. Individual clients also accept atokenviaClientOptions. - #695 (@davidzhao) -
Add
SipCallError, aTwirpErrorsubclass thrown bySipClient.createSipParticipant/transferSipParticipantwhen a call fails with a SIP status. It exposes the SIP response code and reason assipStatusCode/sipStatusgetters, while other error metadata remains available viametadata. - #695 (@davidzhao)
Patch Changes
- feat: auto failover APIs with LK Cloud - #686 (@davidzhao)
Fetched July 8, 2026


