v56

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-0710368288.1 KB
Legs

Get a SIPREC recording session

Returns the RFC 7865 recording metadata of an inbound SIPREC session (leg type siprec_in): every recorded participant, every negotiated media stream, and the binding between them. A stream's a=label is what ties the m= section to a participant, so the streams entries carry both the leg stream ID and the participant identity. The raw metadata document is returned verbatim in metadata.

get/legs/{id}/siprec

Response

Recording session state

leg_idstring required

Leg carrying the recording session.

session_idstring

Communication session being recorded, from the metadata's sessionrecordingassoc.

data_mode'complete' | 'partial'

Data mode of the most recently applied metadata document (RFC 7865 §6.1).

room_idstring

Room this session's streams were attached to, when SIPREC_ROOM_MODE placed them in one.

metadatastring

The raw rs-metadata XML document as most recently received.