Skip to content
Start here

Fetch details of peer

client.RealtimeKit.Sessions.GetParticipantDataFromPeerID(ctx, appID, peerID, params) (*SessionGetParticipantDataFromPeerIDResponse, error)
GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/peer-report/{peer_id}

Returns participant details for the given peer ID along with call statistics.

Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Accepted Permissions (at least one required)
Realtime AdminRealtime
ParametersExpand Collapse
appID string

The app identifier tag.

maxLength32
peerID string
formatuuid
params SessionGetParticipantDataFromPeerIDParams
AccountID param.Field[string]

Path param: The account identifier tag.

maxLength32

Query param: Filter to apply to the peer report.

const SessionGetParticipantDataFromPeerIDParamsFiltersDeviceInfo SessionGetParticipantDataFromPeerIDParamsFilters = "device_info"
const SessionGetParticipantDataFromPeerIDParamsFiltersIPInformation SessionGetParticipantDataFromPeerIDParamsFilters = "ip_information"
const SessionGetParticipantDataFromPeerIDParamsFiltersPrecallNetworkInformation SessionGetParticipantDataFromPeerIDParamsFilters = "precall_network_information"
const SessionGetParticipantDataFromPeerIDParamsFiltersEvents SessionGetParticipantDataFromPeerIDParamsFilters = "events"
const SessionGetParticipantDataFromPeerIDParamsFiltersQualityStats SessionGetParticipantDataFromPeerIDParamsFilters = "quality_stats"
IncludePeerEvents param.Field[bool]Optional

Query param: if true, response includes all the peer events of participant.

ReturnsExpand Collapse
type SessionGetParticipantDataFromPeerIDResponse struct{…}
Data SessionGetParticipantDataFromPeerIDResponseDataOptional
Participant SessionGetParticipantDataFromPeerIDResponseDataParticipantOptional
ID stringOptional

ID of the participant.

formatuuid
CreatedAt stringOptional

timestamp when this participant was created.

CustomParticipantID stringOptional

ID passed by client to create this participant.

DisplayName stringOptional

Display name of participant when joining the session.

Duration float64Optional

number of minutes for which the participant was in the session.

JoinedAt stringOptional

timestamp at which participant joined the session.

LeftAt stringOptional

timestamp at which participant left the session.

PeerEvents []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventOptional

Connection lifecycle events for the participant’s peer.

ID stringOptional

ID of the peer event.

CreatedAt stringOptional

Timestamp when this peer event was created.

EventName SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventNameOptional

Name of the peer event.

One of the following:
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventNamePeerCreated SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventName = "PEER_CREATED"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventNamePeerJoining SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventName = "PEER_JOINING"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventNamePeerLeaving SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsEventName = "PEER_LEAVING"
MinutesConsumed float64Optional

Minutes consumed attributed to this event.

ParticipantID stringOptional

ID of the participant this event belongs to.

PeerID stringOptional

Peer ID this event belongs to.

PresetViewType SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewTypeOptional

View type of the preset associated with the peer.

One of the following:
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewTypeGroupCall SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewType = "GROUP_CALL"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewTypeWebinar SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewType = "WEBINAR"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewTypeAudioRoom SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewType = "AUDIO_ROOM"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewTypeLivestream SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewType = "LIVESTREAM"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewTypeChat SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerEventsPresetViewType = "CHAT"
SessionID stringOptional

ID of the session this event belongs to.

SocketSessionID stringOptional

ID of the socket session associated with this event.

UpdatedAt stringOptional

Timestamp when this peer event was last updated.

PeerReport SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportOptional

Peer call statistics report.

Metadata SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataOptional

Connection and device metadata for the participant.

AudioDevicesUpdates []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataAudioDevicesUpdateOptional
Added []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataAudioDevicesUpdatesAddedOptional

Devices that became available.

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Removed []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataAudioDevicesUpdatesRemovedOptional

Devices that became unavailable.

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Timestamp stringOptional

Timestamp of the device update.

BrowserMetadata SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataBrowserMetadataOptional
Browser stringOptional
BrowserVersion stringOptional
Engine stringOptional
UserAgent stringOptional
WebglSupport boolOptional
CandidatePairs SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataCandidatePairsOptional
ConsumingTransport []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataCandidatePairsConsumingTransportOptional
AvailableIncomingBitrate float64Optional
AvailableOutgoingBitrate float64Optional
BytesDiscardedOnSend float64Optional
BytesReceived float64Optional
BytesSent float64Optional
CurrentRoundTripTime float64Optional
LastPacketReceivedTimestamp float64Optional

Epoch milliseconds when the last packet was received.

LastPacketSentTimestamp float64Optional

Epoch milliseconds when the last packet was sent.

LocalCandidateAddress stringOptional
LocalCandidateID stringOptional
LocalCandidateNetworkType stringOptional
LocalCandidatePort float64Optional
LocalCandidateProtocol stringOptional
LocalCandidateType stringOptional
LocalCandidateURL stringOptional
Nominated boolOptional
PacketsDiscardedOnSend float64Optional
PacketsReceived float64Optional
PacketsSent float64Optional
RemoteCandidateAddress stringOptional
RemoteCandidateID stringOptional
RemoteCandidatePort float64Optional
RemoteCandidateProtocol stringOptional
RemoteCandidateType stringOptional
RemoteCandidateURL stringOptional
TotalRoundTripTime float64Optional
ProducingTransport []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataCandidatePairsProducingTransportOptional
AvailableIncomingBitrate float64Optional
AvailableOutgoingBitrate float64Optional
BytesDiscardedOnSend float64Optional
BytesReceived float64Optional
BytesSent float64Optional
CurrentRoundTripTime float64Optional
LastPacketReceivedTimestamp float64Optional

Epoch milliseconds when the last packet was received.

LastPacketSentTimestamp float64Optional

Epoch milliseconds when the last packet was sent.

LocalCandidateAddress stringOptional
LocalCandidateID stringOptional
LocalCandidateNetworkType stringOptional
LocalCandidatePort float64Optional
LocalCandidateProtocol stringOptional
LocalCandidateType stringOptional
LocalCandidateURL stringOptional
Nominated boolOptional
PacketsDiscardedOnSend float64Optional
PacketsReceived float64Optional
PacketsSent float64Optional
RemoteCandidateAddress stringOptional
RemoteCandidateID stringOptional
RemoteCandidatePort float64Optional
RemoteCandidateProtocol stringOptional
RemoteCandidateType stringOptional
RemoteCandidateURL stringOptional
TotalRoundTripTime float64Optional
DeviceInfo SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataDeviceInfoOptional
CPUs float64Optional
IsMobile boolOptional
OS stringOptional
OSVersion stringOptional
Events []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataEventOptional
Metadata map[string, unknown]Optional

Event-specific metadata. Keys vary per event; values are primitive scalars (string, number, boolean, or null).

Name stringOptional

Name of the event.

Timestamp stringOptional

Timestamp when the event occurred.

IPInformation SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataIPInformationOptional
ASN SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataIPInformationASNOptional
ASN stringOptional
Domain stringOptional
Name stringOptional
Route stringOptional
Type stringOptional
City stringOptional
Country stringOptional
IPV4 stringOptional
Org stringOptional
Region stringOptional
Timezone stringOptional
NativeMetadata SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataNativeMetadataOptional
AudioEncoder stringOptional
VideoEncoder stringOptional
PcMetadata []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataPcMetadataOptional
EffectiveNetworkType stringOptional
ReflexiveConnectivity boolOptional
RelayConnectivity boolOptional
Sdp []stringOptional
Timestamp stringOptional
TURNConnectivity boolOptional
RoomViewType stringOptional
SDKName stringOptional
SDKType stringOptional
SDKVersion stringOptional
SelectedDeviceUpdates []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataSelectedDeviceUpdateOptional
Device SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataSelectedDeviceUpdatesDeviceOptional

A media device (camera, microphone, or speaker).

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Timestamp stringOptional
SpeakerDevicesUpdates []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataSpeakerDevicesUpdateOptional
Added []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataSpeakerDevicesUpdatesAddedOptional

Devices that became available.

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Removed []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataSpeakerDevicesUpdatesRemovedOptional

Devices that became unavailable.

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Timestamp stringOptional

Timestamp of the device update.

VideoDevicesUpdates []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataVideoDevicesUpdateOptional
Added []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataVideoDevicesUpdatesAddedOptional

Devices that became available.

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Removed []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportMetadataVideoDevicesUpdatesRemovedOptional

Devices that became unavailable.

DeviceID stringOptional

ID of the device.

Kind stringOptional

Kind of device, for example audioinput or videoinput.

Label stringOptional

Human-readable label of the device.

Timestamp stringOptional

Timestamp of the device update.

Quality SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityOptional

Media quality statistics for the participant.

AudioConsumer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioConsumerOptional
BytesReceived float64Optional
ConcealmentEvents float64Optional
ConsumerID stringOptional
Jitter float64Optional
JitterBufferDelay float64Optional
JitterBufferEmittedCount float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsReceived float64Optional
PeerID stringOptional
ProducerID stringOptional
Ssrc float64Optional
Timestamp stringOptional
AudioConsumerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioConsumerCumulativeOptional

Aggregated inbound (consumer) audio statistics for the session.

JitterBufferDelay SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioConsumerCumulativeJitterBufferDelayOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioConsumerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioConsumerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
AudioProducer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioProducerOptional
BytesSent float64Optional
Jitter float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsSent float64Optional
ProducerID stringOptional
RTT float64Optional
Ssrc float64Optional
Timestamp stringOptional
AudioProducerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioProducerCumulativeOptional

Aggregated outbound (producer) audio statistics for the session.

PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioProducerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioProducerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
RTT SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityAudioProducerCumulativeRTTOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
ScreenshareAudioConsumer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioConsumerOptional
BytesReceived float64Optional
ConcealmentEvents float64Optional
ConsumerID stringOptional
Jitter float64Optional
JitterBufferDelay float64Optional
JitterBufferEmittedCount float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsReceived float64Optional
PeerID stringOptional
ProducerID stringOptional
Ssrc float64Optional
Timestamp stringOptional
ScreenshareAudioConsumerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioConsumerCumulativeOptional

Aggregated inbound (consumer) audio statistics for the session.

JitterBufferDelay SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioConsumerCumulativeJitterBufferDelayOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioConsumerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioConsumerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
ScreenshareAudioProducer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioProducerOptional
BytesSent float64Optional
Jitter float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsSent float64Optional
ProducerID stringOptional
RTT float64Optional
Ssrc float64Optional
Timestamp stringOptional
ScreenshareAudioProducerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioProducerCumulativeOptional

Aggregated outbound (producer) audio statistics for the session.

PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioProducerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioProducerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
RTT SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareAudioProducerCumulativeRTTOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
ScreenshareVideoConsumer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerOptional
BytesReceived float64Optional
ConsumerID stringOptional
FirCount float64Optional
FrameHeight float64Optional
FrameWidth float64Optional
FramesDecoded float64Optional
FramesDropped float64Optional
FramesPerSecond float64Optional
Jitter float64Optional
JitterBufferDelay float64Optional
JitterBufferEmittedCount float64Optional
KeyFramesDecoded float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsReceived float64Optional
PeerID stringOptional
ProducerID stringOptional
Ssrc float64Optional
Timestamp stringOptional
ScreenshareVideoConsumerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativeOptional

Aggregated inbound (consumer) video statistics for the session.

FramePerSecond SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativeFramePerSecondOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
FrameWidth SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativeFrameWidthOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
Issues SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativeIssuesOptional
LagFraction float64Optional
NoVideoFraction float64Optional
PoorResolutionFraction float64Optional
JitterBufferDelay SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativeJitterBufferDelayOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
KeyFramesDecodedFraction float64Optional
PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoConsumerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
ScreenshareVideoProducer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerOptional
BytesSent float64Optional
FirCount float64Optional
FrameHeight float64Optional
FrameWidth float64Optional
FramesEncoded float64Optional
FramesPerSecond float64Optional
Jitter float64Optional
KeyFramesEncoded float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsSent float64Optional
PliCount float64Optional
ProducerID stringOptional
QualityLimitationDurations SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationDurationsOptional
Bandwidth float64Optional
CPU float64Optional
None float64Optional
Other float64Optional
QualityLimitationReason SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReasonOptional
One of the following:
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReasonCPU SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReason = "cpu"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReasonBandwidth SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReason = "bandwidth"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReasonNone SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReason = "none"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReasonOther SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerQualityLimitationReason = "other"
QualityLimitationResolutionChanges float64Optional
RTT float64Optional
Ssrc float64Optional
Timestamp stringOptional
ScreenshareVideoProducerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativeOptional

Aggregated outbound (producer) video statistics for the session.

FramePerSecond SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativeFramePerSecondOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
FrameWidth SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativeFrameWidthOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
HighNegativeFeedbackFraction float64Optional
Issues SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativeIssuesOptional
BandwidthQualityLimitationFraction float64Optional
CPUQualityLimitationFraction float64Optional
NoVideoFraction float64Optional
PoorResolutionFraction float64Optional
QualityLimitationFraction float64Optional
KeyFramesEncodedFraction float64Optional
PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
RTT SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityScreenshareVideoProducerCumulativeRTTOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
VideoConsumer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerOptional
BytesReceived float64Optional
ConsumerID stringOptional
FirCount float64Optional
FrameHeight float64Optional
FrameWidth float64Optional
FramesDecoded float64Optional
FramesDropped float64Optional
FramesPerSecond float64Optional
Jitter float64Optional
JitterBufferDelay float64Optional
JitterBufferEmittedCount float64Optional
KeyFramesDecoded float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsReceived float64Optional
PeerID stringOptional
ProducerID stringOptional
Ssrc float64Optional
Timestamp stringOptional
VideoConsumerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativeOptional

Aggregated inbound (consumer) video statistics for the session.

FramePerSecond SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativeFramePerSecondOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
FrameWidth SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativeFrameWidthOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
Issues SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativeIssuesOptional
LagFraction float64Optional
NoVideoFraction float64Optional
PoorResolutionFraction float64Optional
JitterBufferDelay SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativeJitterBufferDelayOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
KeyFramesDecodedFraction float64Optional
PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoConsumerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
VideoProducer []SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerOptional
BytesSent float64Optional
FirCount float64Optional
FrameHeight float64Optional
FrameWidth float64Optional
FramesEncoded float64Optional
FramesPerSecond float64Optional
Jitter float64Optional
KeyFramesEncoded float64Optional
Mid stringOptional
MosQuality float64Optional
PacketsLost float64Optional
PacketsSent float64Optional
PliCount float64Optional
ProducerID stringOptional
QualityLimitationDurations SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationDurationsOptional
Bandwidth float64Optional
CPU float64Optional
None float64Optional
Other float64Optional
QualityLimitationReason SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReasonOptional
One of the following:
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReasonCPU SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReason = "cpu"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReasonBandwidth SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReason = "bandwidth"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReasonNone SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReason = "none"
const SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReasonOther SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerQualityLimitationReason = "other"
QualityLimitationResolutionChanges float64Optional
RTT float64Optional
Ssrc float64Optional
Timestamp stringOptional
VideoProducerCumulative SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativeOptional

Aggregated outbound (producer) video statistics for the session.

FramePerSecond SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativeFramePerSecondOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
FrameWidth SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativeFrameWidthOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
HighNegativeFeedbackFraction float64Optional
Issues SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativeIssuesOptional
BandwidthQualityLimitationFraction float64Optional
CPUQualityLimitationFraction float64Optional
NoVideoFraction float64Optional
PoorResolutionFraction float64Optional
QualityLimitationFraction float64Optional
KeyFramesEncodedFraction float64Optional
PacketLoss SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativePacketLossOptional

Cumulative packet loss distribution.

Number10OrGreaterEventFraction float64Optional
Number25OrGreaterEventFraction float64Optional
Number5OrGreaterEventFraction float64Optional
Number50OrGreaterEventFraction float64Optional
Avg float64Optional
QualityMos SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativeQualityMosOptional

Distribution summary with average and percentiles.

Avg float64Optional
P50 float64Optional
P75 float64Optional
P90 float64Optional
RTT SessionGetParticipantDataFromPeerIDResponseDataParticipantPeerReportQualityVideoProducerCumulativeRTTOptional

Cumulative latency distribution (milliseconds-based thresholds).

Number100msOrGreaterEventFraction float64Optional
Number250msOrGreaterEventFraction float64Optional
Number500msOrGreaterEventFraction float64Optional
Avg float64Optional
Role stringOptional

Name of the preset associated with the participant.

SessionID stringOptional
formatuuid
UpdatedAt stringOptional

timestamp when this participant’s data was last updated.

UserID stringOptional

User id for this participant.

Success boolOptional

Fetch details of peer

package main

import (
  "context"
  "fmt"

  "github.com/stainless-sdks/cloudflare-go"
  "github.com/stainless-sdks/cloudflare-go/option"
  "github.com/stainless-sdks/cloudflare-go/realtime_kit"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  response, err := client.RealtimeKit.Sessions.GetParticipantDataFromPeerID(
    context.TODO(),
    "app_id",
    "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    realtime_kit.SessionGetParticipantDataFromPeerIDParams{
      AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.Data)
}
{
  "data": {
    "participant": {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "created_at": "created_at",
      "custom_participant_id": "custom_participant_id",
      "display_name": "display_name",
      "duration": 0,
      "joined_at": "joined_at",
      "left_at": "left_at",
      "peer_events": [
        {
          "id": "id",
          "created_at": "created_at",
          "event_name": "PEER_CREATED",
          "minutes_consumed": 0,
          "participant_id": "participant_id",
          "peer_id": "peer_id",
          "preset_view_type": "GROUP_CALL",
          "session_id": "session_id",
          "socket_session_id": "socket_session_id",
          "updated_at": "updated_at"
        }
      ],
      "peer_report": {
        "metadata": {
          "audio_devices_updates": [
            {
              "added": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "removed": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "timestamp": "timestamp"
            }
          ],
          "browser_metadata": {
            "browser": "browser",
            "browser_version": "browser_version",
            "engine": "engine",
            "user_agent": "user_agent",
            "webgl_support": true
          },
          "candidate_pairs": {
            "consuming_transport": [
              {
                "available_incoming_bitrate": 0,
                "available_outgoing_bitrate": 0,
                "bytes_discarded_on_send": 0,
                "bytes_received": 0,
                "bytes_sent": 0,
                "current_round_trip_time": 0,
                "last_packet_received_timestamp": 0,
                "last_packet_sent_timestamp": 0,
                "local_candidate_address": "local_candidate_address",
                "local_candidate_id": "local_candidate_id",
                "local_candidate_network_type": "local_candidate_network_type",
                "local_candidate_port": 0,
                "local_candidate_protocol": "local_candidate_protocol",
                "local_candidate_related_address": "local_candidate_related_address",
                "local_candidate_related_port": 0,
                "local_candidate_type": "local_candidate_type",
                "local_candidate_url": "local_candidate_url",
                "nominated": true,
                "packets_discarded_on_send": 0,
                "packets_received": 0,
                "packets_sent": 0,
                "remote_candidate_address": "remote_candidate_address",
                "remote_candidate_id": "remote_candidate_id",
                "remote_candidate_port": 0,
                "remote_candidate_protocol": "remote_candidate_protocol",
                "remote_candidate_type": "remote_candidate_type",
                "remote_candidate_url": "remote_candidate_url",
                "total_round_trip_time": 0
              }
            ],
            "producing_transport": [
              {
                "available_incoming_bitrate": 0,
                "available_outgoing_bitrate": 0,
                "bytes_discarded_on_send": 0,
                "bytes_received": 0,
                "bytes_sent": 0,
                "current_round_trip_time": 0,
                "last_packet_received_timestamp": 0,
                "last_packet_sent_timestamp": 0,
                "local_candidate_address": "local_candidate_address",
                "local_candidate_id": "local_candidate_id",
                "local_candidate_network_type": "local_candidate_network_type",
                "local_candidate_port": 0,
                "local_candidate_protocol": "local_candidate_protocol",
                "local_candidate_related_address": "local_candidate_related_address",
                "local_candidate_related_port": 0,
                "local_candidate_type": "local_candidate_type",
                "local_candidate_url": "local_candidate_url",
                "nominated": true,
                "packets_discarded_on_send": 0,
                "packets_received": 0,
                "packets_sent": 0,
                "remote_candidate_address": "remote_candidate_address",
                "remote_candidate_id": "remote_candidate_id",
                "remote_candidate_port": 0,
                "remote_candidate_protocol": "remote_candidate_protocol",
                "remote_candidate_type": "remote_candidate_type",
                "remote_candidate_url": "remote_candidate_url",
                "total_round_trip_time": 0
              }
            ]
          },
          "device_info": {
            "cpus": 0,
            "is_mobile": true,
            "os": "os",
            "os_version": "os_version"
          },
          "events": [
            {
              "metadata": {
                "foo": "bar"
              },
              "name": "name",
              "timestamp": "timestamp"
            }
          ],
          "ip_information": {
            "asn": {
              "asn": "asn",
              "domain": "domain",
              "name": "name",
              "route": "route",
              "type": "type"
            },
            "city": "city",
            "country": "country",
            "ipv4": "ipv4",
            "org": "org",
            "region": "region",
            "timezone": "timezone"
          },
          "native_metadata": {
            "audio_encoder": "audio_encoder",
            "video_encoder": "video_encoder"
          },
          "pc_metadata": [
            {
              "effective_network_type": "effective_network_type",
              "reflexive_connectivity": true,
              "relay_connectivity": true,
              "sdp": [
                "string"
              ],
              "timestamp": "timestamp",
              "turn_connectivity": true
            }
          ],
          "room_view_type": "room_view_type",
          "sdk_name": "sdk_name",
          "sdk_type": "sdk_type",
          "sdk_version": "sdk_version",
          "selected_device_updates": [
            {
              "device": {
                "device_id": "device_id",
                "kind": "kind",
                "label": "label"
              },
              "timestamp": "timestamp"
            }
          ],
          "speaker_devices_updates": [
            {
              "added": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "removed": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "timestamp": "timestamp"
            }
          ],
          "video_devices_updates": [
            {
              "added": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "removed": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "timestamp": "timestamp"
            }
          ]
        },
        "quality": {
          "audio_consumer": [
            {
              "bytes_received": 0,
              "concealment_events": 0,
              "consumer_id": "consumer_id",
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "audio_consumer_cumulative": {
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "audio_producer": [
            {
              "bytes_sent": 0,
              "jitter": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "producer_id": "producer_id",
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "audio_producer_cumulative": {
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          },
          "screenshare_audio_consumer": [
            {
              "bytes_received": 0,
              "concealment_events": 0,
              "consumer_id": "consumer_id",
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_audio_consumer_cumulative": {
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "screenshare_audio_producer": [
            {
              "bytes_sent": 0,
              "jitter": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "producer_id": "producer_id",
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_audio_producer_cumulative": {
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          },
          "screenshare_video_consumer": [
            {
              "bytes_received": 0,
              "consumer_id": "consumer_id",
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_decoded": 0,
              "frames_dropped": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "key_frames_decoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_video_consumer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "issues": {
              "lag_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0
            },
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "key_frames_decoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "screenshare_video_producer": [
            {
              "bytes_sent": 0,
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_encoded": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "key_frames_encoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "pli_count": 0,
              "producer_id": "producer_id",
              "quality_limitation_durations": {
                "bandwidth": 0,
                "cpu": 0,
                "none": 0,
                "other": 0
              },
              "quality_limitation_reason": "cpu",
              "quality_limitation_resolution_changes": 0,
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_video_producer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "high_negative_feedback_fraction": 0,
            "issues": {
              "bandwidth_quality_limitation_fraction": 0,
              "cpu_quality_limitation_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0,
              "quality_limitation_fraction": 0
            },
            "key_frames_encoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          },
          "video_consumer": [
            {
              "bytes_received": 0,
              "consumer_id": "consumer_id",
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_decoded": 0,
              "frames_dropped": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "key_frames_decoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "video_consumer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "issues": {
              "lag_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0
            },
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "key_frames_decoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "video_producer": [
            {
              "bytes_sent": 0,
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_encoded": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "key_frames_encoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "pli_count": 0,
              "producer_id": "producer_id",
              "quality_limitation_durations": {
                "bandwidth": 0,
                "cpu": 0,
                "none": 0,
                "other": 0
              },
              "quality_limitation_reason": "cpu",
              "quality_limitation_resolution_changes": 0,
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "video_producer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "high_negative_feedback_fraction": 0,
            "issues": {
              "bandwidth_quality_limitation_fraction": 0,
              "cpu_quality_limitation_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0,
              "quality_limitation_fraction": 0
            },
            "key_frames_encoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          }
        }
      },
      "role": "role",
      "session_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "updated_at": "updated_at",
      "user_id": "user_id"
    }
  },
  "success": true
}
Returns Examples
{
  "data": {
    "participant": {
      "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "created_at": "created_at",
      "custom_participant_id": "custom_participant_id",
      "display_name": "display_name",
      "duration": 0,
      "joined_at": "joined_at",
      "left_at": "left_at",
      "peer_events": [
        {
          "id": "id",
          "created_at": "created_at",
          "event_name": "PEER_CREATED",
          "minutes_consumed": 0,
          "participant_id": "participant_id",
          "peer_id": "peer_id",
          "preset_view_type": "GROUP_CALL",
          "session_id": "session_id",
          "socket_session_id": "socket_session_id",
          "updated_at": "updated_at"
        }
      ],
      "peer_report": {
        "metadata": {
          "audio_devices_updates": [
            {
              "added": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "removed": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "timestamp": "timestamp"
            }
          ],
          "browser_metadata": {
            "browser": "browser",
            "browser_version": "browser_version",
            "engine": "engine",
            "user_agent": "user_agent",
            "webgl_support": true
          },
          "candidate_pairs": {
            "consuming_transport": [
              {
                "available_incoming_bitrate": 0,
                "available_outgoing_bitrate": 0,
                "bytes_discarded_on_send": 0,
                "bytes_received": 0,
                "bytes_sent": 0,
                "current_round_trip_time": 0,
                "last_packet_received_timestamp": 0,
                "last_packet_sent_timestamp": 0,
                "local_candidate_address": "local_candidate_address",
                "local_candidate_id": "local_candidate_id",
                "local_candidate_network_type": "local_candidate_network_type",
                "local_candidate_port": 0,
                "local_candidate_protocol": "local_candidate_protocol",
                "local_candidate_related_address": "local_candidate_related_address",
                "local_candidate_related_port": 0,
                "local_candidate_type": "local_candidate_type",
                "local_candidate_url": "local_candidate_url",
                "nominated": true,
                "packets_discarded_on_send": 0,
                "packets_received": 0,
                "packets_sent": 0,
                "remote_candidate_address": "remote_candidate_address",
                "remote_candidate_id": "remote_candidate_id",
                "remote_candidate_port": 0,
                "remote_candidate_protocol": "remote_candidate_protocol",
                "remote_candidate_type": "remote_candidate_type",
                "remote_candidate_url": "remote_candidate_url",
                "total_round_trip_time": 0
              }
            ],
            "producing_transport": [
              {
                "available_incoming_bitrate": 0,
                "available_outgoing_bitrate": 0,
                "bytes_discarded_on_send": 0,
                "bytes_received": 0,
                "bytes_sent": 0,
                "current_round_trip_time": 0,
                "last_packet_received_timestamp": 0,
                "last_packet_sent_timestamp": 0,
                "local_candidate_address": "local_candidate_address",
                "local_candidate_id": "local_candidate_id",
                "local_candidate_network_type": "local_candidate_network_type",
                "local_candidate_port": 0,
                "local_candidate_protocol": "local_candidate_protocol",
                "local_candidate_related_address": "local_candidate_related_address",
                "local_candidate_related_port": 0,
                "local_candidate_type": "local_candidate_type",
                "local_candidate_url": "local_candidate_url",
                "nominated": true,
                "packets_discarded_on_send": 0,
                "packets_received": 0,
                "packets_sent": 0,
                "remote_candidate_address": "remote_candidate_address",
                "remote_candidate_id": "remote_candidate_id",
                "remote_candidate_port": 0,
                "remote_candidate_protocol": "remote_candidate_protocol",
                "remote_candidate_type": "remote_candidate_type",
                "remote_candidate_url": "remote_candidate_url",
                "total_round_trip_time": 0
              }
            ]
          },
          "device_info": {
            "cpus": 0,
            "is_mobile": true,
            "os": "os",
            "os_version": "os_version"
          },
          "events": [
            {
              "metadata": {
                "foo": "bar"
              },
              "name": "name",
              "timestamp": "timestamp"
            }
          ],
          "ip_information": {
            "asn": {
              "asn": "asn",
              "domain": "domain",
              "name": "name",
              "route": "route",
              "type": "type"
            },
            "city": "city",
            "country": "country",
            "ipv4": "ipv4",
            "org": "org",
            "region": "region",
            "timezone": "timezone"
          },
          "native_metadata": {
            "audio_encoder": "audio_encoder",
            "video_encoder": "video_encoder"
          },
          "pc_metadata": [
            {
              "effective_network_type": "effective_network_type",
              "reflexive_connectivity": true,
              "relay_connectivity": true,
              "sdp": [
                "string"
              ],
              "timestamp": "timestamp",
              "turn_connectivity": true
            }
          ],
          "room_view_type": "room_view_type",
          "sdk_name": "sdk_name",
          "sdk_type": "sdk_type",
          "sdk_version": "sdk_version",
          "selected_device_updates": [
            {
              "device": {
                "device_id": "device_id",
                "kind": "kind",
                "label": "label"
              },
              "timestamp": "timestamp"
            }
          ],
          "speaker_devices_updates": [
            {
              "added": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "removed": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "timestamp": "timestamp"
            }
          ],
          "video_devices_updates": [
            {
              "added": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "removed": [
                {
                  "device_id": "device_id",
                  "kind": "kind",
                  "label": "label"
                }
              ],
              "timestamp": "timestamp"
            }
          ]
        },
        "quality": {
          "audio_consumer": [
            {
              "bytes_received": 0,
              "concealment_events": 0,
              "consumer_id": "consumer_id",
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "audio_consumer_cumulative": {
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "audio_producer": [
            {
              "bytes_sent": 0,
              "jitter": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "producer_id": "producer_id",
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "audio_producer_cumulative": {
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          },
          "screenshare_audio_consumer": [
            {
              "bytes_received": 0,
              "concealment_events": 0,
              "consumer_id": "consumer_id",
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_audio_consumer_cumulative": {
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "screenshare_audio_producer": [
            {
              "bytes_sent": 0,
              "jitter": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "producer_id": "producer_id",
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_audio_producer_cumulative": {
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          },
          "screenshare_video_consumer": [
            {
              "bytes_received": 0,
              "consumer_id": "consumer_id",
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_decoded": 0,
              "frames_dropped": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "key_frames_decoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_video_consumer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "issues": {
              "lag_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0
            },
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "key_frames_decoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "screenshare_video_producer": [
            {
              "bytes_sent": 0,
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_encoded": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "key_frames_encoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "pli_count": 0,
              "producer_id": "producer_id",
              "quality_limitation_durations": {
                "bandwidth": 0,
                "cpu": 0,
                "none": 0,
                "other": 0
              },
              "quality_limitation_reason": "cpu",
              "quality_limitation_resolution_changes": 0,
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "screenshare_video_producer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "high_negative_feedback_fraction": 0,
            "issues": {
              "bandwidth_quality_limitation_fraction": 0,
              "cpu_quality_limitation_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0,
              "quality_limitation_fraction": 0
            },
            "key_frames_encoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          },
          "video_consumer": [
            {
              "bytes_received": 0,
              "consumer_id": "consumer_id",
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_decoded": 0,
              "frames_dropped": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "jitter_buffer_delay": 0,
              "jitter_buffer_emitted_count": 0,
              "key_frames_decoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_received": 0,
              "peer_id": "peer_id",
              "producer_id": "producer_id",
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "video_consumer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "issues": {
              "lag_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0
            },
            "jitter_buffer_delay": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            },
            "key_frames_decoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            }
          },
          "video_producer": [
            {
              "bytes_sent": 0,
              "fir_count": 0,
              "frame_height": 0,
              "frame_width": 0,
              "frames_encoded": 0,
              "frames_per_second": 0,
              "jitter": 0,
              "key_frames_encoded": 0,
              "mid": "mid",
              "mos_quality": 0,
              "packets_lost": 0,
              "packets_sent": 0,
              "pli_count": 0,
              "producer_id": "producer_id",
              "quality_limitation_durations": {
                "bandwidth": 0,
                "cpu": 0,
                "none": 0,
                "other": 0
              },
              "quality_limitation_reason": "cpu",
              "quality_limitation_resolution_changes": 0,
              "rtt": 0,
              "ssrc": 0,
              "timestamp": "timestamp"
            }
          ],
          "video_producer_cumulative": {
            "frame_per_second": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "frame_width": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "high_negative_feedback_fraction": 0,
            "issues": {
              "bandwidth_quality_limitation_fraction": 0,
              "cpu_quality_limitation_fraction": 0,
              "no_video_fraction": 0,
              "poor_resolution_fraction": 0,
              "quality_limitation_fraction": 0
            },
            "key_frames_encoded_fraction": 0,
            "packet_loss": {
              "10_or_greater_event_fraction": 0,
              "25_or_greater_event_fraction": 0,
              "5_or_greater_event_fraction": 0,
              "50_or_greater_event_fraction": 0,
              "avg": 0
            },
            "quality_mos": {
              "avg": 0,
              "p50": 0,
              "p75": 0,
              "p90": 0
            },
            "rtt": {
              "100ms_or_greater_event_fraction": 0,
              "250ms_or_greater_event_fraction": 0,
              "500ms_or_greater_event_fraction": 0,
              "avg": 0
            }
          }
        }
      },
      "role": "role",
      "session_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "updated_at": "updated_at",
      "user_id": "user_id"
    }
  },
  "success": true
}