sessions

Submit Session Network Stats

Accept a client-side WebRTC quality rollup for a session.

No auth required — session_id acts as the authorization, same as join endpoints. Called from the browser at end-of-call (and periodically as a backup) with a pre-aggregated rollup of inbound/outbound RTP audio stats sampled via RTCPeerConnection.getStats().

Last write wins: each call overwrites the stored rollup. The client is expected to send cumulative/aggregate values, not deltas.

post/v1/sessions/{session_id}/network-stats

Request

Path parameters

session_idstring required

Request body

user_agentstring nullable
livekit_regionstring nullable
client_versionstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.